Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/ncurses/form/
H A Dfty_regex.c116 preg = typeMalloc(RegExp_Arg, 1); in Generic_RegularExpression_Type()
121 if (((preg->pRegExp = typeMalloc(regex_t, 1)) != 0) in Generic_RegularExpression_Type()
126 if ((preg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type()
145 pArg = typeMalloc(RegExp_Arg, 1); in Generic_RegularExpression_Type()
153 if ((pArg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type()
158 char *buf = typeMalloc(char, blen); in Generic_RegularExpression_Type()
H A Dfty_enum.c72 argp = typeMalloc(enumARG, 1); in Generic_Enum_Type()
102 argp->kwds = typeMalloc(char *, cnt + 1); in Generic_Enum_Type()
156 result = typeMalloc(enumARG, 1); in Copy_Enum_Type()
167 result->kwds = typeMalloc(char *, 1 + ap->count); in Copy_Enum_Type()
H A Dfty_alnum.c62 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
101 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfty_alpha.c62 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
101 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfld_def.c95 p = typeMalloc(TypeArgument, 1); in _nc_Make_Argument()
143 p = typeMalloc(TypeArgument, 1); in _nc_Copy_Argument()
293 (New_Field = typeMalloc(FIELD, 1)) != 0) in new_field()
H A Dfty_generic.c117 res = typeMalloc(FIELDTYPE, 1); in _nc_generic_fieldtype()
170 TypeArgument *p = typeMalloc(TypeArgument, 1); in GenericArgument()
H A Dfty_int.c79 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
126 result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfty_num.c90 argn = typeMalloc(thisARG, 1); in Generic_This_Type()
145 result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfld_ftlink.c59 nftyp = typeMalloc(FIELDTYPE, 1); in NCURSES_EXPORT()
H A Dfrm_def.c189 if ((pg = typeMalloc(_PAGE, page_nr)) != (_PAGE *) 0) in Connect_Fields()
307 form = typeMalloc(FORM, 1); in NCURSES_SP_NAME()
H A Dfld_newftyp.c82 nftyp = typeMalloc(FIELDTYPE, 1); in new_fieldtype()
H A Dfld_link.c60 (New_Field = typeMalloc(FIELD, 1))) in NCURSES_EXPORT()
H A Dfld_dup.c59 (New_Field = typeMalloc(FIELD, 1))) in NCURSES_EXPORT()
/freebsd-12.1/contrib/ncurses/panel/
H A Dp_new.c69 _nc_stdscr_pseudo_panel = typeMalloc(PANEL, 1); in root_panel()
107 if (!(win->_flags & _ISPAD) && (pan = typeMalloc(PANEL, 1))) in new_panel()
/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c65 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length()
67 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
H A Dwresize.c160 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
172 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
/freebsd-12.1/contrib/ncurses/ncurses/trace/
H A Dtrace_tries.c71 if ((my_buffer = typeMalloc(unsigned char, my_length = 80)) != 0) { in _nc_trace_tries()
H A Dvarargs.c70 MyBuffer = typeMalloc(char, MyLength = BUFSIZ); in _nc_varargs()
/freebsd-12.1/contrib/ncurses/include/
H A Dnc_alloc.h106 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dlib_print.c74 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
H A Dname_match.c72 FirstName = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_first_name()
H A Dread_entry.c195 || (string_table = typeMalloc(char, want)) == 0) { in _nc_read_termtype()
200 if ((string_table = typeMalloc(char, want)) == 0) { in _nc_read_termtype()
324 ptr->ext_str_table = typeMalloc(char, (size_t) ext_str_limit); in _nc_read_termtype()
H A Dcomp_error.c70 TermType = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_set_type()
H A Dcomp_scan.c446 tok_buf = typeMalloc(char, TOK_BUF_SIZE); in _nc_get_token()
981 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
/freebsd-12.1/contrib/ncurses/menu/
H A Dm_global.c211 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen)))) in _nc_Connect_Items()
263 && (temp = typeMalloc(wchar_t, 2 + count)) != 0) in _nc_Calculate_Text_Width()

12