Home
last modified time | relevance | path

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

123

/freebsd-12.1/sys/dev/mlx5/
H A Ddevice.h49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
60 #define __mlx5_16_mask(typ, fld) (__mlx5_mask16(typ, fld) << __mlx5_16_bit_off(typ, fld)) argument
69 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
[all …]
/freebsd-12.1/contrib/ncurses/form/
H A Dfld_def.c90 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument()
93 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument()
110 assert(typ->makearg != (void *)0); in _nc_Make_Argument()
138 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Copy_Argument()
141 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Copy_Argument()
155 if (typ->copyarg != (void *)0) in _nc_Copy_Argument()
184 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Free_Argument()
186 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Free_Argument()
190 _nc_Free_Argument(typ->left, argp->left); in _nc_Free_Argument()
197 if (typ->freearg != (void *)0) in _nc_Free_Argument()
[all …]
H A Dfld_newftyp.c119 free_fieldtype(FIELDTYPE *typ) in free_fieldtype() argument
121 T((T_CALLED("free_fieldtype(%p)"), (void *)typ)); in free_fieldtype()
123 if (!typ) in free_fieldtype()
126 if (typ->ref != 0) in free_fieldtype()
129 if (typ->status & _RESIDENT) in free_fieldtype()
132 if (typ->status & _LINKED_TYPE) in free_fieldtype()
134 if (typ->left) in free_fieldtype()
135 typ->left->ref--; in free_fieldtype()
136 if (typ->right) in free_fieldtype()
137 typ->right->ref--; in free_fieldtype()
[all …]
H A Dfld_ftchoice.c50 set_fieldtype_choice(FIELDTYPE *typ, in NCURSES_EXPORT()
54 T((T_CALLED("set_fieldtype_choice(%p,%p,%p)"), (void *)typ, next_choice, prev_choice)); in NCURSES_EXPORT()
56 if (!typ || !next_choice || !prev_choice) in NCURSES_EXPORT()
59 SetStatus(typ, _HAS_CHOICE); in NCURSES_EXPORT()
61 typ->enum_next.onext = next_choice; in NCURSES_EXPORT()
62 typ->enum_prev.oprev = prev_choice; in NCURSES_EXPORT()
64 typ->next = next_choice; in NCURSES_EXPORT()
65 typ->prev = prev_choice; in NCURSES_EXPORT()
H A 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)"), (void *) 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)"), (const void *) form));\
51 returnFormHook( Normalize_Form( form ) -> typ ## name );\
H A Dfld_arg.c64 set_fieldtype_arg(FIELDTYPE *typ, in NCURSES_EXPORT()
70 (void *)typ, make_arg, copy_arg, free_arg)); in NCURSES_EXPORT()
72 if (typ != 0 && make_arg != (void *)0) in NCURSES_EXPORT()
74 SetStatus(typ, _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()
H A Dfty_generic.c160 GenericArgument(const FIELDTYPE *typ, in GenericArgument() argument
165 if (typ != 0 && (typ->status & _HAS_ARGS) != 0 && err != 0 && argiterator != 0) in GenericArgument()
167 if (typ->status & _LINKED_TYPE) in GenericArgument()
174 p->left = GenericArgument(typ->left, argiterator, err); in GenericArgument()
175 p->right = GenericArgument(typ->right, argiterator, err); in GenericArgument()
183 assert(typ->genericarg != (void *)0); in GenericArgument()
184 if (typ->genericarg == 0) in GenericArgument()
192 !(res = (TypeArgument *)typ->genericarg(argp))) in GenericArgument()
H A Dfrm_driver.c1052 FIELDTYPE *typ, in Check_Char() argument
1056 if (typ) in Check_Char()
1068 if (typ->charcheck.occheck) in Check_Char()
1076 if (typ->ccheck) in Check_Char()
2973 if (!typ || !(typ->status & _HAS_CHOICE)) in Next_Choice()
2992 assert(typ->next); in Next_Choice()
3014 if (!typ || !(typ->status & _HAS_CHOICE)) in Previous_Choice()
3033 assert(typ->prev); in Previous_Choice()
3112 if (typ) in Check_Field()
3137 if (typ->fieldcheck.ofcheck) in Check_Field()
[all …]
/freebsd-12.1/contrib/ncurses/menu/
H A 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)"), (void *) 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)"), (const void *) menu));\
56 returnMenuHook(Normalize_Menu(menu) -> typ ## name);\
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cc150 rep_->typ = typ; in ScopedReportBase()
375 : ScopedReportBase(typ, tag) {} in ScopedReport()
411 if (typ == EventTypeMop) { in RestoreStack()
422 if (typ == EventTypeLock) { in RestoreStack()
426 } else if (typ == EventTypeRLock) { in RestoreStack()
622 ReportType typ = ReportTypeRace; in ReportRace() local
624 typ = ReportTypeVptrUseAfterFree; in ReportRace()
626 typ = ReportTypeVptrRace; in ReportRace()
628 typ = ReportTypeUseAfterFree; in ReportRace()
678 typ = ReportTypeExternalRace; in ReportRace()
[all …]
H A Dtsan_suppressions.cc68 static const char *conv(ReportType typ) { in conv() argument
69 switch (typ) { in conv()
107 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument
112 const char *stype = conv(typ); in IsSuppressed()
126 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument
131 const char *stype = conv(typ); in IsSuppressed()
H A Dtsan_report.cc79 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument
80 switch (typ) { in ReportTypeString()
320 const char *rep_typ_str = ReportTypeString(rep->typ, rep->tag); in PrintReport()
326 if (rep->typ == ReportTypeDeadlock) { in PrintReport()
373 if (rep->typ != ReportTypeDeadlock) { in PrintReport()
381 if (rep->typ == ReportTypeThreadLeak && rep->count > 1) in PrintReport()
460 if (rep->typ == ReportTypeRace) { in PrintReport()
468 } else if (rep->typ == ReportTypeDeadlock) { in PrintReport()
H A Dtsan_suppressions.h33 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
34 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
H A Dtsan_debugging.cc22 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument
23 switch (typ) { in ReportTypeDescription()
44 static const char *ReportLocationTypeDescription(ReportLocationType typ) { in ReportLocationTypeDescription() argument
45 switch (typ) { in ReportLocationTypeDescription()
79 *description = ReportTypeDescription(rep->typ); in __tsan_get_report_data()
H A Dtsan_rtl.h599 ScopedReportBase(ReportType typ, uptr tag);
616 explicit ScopedReport(ReportType typ, uptr tag = kExternalTagNone);
665 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
667 thr->stat[typ] += n;
670 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) { in StatSet() argument
672 thr->stat[typ] = n; in StatSet()
844 EventType typ, u64 addr) { in TraceAddEvent() argument
847 DCHECK_GE((int)typ, 0); in TraceAddEvent()
848 DCHECK_LE((int)typ, 7); in TraceAddEvent()
861 Event ev = (u64)addr | ((u64)typ << kEventPCBits); in TraceAddEvent()
/freebsd-12.1/sys/netinet/
H A Dip6.h310 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument
315 (val) = (typ)(mtod((m), caddr_t) + (off)); \
321 (val) = (typ)(mtod(t, caddr_t) + tmp); \
323 (val) = (typ)NULL; \
329 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \ argument
333 (val) = (typ)mtod(m, caddr_t); \
339 (val) = (typ)mtod(t, caddr_t); \
341 (val) = (typ)NULL; \
/freebsd-12.1/sbin/init/
H A Dinit.c886 struct ttyent *typ; in single_user() local
924 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user()
1319 typ->ty_name == 0 || in new_session()
1320 typ->ty_getty == 0) in new_session()
1365 if (asprintf(&sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name) < 0) in setupargv()
1383 if (typ->ty_window) { in setupargv()
1398 sp->se_type = typ->ty_type ? strdup(typ->ty_type) : 0; in setupargv()
1409 struct ttyent *typ; in read_ttys() local
1710 struct ttyent *typ; in clean_ttys() local
1732 typ->ty_getty == 0) { in clean_ttys()
[all …]
/freebsd-12.1/contrib/ntp/sntp/libopts/
H A Dconfigfile.c72 parse_value(char const * txt, tOptionValue * typ);
1286 (void)typ; in parse_keyword()
1305 (void)typ; in parse_set_mem()
1319 parse_value(char const * txt, tOptionValue * typ) in parse_value() argument
1330 typ->valType = OPARG_TYPE_NONE; in parse_value()
1345 typ->valType = OPARG_TYPE_STRING; in parse_value()
1349 typ->valType = OPARG_TYPE_NUMERIC; in parse_value()
1354 typ->valType = OPARG_TYPE_BOOLEAN; in parse_value()
1358 typ->valType = OPARG_TYPE_ENUMERATION; in parse_value()
1363 typ->valType = OPARG_TYPE_MEMBERSHIP; in parse_value()
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c56 mode_t typ; member
142 w->typ = 0; in archive_write_set_format_warc()
226 w->typ = archive_entry_filetype(entry); in _warc_header()
228 if (w->typ == AE_IFREG) { in _warc_header()
274 if (w->typ == AE_IFREG) { in _warc_data()
297 if (w->typ == AE_IFREG) { in _warc_finish_entry()
305 w->typ = 0; in _warc_finish_entry()
/freebsd-12.1/crypto/openssl/crypto/asn1/
H A Dtasn_new.c265 ASN1_TYPE *typ; in asn1_primitive_new() local
302 if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) { in asn1_primitive_new()
306 typ->value.ptr = NULL; in asn1_primitive_new()
307 typ->type = -1; in asn1_primitive_new()
308 *pval = (ASN1_VALUE *)typ; in asn1_primitive_new()
H A Dtasn_dec.c798 ASN1_TYPE *typ = NULL; in asn1_ex_c2i() local
809 typ = ASN1_TYPE_new(); in asn1_ex_c2i()
810 if (typ == NULL) in asn1_ex_c2i()
812 *pval = (ASN1_VALUE *)typ; in asn1_ex_c2i()
814 typ = (ASN1_TYPE *)*pval; in asn1_ex_c2i()
816 if (utype != typ->type) in asn1_ex_c2i()
817 ASN1_TYPE_set(typ, utype, NULL); in asn1_ex_c2i()
819 pval = &typ->value.asn1_value; in asn1_ex_c2i()
916 if (typ && (utype == V_ASN1_NULL)) in asn1_ex_c2i()
917 typ->value.ptr = NULL; in asn1_ex_c2i()
[all …]
H A Dtasn_fre.c167 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in asn1_primitive_free() local
169 utype = typ->type; in asn1_primitive_free()
170 pval = &typ->value.asn1_value; in asn1_primitive_free()
/freebsd-12.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_qp.c211 #define MBOX_ALLOC(mbox, typ) \ in modify_qp_mbox_alloc() argument
212 mbox_alloc(mbox, MLX5_ST_SZ_BYTES(typ##_in), MLX5_ST_SZ_BYTES(typ##_out)) in modify_qp_mbox_alloc()
214 #define MOD_QP_IN_SET(typ, in, _opcode, _qpn) \ in modify_qp_mbox_alloc() argument
215 MLX5_SET(typ##_in, in, opcode, _opcode); \ in modify_qp_mbox_alloc()
216 MLX5_SET(typ##_in, in, qpn, _qpn) in modify_qp_mbox_alloc()
217 #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc) \ in modify_qp_mbox_alloc() argument
218 MOD_QP_IN_SET(typ, in, _opcode, _qpn); \ in modify_qp_mbox_alloc()
219 MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in modify_qp_mbox_alloc()
220 memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, MLX5_ST_SZ_BYTES(qpc)) in modify_qp_mbox_alloc()
/freebsd-12.1/crypto/openssl/apps/
H A Dasn1pars.c227 int typ; in asn1parse_main() local
245 typ = ASN1_TYPE_get(at); in asn1parse_main()
246 if ((typ == V_ASN1_OBJECT) in asn1parse_main()
247 || (typ == V_ASN1_BOOLEAN) in asn1parse_main()
248 || (typ == V_ASN1_NULL)) { in asn1parse_main()
249 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
/freebsd-12.1/contrib/gdb/gdb/
H A Djv-exp.y1222 if (typ == NULL || TYPE_CODE (typ) != TYPE_CODE_STRUCT)
1224 return typ;
1307 struct type *typ; in push_qualified_expression_name() local
1325 typ = java_lookup_class (tmp); in push_qualified_expression_name()
1326 if (typ != NULL) in push_qualified_expression_name()
1331 write_exp_elt_type(typ); in push_qualified_expression_name()
1344 write_exp_elt_type (typ); in push_qualified_expression_name()
1373 struct type *typ; local
1392 typ = java_lookup_class (tmp);
1393 if (typ != NULL)
[all …]

123