| /freebsd-12.1/contrib/ncurses/form/ |
| H A D | fty_regex.c | 116 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 D | fty_enum.c | 72 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 D | fty_alnum.c | 62 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 101 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fty_alpha.c | 62 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 101 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fld_def.c | 95 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 D | fty_generic.c | 117 res = typeMalloc(FIELDTYPE, 1); in _nc_generic_fieldtype() 170 TypeArgument *p = typeMalloc(TypeArgument, 1); in GenericArgument()
|
| H A D | fty_int.c | 79 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 126 result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fty_num.c | 90 argn = typeMalloc(thisARG, 1); in Generic_This_Type() 145 result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fld_ftlink.c | 59 nftyp = typeMalloc(FIELDTYPE, 1); in NCURSES_EXPORT()
|
| H A D | frm_def.c | 189 if ((pg = typeMalloc(_PAGE, page_nr)) != (_PAGE *) 0) in Connect_Fields() 307 form = typeMalloc(FORM, 1); in NCURSES_SP_NAME()
|
| H A D | fld_newftyp.c | 82 nftyp = typeMalloc(FIELDTYPE, 1); in new_fieldtype()
|
| H A D | fld_link.c | 60 (New_Field = typeMalloc(FIELD, 1))) in NCURSES_EXPORT()
|
| H A D | fld_dup.c | 59 (New_Field = typeMalloc(FIELD, 1))) in NCURSES_EXPORT()
|
| /freebsd-12.1/contrib/ncurses/panel/ |
| H A D | p_new.c | 69 _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 D | safe_sprintf.c | 65 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length() 67 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
|
| H A D | wresize.c | 160 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 D | trace_tries.c | 71 if ((my_buffer = typeMalloc(unsigned char, my_length = 80)) != 0) { in _nc_trace_tries()
|
| H A D | varargs.c | 70 MyBuffer = typeMalloc(char, MyLength = BUFSIZ); in _nc_varargs()
|
| /freebsd-12.1/contrib/ncurses/include/ |
| H A D | nc_alloc.h | 106 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
|
| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_print.c | 74 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
|
| H A D | name_match.c | 72 FirstName = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_first_name()
|
| H A D | read_entry.c | 195 || (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 D | comp_error.c | 70 TermType = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_set_type()
|
| H A D | comp_scan.c | 446 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 D | m_global.c | 211 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()
|