Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/ncurses/form/
H A Dfty_regex.c160 if (((preg->pRegExp = typeMalloc(regex_t, 1)) != 0) in Generic_RegularExpression_Type()
165 if ((preg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type()
184 pArg = typeMalloc(RegExp_Arg, 1); in Generic_RegularExpression_Type()
192 if ((pArg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type()
197 char *buf = typeMalloc(char, blen); in Generic_RegularExpression_Type()
H A Dfty_enum.c73 argp = typeMalloc(enumARG, 1); in Generic_Enum_Type()
104 argp->kwds = typeMalloc(char *, cnt + 1); in Generic_Enum_Type()
158 result = typeMalloc(enumARG, 1); in Copy_Enum_Type()
169 result->kwds = typeMalloc(char *, 1 + ap->count); in Copy_Enum_Type()
H A Dfty_alpha.c63 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
102 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfty_alnum.c63 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
102 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfld_def.c95 TypeArgument *p = typeMalloc(TypeArgument, 1); in _nc_Make_Argument()
142 TypeArgument *p = typeMalloc(TypeArgument, 1); in _nc_Copy_Argument()
292 (New_Field = typeMalloc(FIELD, 1)) != 0) in new_field()
H A Dfty_int.c80 argp = typeMalloc(thisARG, 1); in Generic_This_Type()
127 result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfty_generic.c125 res = typeMalloc(FIELDTYPE, 1); in _nc_generic_fieldtype()
178 TypeArgument *p = typeMalloc(TypeArgument, 1); in GenericArgument()
H A Dfty_num.c91 argn = typeMalloc(thisARG, 1); in Generic_This_Type()
146 result = typeMalloc(thisARG, 1); in Copy_This_Type()
H A Dfld_ftlink.c60 nftyp = typeMalloc(FIELDTYPE, 1); in FORM_EXPORT()
H A Dfrm_def.c189 if ((pg = typeMalloc(_PAGE, page_nr)) != (_PAGE *) 0) in Connect_Fields()
310 form = typeMalloc(FORM, 1); in NCURSES_SP_NAME()
H A Dfld_newftyp.c88 nftyp = typeMalloc(FIELDTYPE, 1); in new_fieldtype()
H A Dfld_link.c61 (New_Field = typeMalloc(FIELD, 1))) in FORM_EXPORT()
H A Dfld_dup.c60 (New_Field = typeMalloc(FIELD, 1))) in FORM_EXPORT()
/freebsd-src/contrib/ncurses/panel/
H A Dp_new.c51 PANEL *result = typeMalloc(PANEL, 1); in AllocPanel()
62 #define AllocPanel(name) typeMalloc(PANEL, 1)
/freebsd-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 Dlib_insnstr.c66 wchar_t *buffer = typeMalloc(wchar_t, nn + 1); in NCURSES_EXPORT()
H A Dwresize.c175 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
195 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
/freebsd-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.c69 MyBuffer = typeMalloc(char, MyLength = BUFSIZ); in _nc_varargs()
/freebsd-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.c79 TermType = typeMalloc(char, MY_SIZE + 1); in _nc_set_type()
H A Dcomp_scan.c489 tok_buf = typeMalloc(char, TOK_BUF_SIZE); in _nc_get_token()
1029 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
/freebsd-src/contrib/ncurses/include/
H A Dnc_alloc.h117 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
/freebsd-src/contrib/ncurses/menu/
H A Dm_global.c213 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen)))) in _nc_Connect_Items()
265 && (temp = typeMalloc(wchar_t, 2 + count)) != 0) in _nc_Calculate_Text_Width()

12