Home
last modified time | relevance | path

Searched refs:typeMalloc (Results 1 – 21 of 21) sorted by relevance

/dflybsd-src/contrib/ncurses/panel/
H A Dp_new.c70 _nc_stdscr_pseudo_panel = typeMalloc(PANEL, 1); in root_panel()
108 if (!(win->_flags & _ISPAD) && (pan = typeMalloc(PANEL, 1))) in new_panel()
/dflybsd-src/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c66 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length()
68 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
H A Dwresize.c175 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
187 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
H A Dlib_insnstr.c66 wchar_t *buffer = typeMalloc(wchar_t, nn + 1); in NCURSES_EXPORT()
/dflybsd-src/contrib/ncurses/ncurses/trace/
H A Dtrace_tries.c72 if ((my_buffer = typeMalloc(unsigned char, my_length = 80)) != 0) { in _nc_trace_tries()
H A Dvarargs.c71 MyBuffer = typeMalloc(char, MyLength = BUFSIZ); in _nc_varargs()
H A Dvisbuf.c271 mybuf = typeMalloc(wchar_t, mylen); in _nc_viswibuf()
/dflybsd-src/contrib/ncurses/ncurses/tinfo/
H A Dname_match.c71 FirstName = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_first_name()
H A Dlib_print.c75 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
H A Dcomp_error.c72 TermType = typeMalloc(char, MY_SIZE + 1); in _nc_set_type()
H A Dcomp_scan.c448 tok_buf = typeMalloc(char, TOK_BUF_SIZE); in _nc_get_token()
987 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
H A Dread_entry.c319 || (string_table = typeMalloc(char, want)) == 0) { in _nc_read_termtype()
455 ptr->ext_str_table = typeMalloc(char, (size_t) ext_str_limit); in _nc_read_termtype()
H A Dread_termcap.c160 if ((toprec = typeMalloc(char, topreclen + 1)) == 0) { in _nc_cgetset()
/dflybsd-src/contrib/ncurses/include/
H A Dnc_alloc.h118 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
/dflybsd-src/contrib/ncurses/ncurses/tty/
H A Dhardscroll.c308 if ((buf = typeMalloc(char, want)) != 0) { in NCURSES_SP_NAME()
H A Dlib_twait.c239 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait()
H A Dhashmap.c295 hashtab(SP_PARM) = typeMalloc(HASHMAP, in NCURSES_SP_NAME()
/dflybsd-src/contrib/ncurses/progs/
H A Dtset.c374 mapp = typeMalloc(MAP, 1); in add_mapping()
H A Dinfocmp.c1745 if ((tfile = typeMalloc(path, maxterms)) == 0) in main()
H A Dtic.c2581 NAME_VALUE *result = typeMalloc(NAME_VALUE, NUM_STRINGS(tp) + 1); in get_fkey_list()
/dflybsd-src/contrib/ncurses/ncurses/
H A Dcurses.priv.h1706 name = typeMalloc(type, size); \