Home
last modified time | relevance | path

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

123

/NextBSD/contrib/compiler-rt/lib/tsan/rtl/
HDtsan_suppressions.cc67 static const char *conv(ReportType typ) { in conv() argument
68 if (typ == ReportTypeRace) in conv()
70 else if (typ == ReportTypeVptrRace) in conv()
72 else if (typ == ReportTypeUseAfterFree) in conv()
74 else if (typ == ReportTypeVptrUseAfterFree) in conv()
76 else if (typ == ReportTypeThreadLeak) in conv()
78 else if (typ == ReportTypeMutexDestroyLocked) in conv()
80 else if (typ == ReportTypeMutexDoubleLock) in conv()
82 else if (typ == ReportTypeMutexBadUnlock) in conv()
84 else if (typ == ReportTypeMutexBadReadLock) in conv()
[all …]
HDtsan_report.cc84 static const char *ReportTypeString(ReportType typ) { in ReportTypeString() argument
85 if (typ == ReportTypeRace) in ReportTypeString()
87 if (typ == ReportTypeVptrRace) in ReportTypeString()
89 if (typ == ReportTypeUseAfterFree) in ReportTypeString()
91 if (typ == ReportTypeVptrUseAfterFree) in ReportTypeString()
93 if (typ == ReportTypeThreadLeak) in ReportTypeString()
95 if (typ == ReportTypeMutexDestroyLocked) in ReportTypeString()
97 if (typ == ReportTypeMutexDoubleLock) in ReportTypeString()
99 if (typ == ReportTypeMutexBadUnlock) in ReportTypeString()
101 if (typ == ReportTypeMutexBadReadLock) in ReportTypeString()
[all …]
HDtsan_rtl_report.cc137 ScopedReport::ScopedReport(ReportType typ) { in ScopedReport() argument
141 rep_->typ = typ; in ScopedReport()
403 EventType typ = (EventType)(ev >> 61); in RestoreStack() local
405 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack()
406 if (typ == EventTypeMop) { in RestoreStack()
408 } else if (typ == EventTypeFuncEnter) { in RestoreStack()
410 } else if (typ == EventTypeFuncExit) { in RestoreStack()
415 if (typ == EventTypeLock) { in RestoreStack()
417 } else if (typ == EventTypeUnlock) { in RestoreStack()
419 } else if (typ == EventTypeRLock) { in RestoreStack()
[all …]
HDtsan_suppressions.h33 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
34 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
HDtsan_rtl.h516 explicit ScopedReport(ReportType typ);
565 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
567 thr->stat[typ] += n;
570 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) { in StatSet() argument
572 thr->stat[typ] = n; in StatSet()
734 EventType typ, u64 addr) { in TraceAddEvent() argument
737 DCHECK_GE((int)typ, 0); in TraceAddEvent()
738 DCHECK_LE((int)typ, 7); in TraceAddEvent()
751 Event ev = (u64)addr | ((u64)typ << 61); in TraceAddEvent()
/NextBSD/contrib/ncurses/form/
HDfld_def.c85 _nc_Make_Argument(const FIELDTYPE *typ, va_list *ap, int *err) in _nc_Make_Argument() argument
90 if (typ != 0 && (typ->status & _HAS_ARGS) != 0) in _nc_Make_Argument()
93 if ((typ->status & _LINKED_TYPE) != 0) in _nc_Make_Argument()
99 p->left = _nc_Make_Argument(typ->left, ap, err); in _nc_Make_Argument()
100 p->right = _nc_Make_Argument(typ->right, ap, err); in _nc_Make_Argument()
110 assert(typ->makearg != (void *)0); in _nc_Make_Argument()
111 if (!(res = (TypeArgument *)typ->makearg(ap))) in _nc_Make_Argument()
133 _nc_Copy_Argument(const FIELDTYPE *typ, const TypeArgument *argp, int *err) in _nc_Copy_Argument() 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()
[all …]
HDfld_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 …]
HDfld_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()
HDfrm_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 );\
HDfld_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()
HDfty_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()
HDfrm_driver.c1052 FIELDTYPE *typ, in Check_Char() argument
1056 if (typ) in Check_Char()
1058 if (typ->status & _LINKED_TYPE) in Check_Char()
1062 Check_Char(form, field, typ->left, ch, argp->left) || in Check_Char()
1063 Check_Char(form, field, typ->right, ch, argp->right)); in Check_Char()
1068 if (typ->charcheck.occheck) in Check_Char()
1070 if (typ->status & _GENERIC) in Check_Char()
1071 return typ->charcheck.gccheck(ch, form, field, (void *)argp); in Check_Char()
1073 return typ->charcheck.occheck(ch, (void *)argp); in Check_Char()
1076 if (typ->ccheck) in Check_Char()
[all …]
/NextBSD/sys/dev/mlx5/
HDdevice.h47 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
48 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
49 #define __mlx5_bit_off(typ, fld) __offsetof(struct mlx5_ifc_##typ##_bits, fld) argument
50 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
51 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
52 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
53 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
54 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
55 #define __mlx5_st_sz_bits(typ) sizeof(struct mlx5_ifc_##typ##_bits) argument
57 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) argument
[all …]
/NextBSD/contrib/ncurses/menu/
HDm_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);\
/NextBSD/sbin/launchd/init/
HDinit.c560 setupargv(sp, typ) in setupargv() argument
562 struct ttyent *typ;
566 if ( !setup_command(&sp->se_getty, typ->ty_getty, typ->ty_name) )
572 if (typ->ty_onerror
573 && !setup_command(&sp->se_onerror, typ->ty_onerror, typ->ty_name) )
579 if (typ->ty_onoption
580 && !setup_command(&sp->se_onoption, typ->ty_onoption, typ->ty_name) )
598 session_new(session_index, typ) in session_new() argument
600 struct ttyent *typ;
604 if ((typ->ty_status & TTY_ON) == 0 ||
[all …]
/NextBSD/sys/netinet/
HDip6.h307 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument
312 (val) = (typ)(mtod((m), caddr_t) + (off)); \
318 (val) = (typ)(mtod(t, caddr_t) + tmp); \
320 (val) = (typ)NULL; \
326 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \ argument
330 (val) = (typ)mtod(m, caddr_t); \
336 (val) = (typ)mtod(t, caddr_t); \
338 (val) = (typ)NULL; \
/NextBSD/usr.bin/xlint/lint1/
HDscan.l464 tspec_t typ; in icon() local
506 typ = contypes[u_suffix][l_suffix]; in icon()
525 switch (typ) { in icon()
530 typ = UINT; in icon()
533 typ = LONG; in icon()
536 typ = ULONG; in icon()
538 if (typ == UINT || typ == ULONG) { in icon()
540 typ = LONG; in icon()
552 typ = ULONG; in icon()
556 typ = ULONG; in icon()
[all …]
/NextBSD/sbin/init/
HDinit.c879 struct ttyent *typ; in single_user() local
910 typ = getttynam("console"); in single_user()
912 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user()
1252 new_session(session_t *sprev, struct ttyent *typ) in new_session() argument
1257 if ((typ->ty_status & TTY_ON) == 0 || in new_session()
1258 typ->ty_name == 0 || in new_session()
1259 typ->ty_getty == 0) in new_session()
1266 sp->se_device = malloc(sizeof(_PATH_DEV) + strlen(typ->ty_name)); in new_session()
1267 sprintf(sp->se_device, "%s%s", _PATH_DEV, typ->ty_name); in new_session()
1281 if (setupargv(sp, typ) == 0) { in new_session()
[all …]
/NextBSD/contrib/ntp/sntp/libopts/
HDconfigfile.c66 parse_keyword(tOptions * opts, char const * txt, tOptionValue * typ);
69 parse_set_mem(tOptions * opts, char const * txt, tOptionValue * typ);
72 parse_value(char const * txt, tOptionValue * typ);
1283 parse_keyword(tOptions * opts, char const * txt, tOptionValue * typ) in parse_keyword() argument
1286 (void)typ; in parse_keyword()
1302 parse_set_mem(tOptions * opts, char const * txt, tOptionValue * typ) in parse_set_mem() argument
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()
[all …]
/NextBSD/contrib/groff/src/roff/troff/
HDcolumn.cpp114 symbol typ; member in vjustify_output_line
126 return typ; in type()
224 : position_output_line(d), typ(t) in vjustify_output_line()
349 void column::vjustify(vunits pos, symbol typ) in vjustify() argument
352 add_output_line(new vjustify_output_line(pos - bottom, typ)); in vjustify()
653 symbol typ; member in vjustify_node
663 : typ(t) in vjustify_node()
669 return new vjustify_node(typ, div_nest_level); in copy()
679 return typ == ((vjustify_node *)nd)->typ; in same()
684 curdiv->vjustify(typ); in reread()
/NextBSD/crypto/openssl/crypto/asn1/
HDtasn_new.c311 ASN1_TYPE *typ; in ASN1_primitive_new() local
342 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
343 if (!typ) in ASN1_primitive_new()
345 typ->value.ptr = NULL; in ASN1_primitive_new()
346 typ->type = -1; in ASN1_primitive_new()
347 *pval = (ASN1_VALUE *)typ; in ASN1_primitive_new()
HDtasn_dec.c852 ASN1_TYPE *typ = NULL; in asn1_ex_c2i() local
863 typ = ASN1_TYPE_new(); in asn1_ex_c2i()
864 if (typ == NULL) in asn1_ex_c2i()
866 *pval = (ASN1_VALUE *)typ; in asn1_ex_c2i()
868 typ = (ASN1_TYPE *)*pval; in asn1_ex_c2i()
870 if (utype != typ->type) in asn1_ex_c2i()
871 ASN1_TYPE_set(typ, utype, NULL); in asn1_ex_c2i()
873 pval = &typ->value.asn1_value; in asn1_ex_c2i()
973 if (typ && (utype == V_ASN1_NULL)) in asn1_ex_c2i()
974 typ->value.ptr = NULL; in asn1_ex_c2i()
[all …]
HDtasn_fre.c208 ASN1_TYPE *typ = (ASN1_TYPE *)*pval; in ASN1_primitive_free() local
209 utype = typ->type; in ASN1_primitive_free()
210 pval = &typ->value.asn1_value; in ASN1_primitive_free()
/NextBSD/crypto/openssl/apps/
HDasn1pars.c296 int typ; in MAIN() local
314 typ = ASN1_TYPE_get(at); in MAIN()
315 if ((typ == V_ASN1_OBJECT) in MAIN()
316 || (typ == V_ASN1_BOOLEAN) in MAIN()
317 || (typ == V_ASN1_NULL)) { in MAIN()
318 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in MAIN()
/NextBSD/contrib/gdb/gdb/
HDjv-exp.y1221 struct type *typ = java_lookup_class (tmp); local
1222 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);
[all …]

123