| /openbsd-src/lib/libform/ |
| H A D | fty_regex.c | 161 if (((preg->pRegExp = typeMalloc(regex_t, 1)) != 0) in Generic_RegularExpression_Type() 166 if ((preg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type() 185 pArg = typeMalloc(RegExp_Arg, 1); in Generic_RegularExpression_Type() 193 if ((pArg->refCount = typeMalloc(unsigned long, 1)) != 0) in Generic_RegularExpression_Type() 198 char *buf = typeMalloc(char, blen); in Generic_RegularExpression_Type()
|
| H A D | fty_enum.c | 74 argp = typeMalloc(enumARG, 1); in Generic_Enum_Type() 105 argp->kwds = typeMalloc(char *, cnt + 1); in Generic_Enum_Type() 159 result = typeMalloc(enumARG, 1); in Copy_Enum_Type() 170 result->kwds = typeMalloc(char *, 1 + ap->count); in Copy_Enum_Type()
|
| H A D | fty_alpha.c | 64 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 103 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fty_alnum.c | 64 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 103 thisARG *result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fld_def.c | 96 TypeArgument *p = typeMalloc(TypeArgument, 1); in _nc_Make_Argument() 143 TypeArgument *p = typeMalloc(TypeArgument, 1); in _nc_Copy_Argument() 293 (New_Field = typeMalloc(FIELD, 1)) != 0) in new_field()
|
| H A D | fty_generic.c | 125 res = typeMalloc(FIELDTYPE, 1); in _nc_generic_fieldtype() 178 TypeArgument *p = typeMalloc(TypeArgument, 1); in GenericArgument()
|
| H A D | fty_int.c | 81 argp = typeMalloc(thisARG, 1); in Generic_This_Type() 128 result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fty_num.c | 92 argn = typeMalloc(thisARG, 1); in Generic_This_Type() 147 result = typeMalloc(thisARG, 1); in Copy_This_Type()
|
| H A D | fld_ftlink.c | 61 nftyp = typeMalloc(FIELDTYPE, 1); in FORM_EXPORT()
|
| H A D | frm_def.c | 190 if ((pg = typeMalloc(_PAGE, page_nr)) != (_PAGE *) 0) in Connect_Fields() 311 form = typeMalloc(FORM, 1); in NCURSES_SP_NAME()
|
| H A D | fld_newftyp.c | 89 nftyp = typeMalloc(FIELDTYPE, 1); in new_fieldtype()
|
| H A D | fld_link.c | 62 (New_Field = typeMalloc(FIELD, 1))) in FORM_EXPORT()
|
| H A D | fld_dup.c | 61 (New_Field = typeMalloc(FIELD, 1))) in FORM_EXPORT()
|
| /openbsd-src/lib/libpanel/ |
| H A D | p_new.c | 53 PANEL *result = typeMalloc(PANEL, 1); in AllocPanel() 64 #define AllocPanel(name) typeMalloc(PANEL, 1)
|
| /openbsd-src/lib/libcurses/base/ |
| H A D | safe_sprintf.c | 68 if ((format = typeMalloc(char, fmt_len)) == 0) in _nc_printf_length() 70 if ((buffer = typeMalloc(char, length)) == 0) { in _nc_printf_length()
|
| H A D | lib_insnstr.c | 68 wchar_t *buffer = typeMalloc(wchar_t, nn + 1); in NCURSES_EXPORT()
|
| H A D | wresize.c | 177 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize() 197 s = typeMalloc(NCURSES_CH_T, (unsigned) ToCols + 1); in wresize()
|
| /openbsd-src/lib/libcurses/tinfo/ |
| H A D | setbuf.c | 121 if ((buf_ptr = typeMalloc(char, buf_len)) == NULL) in NCURSES_EXPORT()
|
| H A D | lib_print.c | 77 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT()
|
| H A D | name_match.c | 73 FirstName = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_first_name()
|
| H A D | comp_error.c | 81 TermType = typeMalloc(char, MY_SIZE + 1); in _nc_set_type()
|
| H A D | comp_scan.c | 489 tok_buf = typeMalloc(char, TOK_BUF_SIZE); in _nc_get_token() 1029 pushname = typeMalloc(char, MAX_NAME_SIZE + 1); in _nc_push_token()
|
| /openbsd-src/lib/libcurses/ |
| H A D | nc_alloc.h | 119 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) macro
|
| /openbsd-src/lib/libmenu/ |
| H A D | m_global.c | 215 if ((menu->pattern = typeMalloc(char, (unsigned)(1 + menu->namelen)))) in _nc_Connect_Items() 267 && (temp = typeMalloc(wchar_t, 2 + count)) != 0) in _nc_Calculate_Text_Width()
|
| /openbsd-src/lib/libcurses/tty/ |
| H A D | hardscroll.c | 317 if ((buf = typeMalloc(char, want)) != 0) { in NCURSES_SP_NAME()
|