| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | add_tries.c | 78 if ((ptr->sibling = typeCalloc(TRIES, 1)) == 0) { in NCURSES_EXPORT() 90 savedptr = ptr = (*tree) = typeCalloc(TRIES, 1); in NCURSES_EXPORT() 103 ptr->child = typeCalloc(TRIES, 1); in NCURSES_EXPORT()
|
| H A D | make_hash.c | 159 if (list == 0 && (list = typeCalloc(char *, (MAX_COLUMNS + 1))) == 0) in parse_columns() 194 struct name_table_entry *name_table = typeCalloc(struct in main() 196 HashValue *hash_table = typeCalloc(HashValue, HASHTABSIZE); in main()
|
| H A D | MKcaptab.sh | 77 *actual = typeCalloc(struct name_table_entry, CAPTABSIZE); 105 *actual = typeCalloc(struct alias, tablesize + 1);
|
| H A D | db_iterator.c | 330 my_list = typeCalloc(char *, blobsize); in _nc_first_db() 331 my_stat = typeCalloc(struct stat, blobsize); in _nc_first_db()
|
| H A D | lib_acs.c | 50 MyBuffer = typeCalloc(chtype, ACS_LEN); in NCURSES_EXPORT()
|
| H A D | lib_setup.c | 691 my_tcb = typeCalloc(TERMINAL_CONTROL_BLOCK, 1); in TINFO_SETUP_TERM() 694 termp = typeCalloc(TERMINAL, 1); in TINFO_SETUP_TERM()
|
| H A D | lib_ttyflags.c | 285 _nc_prescreen.saved_tty = typeCalloc(TTY, 1); in saved_tty()
|
| H A D | alloc_entry.c | 84 ENTRY *newp = typeCalloc(ENTRY, 1); in _nc_copy_entry()
|
| H A D | hashed_db.c | 99 MYCONN *p = typeCalloc(MYCONN, 1); in make_connection()
|
| /freebsd-12.1/contrib/ncurses/ncurses/base/ |
| H A D | lib_instr.c | 77 && (wch = typeCalloc(wchar_t, (unsigned) n2 + 1)) != 0) { in NCURSES_EXPORT() 89 } else if ((tmp = typeCalloc(char, need)) == 0) { in NCURSES_EXPORT()
|
| H A D | lib_set_term.c | 301 || ((sp->_acs_map = typeCalloc(chtype, ACS_LEN)) == 0) in NCURSES_SP_NAME() 302 || ((sp->_screen_acs_map = typeCalloc(bool, ACS_LEN)) == 0)) { in NCURSES_SP_NAME() 310 if ((sp->_current_attr = typeCalloc(NCURSES_CH_T, 1)) == 0) { in NCURSES_SP_NAME() 315 || ((SP->_acs_map = typeCalloc(chtype, ACS_LEN)) == 0) in NCURSES_SP_NAME() 316 || ((SP->_screen_acs_map = typeCalloc(bool, ACS_LEN)) == 0)) { in NCURSES_SP_NAME() 326 if ((sp->_current_attr = typeCalloc(NCURSES_CH_T, 1)) == 0) in NCURSES_SP_NAME()
|
| H A D | lib_newwin.c | 162 win->_line[i].text = typeCalloc(NCURSES_CH_T, (unsigned) num_columns); in NCURSES_SP_NAME() 282 if ((wp = typeCalloc(WINDOWLIST, 1)) == 0) in NCURSES_SP_NAME() 287 if ((win->_line = typeCalloc(struct ldat, ((unsigned) num_lines))) == 0) { in NCURSES_SP_NAME()
|
| H A D | lib_slk.c | 159 } else if ((SP_PARM->_slk = typeCalloc(SLK, 1)) == 0) in _nc_slk_initialize() 187 || (SP_PARM->_slk->ent = typeCalloc(slk_ent, in _nc_slk_initialize()
|
| H A D | tries.c | 63 result = typeCalloc(char, len + 2); in NCURSES_EXPORT()
|
| H A D | wresize.c | 143 new_lines = typeCalloc(struct ldat, (unsigned) (ToLines + 1)); in wresize()
|
| H A D | lib_pad.c | 65 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { in NCURSES_EXPORT()
|
| /freebsd-12.1/contrib/ncurses/menu/ |
| H A D | m_item_new.c | 71 && (temp = typeCalloc(wchar_t, (2 + (unsigned)count))) != 0) in Is_Printable_String() 125 item = typeCalloc(ITEM, 1); in new_item()
|
| H A D | m_new.c | 57 MENU *menu = typeCalloc(MENU, 1); in NCURSES_EXPORT()
|
| /freebsd-12.1/contrib/ncurses/ncurses/widechar/ |
| H A D | lib_wacs.c | 122 if ((_nc_wacs = typeCalloc(cchar_t, ACS_LEN)) != 0) { in _nc_init_wacs()
|
| /freebsd-12.1/contrib/ncurses/include/ |
| H A D | nc_alloc.h | 107 #define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type)) macro
|
| /freebsd-12.1/contrib/ncurses/ncurses/tty/ |
| H A D | hashmap.c | 306 oldhash(SP_PARM) = typeCalloc(unsigned long, in NCURSES_SP_NAME() 309 newhash(SP_PARM) = typeCalloc(unsigned long, in NCURSES_SP_NAME()
|
| /freebsd-12.1/contrib/ncurses/progs/ |
| H A D | infocmp.c | 1509 myargv = typeCalloc(char *, (size_t) (argc + 3)); in main() 1697 if ((tname = typeCalloc(char *, maxterms)) == 0) in main() 1699 if ((entries = typeCalloc(ENTRY, maxterms)) == 0) in main() 1702 if ((entered = typeCalloc(ENTERED, maxterms)) == 0) in main()
|
| H A D | tabs.c | 88 int *result = typeCalloc(int, strlen(tab_list) + (unsigned) max_cols); in decode_tabs()
|
| H A D | toe.c | 208 char **result = typeCalloc(char *, count + 1); in allocArgv()
|
| /freebsd-12.1/contrib/ncurses/form/ |
| H A D | fld_def.c | 309 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf); in new_field()
|