Searched refs:TYPE_CALLOC (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | read_entry.c | 46 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts)) macro 219 if ((ptr->Booleans = TYPE_CALLOC(NCURSES_SBOOL, in _nc_read_termtype() 234 if ((ptr->Numbers = TYPE_CALLOC(short, max(NUMCOUNT, num_count))) == 0 in _nc_read_termtype() 240 if ((ptr->Strings = TYPE_CALLOC(char *, max(STRCOUNT, str_count))) == 0) in _nc_read_termtype() 354 if ((ptr->ext_Names = TYPE_CALLOC(char *, need)) == 0) in _nc_read_termtype()
|
| /freebsd-12.1/contrib/ncurses/ncurses/base/ |
| H A D | lib_color.c | 93 #define TYPE_CALLOC(type,elts) typeCalloc(type, (unsigned)(elts)) macro 357 SP_PARM->_color_pairs = TYPE_CALLOC(colorpair_t, SP_PARM->_pair_limit); in NCURSES_SP_NAME() 359 SP_PARM->_color_table = TYPE_CALLOC(color_t, maxcolors); in NCURSES_SP_NAME()
|