Searched refs:typeMalloc (Results 26 - 46 of 46) sorted by relevance

12

/macosx-10.10.1/ncurses-44/ncurses/ncurses/base/
H A Dwresize.c156 if ((s = typeMalloc(NCURSES_CH_T, ToCols + 1)) == 0)
167 if ((s = typeMalloc(NCURSES_CH_T, ToCols + 1)) == 0)
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c420 ext_Names = typeMalloc(char *, na + nb);
481 dst->Booleans = typeMalloc(NCURSES_SBOOL, NUM_BOOLEANS(dst));
482 dst->Numbers = typeMalloc(short, NUM_NUMBERS(dst));
483 dst->Strings = typeMalloc(char *, NUM_STRINGS(dst));
499 dst->ext_Names = typeMalloc(char *, i);
H A Dread_entry.c162 || (string_table = typeMalloc(char, want)) == 0) {
167 if ((string_table = typeMalloc(char, want)) == 0) {
289 if ((ptr->ext_str_table = typeMalloc(char, ext_str_limit)) == 0)
H A Dcomp_scan.c440 tok_buf = typeMalloc(char, TOK_BUF_SIZE);
909 pushname = typeMalloc(char, MAX_NAME_SIZE + 1);
H A Dcomp_parse.c258 rp = typeMalloc(ENTRY, 1);
H A Dcaptoinfo.c117 my_string = typeMalloc(char, my_length = 256);
H A Dread_termcap.c156 if ((toprec = typeMalloc(char, topreclen + 1)) == 0) {
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tty/
H A Dhardscroll.c275 if ((buf = typeMalloc(char, want)) != 0) {
H A Dlib_twait.c205 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count);
H A Dhashmap.c280 hashtab = typeMalloc(HASHMAP, (screen_lines + 1) * 2);
/macosx-10.10.1/ncurses-44/ncurses/test/
H A Dview.c172 NCURSES_CH_T *dst = typeMalloc(NCURSES_CH_T, len + 1);
284 if ((vec_lines = typeMalloc(NCURSES_CH_T *, MAXLINES + 2)) == 0)
H A Ddemo_menus.c117 char *p = typeMalloc(char, strlen(s) + 1);
367 char *blob = typeMalloc(char, size + 1);
478 buf = typeMalloc(char, need);
H A Dcardfile.c76 char *p = typeMalloc(char, strlen(s) + 1);
145 card->content = typeMalloc(char, total + 1);
H A Dtest.priv.h451 #define typeMalloc(type,n) (type *) malloc((n) * sizeof(type)) macro
H A Ddemo_panels.c208 char *userdata = typeMalloc(char, 3);
H A Dtestcurs.c54 char *p = typeMalloc(char, strlen(s) + 1);
H A Dncurses.c664 winstack = typeMalloc(WINSTACK, len_winstack);
3171 if ((wch = typeMalloc(wchar_t, (unsigned) count + 1)) != 0) {
5176 buf = typeMalloc(char, need);
6511 all_colors = typeMalloc(RGB_DATA, (unsigned) max_colors);
/macosx-10.10.1/ncurses-44/ncurses/menu/
H A Dm_global.c211 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen))))
263 && (temp = typeMalloc(wchar_t, 2 + count)) != 0)
/macosx-10.10.1/ncurses-44/ncurses/ncurses/trace/
H A Dvisbuf.c238 mybuf = typeMalloc(wchar_t, mylen);
/macosx-10.10.1/ncurses-44/ncurses/progs/
H A Dinfocmp.c1457 tfile = typeMalloc(path, maxterms);
/macosx-10.10.1/ncurses-44/ncurses/form/
H A Dfrm_driver.c4464 field->expanded[buffer] = typeMalloc(char, need + 1);

Completed in 338 milliseconds

12