Home
last modified time | relevance | path

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

12

/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dadd_tries.c80 if ((ptr->sibling = typeCalloc(TRIES, 1)) == 0) { in NCURSES_EXPORT()
92 savedptr = ptr = (*tree) = typeCalloc(TRIES, 1); in NCURSES_EXPORT()
105 ptr->child = typeCalloc(TRIES, 1); in NCURSES_EXPORT()
H A DMKcaptab.sh97 *actual = typeCalloc(struct name_table_entry, CAPTABSIZE);
125 *actual = typeCalloc(struct alias, tablesize + 1);
H A Dmake_hash.c179 list = typeCalloc(char *, (MAX_COLUMNS + 1)); in parse_columns()
250 struct user_table_entry *name_table = typeCalloc(struct in main()
252 HashValue *hash_table = typeCalloc(HashValue, HASHTABSIZE); in main()
H A Ddb_iterator.c367 my_list = typeCalloc(char *, blobsize); in _nc_first_db()
368 my_stat = typeCalloc(struct stat, blobsize); in _nc_first_db()
H A DMKuserdefs.sh73 *actual = typeCalloc(struct user_table_entry, USERTABSIZE);
H A Dlib_acs.c51 MyBuffer = typeCalloc(chtype, ACS_LEN); in NCURSES_EXPORT()
H A Dlib_setup.c920 if ((my_tcb = typeCalloc(TERMINAL_CONTROL_BLOCK, 1)) != 0) in TINFO_SETUP_TERM()
925 termp = typeCalloc(TERMINAL, 1); in TINFO_SETUP_TERM()
1138 PRESCREEN_LIST *p = typeCalloc(PRESCREEN_LIST, 1); in new_prescr()
H A Dlib_ttyflags.c290 _nc_prescreen.saved_tty = typeCalloc(TTY, 1); in saved_tty()
H A Dhashed_db.c100 MYCONN *p = typeCalloc(MYCONN, 1); in make_connection()
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_instr.c77 && (wch = typeCalloc(wchar_t, (unsigned) n2 + 1)) != 0) { in NCURSES_EXPORT()
93 } else if ((tmp = typeCalloc(char, need)) == 0) { in NCURSES_EXPORT()
H A Dlib_set_term.c348 if ((sp->_acs_map = typeCalloc(chtype, ACS_LEN)) == NULL) { in NCURSES_SP_NAME()
351 if ((sp->_screen_acs_map = typeCalloc(bool, ACS_LEN)) == NULL) { in NCURSES_SP_NAME()
360 if ((sp->_current_attr = typeCalloc(NCURSES_CH_T, 1)) == 0) { in NCURSES_SP_NAME()
365 || ((SP->_acs_map = typeCalloc(chtype, ACS_LEN)) == 0) in NCURSES_SP_NAME()
366 || ((SP->_screen_acs_map = typeCalloc(bool, ACS_LEN)) == 0)) { in NCURSES_SP_NAME()
376 if ((sp->_current_attr = typeCalloc(NCURSES_CH_T, 1)) == 0) { in NCURSES_SP_NAME()
H A Dlib_newwin.c167 win->_line[i].text = typeCalloc(NCURSES_CH_T, (unsigned) num_columns); in NCURSES_SP_NAME()
287 if ((wp = typeCalloc(WINDOWLIST, 1)) == 0) in NCURSES_SP_NAME()
292 if ((win->_line = typeCalloc(struct ldat, ((unsigned) num_lines))) == 0) { in NCURSES_SP_NAME()
H A Dlib_slk.c160 } else if ((SP_PARM->_slk = typeCalloc(SLK, 1)) == 0) in _nc_slk_initialize()
188 || (SP_PARM->_slk->ent = typeCalloc(slk_ent, in _nc_slk_initialize()
H A Dtries.c65 result = typeCalloc(char, len + 2); in NCURSES_EXPORT()
H A Dwresize.c158 new_lines = typeCalloc(struct ldat, (unsigned) (ToLines + 1)); in wresize()
H A Dlib_pad.c66 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { in NCURSES_EXPORT()
/freebsd/contrib/ncurses/menu/
H A Dm_item_new.c72 && (temp = typeCalloc(wchar_t, (2 + (unsigned)count))) != 0) in Is_Printable_String()
126 item = typeCalloc(ITEM, 1); in new_item()
H A Dm_new.c58 MENU *menu = typeCalloc(MENU, 1); in MENU_EXPORT()
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c122 if ((_nc_wacs = typeCalloc(cchar_t, ACS_LEN)) != 0) { in _nc_init_wacs()
/freebsd/contrib/ncurses/include/
H A Dnc_alloc.h118 #define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type)) macro
/freebsd/contrib/ncurses/ncurses/tty/
H A Dhashmap.c316 oldhash(SP_PARM) = typeCalloc(unsigned long, in NCURSES_SP_NAME()
319 newhash(SP_PARM) = typeCalloc(unsigned long, in NCURSES_SP_NAME()
/freebsd/contrib/ncurses/form/
H A Dfty_regex.c155 preg = typeCalloc(RegExp_Arg, 1); in Generic_RegularExpression_Type()
H A Dfld_def.c308 New_Field->expanded = typeCalloc(char *, 1 + (unsigned)nbuf); in new_field()
/freebsd/contrib/ncurses/progs/
H A Dinfocmp.c1581 myargv = typeCalloc(char *, (size_t) (argc + 3)); in main()
1777 if ((tname = typeCalloc(char *, maxterms)) == 0) in main()
1779 if ((entries = typeCalloc(ENTRY, maxterms)) == 0) in main()
1782 if ((entered = typeCalloc(ENTERED, maxterms)) == 0) in main()
H A Dtput.c469 char **argvec = typeCalloc(char *, need + 1); in main()

12