Searched refs:typeMalloc (Results 1 – 21 of 21) sorted by relevance
/dflybsd-src/contrib/ncurses/panel/ |
H A D | p_new.c | 70 _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 D | safe_sprintf.c | 66 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length() 68 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
|
H A D | wresize.c | 175 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize() 187 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
|
H A D | lib_insnstr.c | 66 wchar_t *buffer = typeMalloc(wchar_t, nn + 1); in NCURSES_EXPORT()
|
/dflybsd-src/contrib/ncurses/ncurses/trace/ |
H A D | trace_tries.c | 72 if ((my_buffer = typeMalloc(unsigned char, my_length = 80)) != 0) { in _nc_trace_tries()
|
H A D | varargs.c | 71 MyBuffer = typeMalloc(char, MyLength = BUFSIZ); in _nc_varargs()
|
H A D | visbuf.c | 271 mybuf = typeMalloc(wchar_t, mylen); in _nc_viswibuf()
|
/dflybsd-src/contrib/ncurses/ncurses/tinfo/ |
H A D | name_match.c | 71 FirstName = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_first_name()
|
H A D | lib_print.c | 75 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
|
H A D | comp_error.c | 72 TermType = typeMalloc(char, MY_SIZE + 1); in _nc_set_type()
|
H A D | comp_scan.c | 448 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 D | read_entry.c | 319 || (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 D | read_termcap.c | 160 if ((toprec = typeMalloc(char, topreclen + 1)) == 0) { in _nc_cgetset()
|
/dflybsd-src/contrib/ncurses/include/ |
H A D | nc_alloc.h | 118 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
|
/dflybsd-src/contrib/ncurses/ncurses/tty/ |
H A D | hardscroll.c | 308 if ((buf = typeMalloc(char, want)) != 0) { in NCURSES_SP_NAME()
|
H A D | lib_twait.c | 239 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait()
|
H A D | hashmap.c | 295 hashtab(SP_PARM) = typeMalloc(HASHMAP, in NCURSES_SP_NAME()
|
/dflybsd-src/contrib/ncurses/progs/ |
H A D | tset.c | 374 mapp = typeMalloc(MAP, 1); in add_mapping()
|
H A D | infocmp.c | 1745 if ((tfile = typeMalloc(path, maxterms)) == 0) in main()
|
H A D | tic.c | 2581 NAME_VALUE *result = typeMalloc(NAME_VALUE, NUM_STRINGS(tp) + 1); in get_fkey_list()
|
/dflybsd-src/contrib/ncurses/ncurses/ |
H A D | curses.priv.h | 1706 name = typeMalloc(type, size); \
|