| /mirbsd/src/lib/libncurses/src/ncurses/tinfo/ |
| D | alloc_entry.c | 86 tp->Booleans = typeMalloc(char, BOOLCOUNT); in _nc_init_entry() 88 tp->Numbers = typeMalloc(short, NUMCOUNT); in _nc_init_entry() 90 tp->Strings = typeMalloc(char *, STRCOUNT); in _nc_init_entry() 191 if ((tp->str_table = typeMalloc(char, next_free)) == (char *) 0) in _nc_wrap_entry() 213 if ((tp->ext_str_table = typeMalloc(char, length)) == 0) in _nc_wrap_entry()
|
| D | alloc_ttype.c | 408 ext_Names = typeMalloc(char *, na + nb); in _nc_align_termtype() 466 dst->Booleans = typeMalloc(char, NUM_BOOLEANS(dst)); in _nc_copy_termtype() 467 dst->Numbers = typeMalloc(short, NUM_NUMBERS(dst)); in _nc_copy_termtype() 468 dst->Strings = typeMalloc(char *, NUM_STRINGS(dst)); in _nc_copy_termtype() 484 dst->ext_Names = typeMalloc(char *, i); in _nc_copy_termtype()
|
| D | home_terminfo.c | 58 temp = typeMalloc(char, my_length); in NCURSES_EXPORT()
|
| D | doalloc.c | 66 dst = typeMalloc(char, strlen(src) + 1); in _nc_strdup()
|
| D | setbuf.c | 119 if ((buf_ptr = typeMalloc(char, buf_len)) == NULL) in NCURSES_EXPORT()
|
| D | lib_print.c | 64 || (mybuf = typeMalloc(char, onsize + len + offsize + 1)) == 0) { in NCURSES_EXPORT()
|
| D | name_match.c | 61 buf = typeMalloc(char, MAX_NAME_SIZE + 1); in NCURSES_EXPORT()
|
| D | comp_error.c | 69 termtype = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_set_type()
|
| D | read_entry.c | 200 || (ptr->str_table = typeMalloc(char, (unsigned) str_size)) == 0) { in read_termtype() 324 if ((ptr->ext_str_table = typeMalloc(char, ext_str_limit)) == 0) in read_termtype()
|
| D | comp_scan.c | 430 buffer = typeMalloc(char, MAX_ENTRY_SIZE); in _nc_get_token() 880 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
|
| D | comp_parse.c | 317 rp = typeMalloc(ENTRY, 1); in _nc_resolve_uses2()
|
| D | captoinfo.c | 117 my_string = typeMalloc(char, my_length = 256); in init_string()
|
| /mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/ |
| D | HTList.c | 23 if ((newList = typeMalloc(HTList)) == NULL) in HTList_new() 134 if ((newNode = typeMalloc(HTList)) == NULL) in HTList_addObject() 192 if ((newNode = typeMalloc(HTList)) == NULL) in HTList_insertObjectAt()
|
| D | HTBTree.c | 22 HTBTree *tree = typeMalloc(HTBTree); in HTBTree_new() 144 tree->top = typeMalloc(HTBTElement); in HTBTree_add() 171 father_of_element->left = typeMalloc(HTBTElement); in HTBTree_add() 191 father_of_element->right = typeMalloc(HTBTElement); in HTBTree_add()
|
| D | HTUtils.h | 359 #define typeMalloc(cast) (cast *)malloc(sizeof(cast)) macro
|
| /mirbsd/src/lib/libncurses/src/ncurses/base/ |
| D | safe_sprintf.c | 65 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length() 67 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
|
| D | wresize.c | 151 if ((s = typeMalloc(NCURSES_CH_T, ToCols + 1)) == 0) in wresize() 162 if ((s = typeMalloc(NCURSES_CH_T, ToCols + 1)) == 0) in wresize()
|
| /mirbsd/src/lib/libncurses/src/ncurses/trace/ |
| D | trace_tries.c | 67 buffer = typeMalloc(unsigned char, len = 80); in _nc_trace_tries()
|
| D | varargs.c | 69 result_buf = typeMalloc(char, result_len = BUFSIZ); in _nc_varargs()
|
| D | visbuf.c | 216 mybuf = typeMalloc(wchar_t, mylen); in _nc_viswibuf()
|
| /mirbsd/src/lib/libncurses/src/include/ |
| D | nc_alloc.h | 90 #define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type)) macro
|
| /mirbsd/src/lib/libncurses/src/menu/ |
| D | m_global.c | 208 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen)))) in _nc_Connect_Items() 257 && (temp = typeMalloc(wchar_t, 2 + count)) != 0) in _nc_Calculate_Text_Width()
|
| /mirbsd/src/lib/libncurses/src/ncurses/tty/ |
| D | hardscroll.c | 270 buf = typeMalloc(char, have = want); in _nc_linedump()
|
| D | lib_twait.c | 199 fds = typeMalloc(struct pollfd, 2 + evl->count); in _nc_timed_wait()
|
| D | hashmap.c | 277 hashtab = typeMalloc(HASHMAP, (screen_lines + 1) * 2); in _nc_hash_map()
|