Home
last modified time | relevance | path

Searched refs:nftyp (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/ncurses/form/
Dfld_ftlink.c54 FIELDTYPE *nftyp = (FIELDTYPE *)0; in NCURSES_EXPORT() local
59 nftyp = typeMalloc(FIELDTYPE, 1); in NCURSES_EXPORT()
61 if (nftyp) in NCURSES_EXPORT()
63 T((T_CREATE("fieldtype %p"), (void *)nftyp)); in NCURSES_EXPORT()
64 *nftyp = *_nc_Default_FieldType; in NCURSES_EXPORT()
65 SetStatus(nftyp, _LINKED_TYPE); in NCURSES_EXPORT()
67 SetStatus(nftyp, _HAS_ARGS); in NCURSES_EXPORT()
69 SetStatus(nftyp, _HAS_CHOICE); in NCURSES_EXPORT()
70 nftyp->left = type1; in NCURSES_EXPORT()
71 nftyp->right = type2; in NCURSES_EXPORT()
[all …]
Dfld_newftyp.c77 FIELDTYPE *nftyp = (FIELDTYPE *)0; in new_fieldtype() local
82 nftyp = typeMalloc(FIELDTYPE, 1); in new_fieldtype()
84 if (nftyp) in new_fieldtype()
86 T((T_CREATE("fieldtype %p"), (void *)nftyp)); in new_fieldtype()
87 *nftyp = default_fieldtype; in new_fieldtype()
89 nftyp->fieldcheck.ofcheck = field_check; in new_fieldtype()
90 nftyp->charcheck.occheck = char_check; in new_fieldtype()
92 nftyp->fcheck = field_check; in new_fieldtype()
93 nftyp->ccheck = char_check; in new_fieldtype()
105 returnFieldType(nftyp); in new_fieldtype()