Home
last modified time | relevance | path

Searched refs:typeMalloc (Results 1 – 25 of 28) sorted by relevance

12

/mirbsd/src/lib/libncurses/src/ncurses/tinfo/
Dalloc_entry.c86 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()
Dalloc_ttype.c408 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()
Dhome_terminfo.c58 temp = typeMalloc(char, my_length); in NCURSES_EXPORT()
Ddoalloc.c66 dst = typeMalloc(char, strlen(src) + 1); in _nc_strdup()
Dsetbuf.c119 if ((buf_ptr = typeMalloc(char, buf_len)) == NULL) in NCURSES_EXPORT()
Dlib_print.c64 || (mybuf = typeMalloc(char, onsize + len + offsize + 1)) == 0) { in NCURSES_EXPORT()
Dname_match.c61 buf = typeMalloc(char, MAX_NAME_SIZE + 1); in NCURSES_EXPORT()
Dcomp_error.c69 termtype = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_set_type()
Dread_entry.c200 || (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()
Dcomp_scan.c430 buffer = typeMalloc(char, MAX_ENTRY_SIZE); in _nc_get_token()
880 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
Dcomp_parse.c317 rp = typeMalloc(ENTRY, 1); in _nc_resolve_uses2()
Dcaptoinfo.c117 my_string = typeMalloc(char, my_length = 256); in init_string()
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTList.c23 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()
DHTBTree.c22 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()
DHTUtils.h359 #define typeMalloc(cast) (cast *)malloc(sizeof(cast)) macro
/mirbsd/src/lib/libncurses/src/ncurses/base/
Dsafe_sprintf.c65 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length()
67 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
Dwresize.c151 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/
Dtrace_tries.c67 buffer = typeMalloc(unsigned char, len = 80); in _nc_trace_tries()
Dvarargs.c69 result_buf = typeMalloc(char, result_len = BUFSIZ); in _nc_varargs()
Dvisbuf.c216 mybuf = typeMalloc(wchar_t, mylen); in _nc_viswibuf()
/mirbsd/src/lib/libncurses/src/include/
Dnc_alloc.h90 #define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type)) macro
/mirbsd/src/lib/libncurses/src/menu/
Dm_global.c208 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/
Dhardscroll.c270 buf = typeMalloc(char, have = want); in _nc_linedump()
Dlib_twait.c199 fds = typeMalloc(struct pollfd, 2 + evl->count); in _nc_timed_wait()
Dhashmap.c277 hashtab = typeMalloc(HASHMAP, (screen_lines + 1) * 2); in _nc_hash_map()

12