Home
last modified time | relevance | path

Searched refs:typeCalloc (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dadd_tries.c78 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 Dmake_hash.c159 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 DMKcaptab.sh77 *actual = typeCalloc(struct name_table_entry, CAPTABSIZE);
105 *actual = typeCalloc(struct alias, tablesize + 1);
H A Ddb_iterator.c330 my_list = typeCalloc(char *, blobsize); in _nc_first_db()
331 my_stat = typeCalloc(struct stat, blobsize); in _nc_first_db()
H A Dlib_acs.c50 MyBuffer = typeCalloc(chtype, ACS_LEN); in NCURSES_EXPORT()
H A Dlib_setup.c691 my_tcb = typeCalloc(TERMINAL_CONTROL_BLOCK, 1); in TINFO_SETUP_TERM()
694 termp = typeCalloc(TERMINAL, 1); in TINFO_SETUP_TERM()
H A Dlib_ttyflags.c285 _nc_prescreen.saved_tty = typeCalloc(TTY, 1); in saved_tty()
H A Dalloc_entry.c84 ENTRY *newp = typeCalloc(ENTRY, 1); in _nc_copy_entry()
H A Dhashed_db.c99 MYCONN *p = typeCalloc(MYCONN, 1); in make_connection()
/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_instr.c77 && (wch = typeCalloc(wchar_t, (unsigned) n2 + 1)) != 0) { in NCURSES_EXPORT()
89 } else if ((tmp = typeCalloc(char, need)) == 0) { in NCURSES_EXPORT()
H A Dlib_set_term.c301 || ((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 Dlib_newwin.c162 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 Dlib_slk.c159 } 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 Dtries.c63 result = typeCalloc(char, len + 2); in NCURSES_EXPORT()
H A Dwresize.c143 new_lines = typeCalloc(struct ldat, (unsigned) (ToLines + 1)); in wresize()
H A Dlib_pad.c65 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { in NCURSES_EXPORT()
/freebsd-12.1/contrib/ncurses/menu/
H A Dm_item_new.c71 && (temp = typeCalloc(wchar_t, (2 + (unsigned)count))) != 0) in Is_Printable_String()
125 item = typeCalloc(ITEM, 1); in new_item()
H A Dm_new.c57 MENU *menu = typeCalloc(MENU, 1); in NCURSES_EXPORT()
/freebsd-12.1/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c122 if ((_nc_wacs = typeCalloc(cchar_t, ACS_LEN)) != 0) { in _nc_init_wacs()
/freebsd-12.1/contrib/ncurses/include/
H A Dnc_alloc.h107 #define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type)) macro
/freebsd-12.1/contrib/ncurses/ncurses/tty/
H A Dhashmap.c306 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 Dinfocmp.c1509 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 Dtabs.c88 int *result = typeCalloc(int, strlen(tab_list) + (unsigned) max_cols); in decode_tabs()
H A Dtoe.c208 char **result = typeCalloc(char *, count + 1); in allocArgv()
/freebsd-12.1/contrib/ncurses/form/
H A Dfld_def.c309 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf); in new_field()

12