Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 39) sorted by relevance

12

/mirbsd/src/lib/libncurses/src/form/
Dfld_def.c86 _nc_Make_Argument(const FIELDTYPE *typ, va_list *ap, int *err) in _nc_Make_Argument() argument
91 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument()
94 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument()
100 p->left = _nc_Make_Argument(typ->left, ap, err); in _nc_Make_Argument()
101 p->right = _nc_Make_Argument(typ->right, ap, err); in _nc_Make_Argument()
111 assert(typ->makearg != (void *)0); in _nc_Make_Argument()
112 if (!(res = (TypeArgument *)typ->makearg(ap))) in _nc_Make_Argument()
134 _nc_Copy_Argument(const FIELDTYPE *typ, const TypeArgument *argp, int *err) in _nc_Copy_Argument() argument
139 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Copy_Argument()
142 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Copy_Argument()
[all …]
Dfld_newftyp.c110 free_fieldtype(FIELDTYPE *typ) in free_fieldtype() argument
112 T((T_CALLED("free_fieldtype(%p)"), typ)); in free_fieldtype()
114 if (!typ) in free_fieldtype()
117 if (typ->ref != 0) in free_fieldtype()
120 if (typ->status & _RESIDENT) in free_fieldtype()
123 if (typ->status & _LINKED_TYPE) in free_fieldtype()
125 if (typ->left) in free_fieldtype()
126 typ->left->ref--; in free_fieldtype()
127 if (typ->right) in free_fieldtype()
128 typ->right->ref--; in free_fieldtype()
[all …]
Dfrm_hook.c38 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument
39 NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (FORM *form, Form_Hook func)\
41 T((T_CALLED("set_" #typ"_"#name"(%p,%p)"), form, func));\
42 (Normalize_Form( form ) -> typ ## name) = func ;\
47 #define GEN_HOOK_GET_FUNCTION( typ, name ) \ argument
48 NCURSES_IMPEXP Form_Hook NCURSES_API typ ## _ ## name ( const FORM *form )\
50 T((T_CALLED(#typ "_" #name "(%p)"), form));\
51 returnFormHook( Normalize_Form( form ) -> typ ## name );\
Dfld_arg.c64 set_fieldtype_arg(FIELDTYPE *typ, in NCURSES_EXPORT()
70 typ, make_arg, copy_arg, free_arg)); in NCURSES_EXPORT()
72 if (typ != 0 && make_arg != (void *)0) in NCURSES_EXPORT()
74 typ->status |= _HAS_ARGS; in NCURSES_EXPORT()
75 typ->makearg = make_arg; in NCURSES_EXPORT()
76 typ->copyarg = copy_arg; in NCURSES_EXPORT()
77 typ->freearg = free_arg; in NCURSES_EXPORT()
Dfld_ftchoice.c50 set_fieldtype_choice(FIELDTYPE *typ, in NCURSES_EXPORT()
54 T((T_CALLED("set_fieldtype_choice(%p,%p,%p)"), typ, next_choice, prev_choice)); in NCURSES_EXPORT()
56 if (!typ || !next_choice || !prev_choice) in NCURSES_EXPORT()
59 typ->status |= _HAS_CHOICE; in NCURSES_EXPORT()
60 typ->next = next_choice; in NCURSES_EXPORT()
61 typ->prev = prev_choice; in NCURSES_EXPORT()
Dfrm_driver.c984 Check_Char(FIELDTYPE *typ, int ch, TypeArgument *argp) in Check_Char() argument
986 if (typ) in Check_Char()
988 if (typ->status & _LINKED_TYPE) in Check_Char()
992 Check_Char(typ->left, ch, argp->left) || in Check_Char()
993 Check_Char(typ->right, ch, argp->right)); in Check_Char()
997 if (typ->ccheck) in Check_Char()
998 return typ->ccheck(ch, (void *)argp); in Check_Char()
2884 Next_Choice(FIELDTYPE *typ, FIELD *field, TypeArgument *argp) in Next_Choice() argument
2886 if (!typ || !(typ->status & _HAS_CHOICE)) in Next_Choice()
2889 if (typ->status & _LINKED_TYPE) in Next_Choice()
[all …]
/mirbsd/src/lib/libncurses/src/menu/
Dm_hook.c43 #define GEN_HOOK_SET_FUNCTION( typ, name ) \ argument
44 NCURSES_IMPEXP int NCURSES_API set_ ## typ ## _ ## name (MENU *menu, Menu_Hook func )\
46 T((T_CALLED("set_" #typ "_" #name "(%p,%p)"), menu, func));\
47 (Normalize_Menu(menu) -> typ ## name = func );\
52 #define GEN_HOOK_GET_FUNCTION( typ, name ) \ argument
53 NCURSES_IMPEXP Menu_Hook NCURSES_API typ ## _ ## name ( const MENU *menu )\
55 T((T_CALLED(#typ "_" #name "(%p)"), menu));\
56 returnMenuHook(Normalize_Menu(menu) -> typ ## name);\
/mirbsd/src/usr.bin/xlint/lint1/
Dscan.l473 tspec_t typ; in icon() local
511 typ = contypes[u_suffix][l_suffix]; in icon()
530 switch (typ) { in icon()
535 typ = UINT; in icon()
537 typ = LONG; in icon()
539 typ = ULONG; in icon()
541 if (typ == UINT || typ == ULONG) { in icon()
553 typ = ULONG; in icon()
557 typ = ULONG; in icon()
564 typ = UQUAD; in icon()
[all …]
/mirbsd/src/sys/netinet/
Dip6.h280 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument
285 (val) = (typ)(mtod((m), caddr_t) + (off)); \
291 (val) = (typ)(mtod(t, caddr_t) + tmp); \
293 (val) = (typ)NULL; \
299 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \ argument
303 (val) = (typ)mtod((m), caddr_t); \
309 (val) = (typ)mtod(t, caddr_t); \
311 (val) = (typ)NULL; \
/mirbsd/src/sbin/init/
Dinit.c504 struct ttyent *typ; in single_user() local
535 typ = getttynam("console"); in single_user()
537 if (typ && (typ->ty_status & TTY_SECURE) == 0 && pp && in single_user()
866 new_session(session_t *sprev, int session_index, struct ttyent *typ) in new_session() argument
871 if ((typ->ty_status & TTY_ON) == 0 || in new_session()
872 typ->ty_name == 0 || in new_session()
873 typ->ty_getty == 0) in new_session()
882 len = sizeof(_PATH_DEV) + strlen(typ->ty_name); in new_session()
884 (void) snprintf(sp->se_device, len, "%s%s", _PATH_DEV, typ->ty_name); in new_session()
886 if (setupargv(sp, typ) == 0) { in new_session()
[all …]
/mirbsd/src/usr.bin/file/
Dprint.c52 private const char *typ[] = { "invalid", "byte", "short", "invalid", in file_mdump() local
66 (m->in_type < SZOF(typ)) ? in file_mdump()
67 typ[m->in_type] : "*bad*"); in file_mdump()
77 (m->type < SZOF(typ)) ? typ[m->type] : "*bad*"); in file_mdump()
/mirbsd/src/lib/libssl/src/crypto/asn1/
Dtasn_new.c295 ASN1_TYPE *typ; in ASN1_primitive_new() local
319 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
320 if(!typ) return 0; in ASN1_primitive_new()
321 typ->value.ptr = NULL; in ASN1_primitive_new()
322 typ->type = -1; in ASN1_primitive_new()
323 *pval = (ASN1_VALUE *)typ; in ASN1_primitive_new()
Dtasn_dec.c705 ASN1_TYPE *typ = NULL; in asn1_ex_c2i() local
714 typ = ASN1_TYPE_new(); in asn1_ex_c2i()
715 *pval = (ASN1_VALUE *)typ; in asn1_ex_c2i()
716 } else typ = (ASN1_TYPE *)*pval; in asn1_ex_c2i()
717 if(utype != typ->type) ASN1_TYPE_set(typ, utype, NULL); in asn1_ex_c2i()
719 pval = (ASN1_VALUE **)&typ->value.ptr; in asn1_ex_c2i()
818 if(typ && utype==V_ASN1_NULL) typ->value.ptr = NULL; in asn1_ex_c2i()
824 ASN1_TYPE_free(typ); in asn1_ex_c2i()
Dtasn_fre.c192 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in ASN1_primitive_free() local
193 utype = typ->type; in ASN1_primitive_free()
194 pval = (ASN1_VALUE **)&typ->value.ptr; in ASN1_primitive_free()
Dtasn_enc.c426 ASN1_TYPE *typ; in asn1_ex_i2c() local
427 typ = (ASN1_TYPE *)*pval; in asn1_ex_i2c()
428 utype = typ->type; in asn1_ex_i2c()
430 pval = (ASN1_VALUE **)&typ->value.ptr; in asn1_ex_i2c()
/mirbsd/src/gnu/usr.bin/binutils/gas/config/
Dxtensa-relax.c512 cond->typ = OP_OPERAND; in append_value_condition()
528 cond->typ = OP_CONSTANT; in append_constant_value_condition()
583 b_op->typ = OP_LITERAL; in append_literal_op()
596 b_op->typ = OP_LABEL; in append_label_op()
609 b_op->typ = OP_CONSTANT; in append_constant_op()
622 b_op->typ = OP_OPERAND; in append_field_op()
634 OpType typ, in append_user_fn_field_op() argument
640 b_op->typ = typ; in append_user_fn_field_op()
1670 bi->typ = INSTR_LITERAL_DEF; in build_transition()
1681 bi->typ = INSTR_LABEL_DEF; in build_transition()
[all …]
Dxtensa-relax.h121 OpType typ; /* CONSTANT: op_data is a constant. member
133 OpType typ; member
157 InstrType typ; member
/mirbsd/src/lib/libssl/src/apps/
Dasn1pars.c281 int typ; in MAIN() local
300 typ = ASN1_TYPE_get(at); in MAIN()
301 if ((typ == V_ASN1_OBJECT) in MAIN()
302 || (typ == V_ASN1_NULL)) in MAIN()
305 typ == V_ASN1_NULL ? "NULL" : "OBJECT"); in MAIN()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Djv-exp.y1230 struct type *typ = java_lookup_class (tmp); local
1231 if (typ == NULL || TYPE_CODE (typ) != TYPE_CODE_STRUCT)
1233 return typ;
1316 struct type *typ; in push_qualified_expression_name() local
1334 typ = java_lookup_class (tmp); in push_qualified_expression_name()
1335 if (typ != NULL) in push_qualified_expression_name()
1340 write_exp_elt_type(typ); in push_qualified_expression_name()
1353 write_exp_elt_type (typ); in push_qualified_expression_name()
1382 struct type *typ; local
1401 typ = java_lookup_class (tmp);
[all …]
/mirbsd/src/sys/net/
Dif_arcsubr.c311 u_char src,dst,typ; local
322 typ = ah->arc_type;
324 if (!arc_isphds(typ))
342 ah->arc_type = typ;
/mirbsd/src/sys/dev/raidframe/
Drf_diskqueue.c573 RF_IoType_t typ, in rf_CreateDiskQueueData() argument
595 p->type = typ; in rf_CreateDiskQueueData()
614 RF_IoType_t typ, in rf_CreateDiskQueueDataFull() argument
639 p->type = typ; in rf_CreateDiskQueueDataFull()
/mirbsd/src/gnu/usr.bin/perl/ext/B/t/
Dconcise.t179 my $typ = ref $ref;
182 like ($@, qr/^err: not a coderef: $typ/,
183 "compile detects $typ-ref where expecting subref");
/mirbsd/src/gnu/usr.bin/perl/NetWare/
Dnw5sck.h65 # define getnetbyaddr(net,typ) NWgetnetbyaddr(&local_context,net,typ) argument
/mirbsd/src/distrib/common/
Dlistend.i3864 SPECIAL cd dev; mksh MAKEDEV ptm pty0; rm ?typ[a-zA-Z]
Dlistadd.sparc6 SPECIAL cd dev; mksh MAKEDEV ptm pty0; rm ?typ[a-zA-Z]

12