| /freebsd-12-stable/sys/dev/mlx5/ |
| D | device.h | 49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument 50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument 51 #define __mlx5_bit_off(typ, fld) __offsetof(struct mlx5_ifc_##typ##_bits, 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 57 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument 58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument [all …]
|
| /freebsd-12-stable/contrib/ncurses/form/ |
| D | fld_def.c | 85 _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 …]
|
| D | fld_newftyp.c | 119 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 …]
|
| D | fld_ftchoice.c | 50 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()
|
| D | frm_hook.c | 38 #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 );\
|
| D | fld_arg.c | 64 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()
|
| D | fty_generic.c | 160 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()
|
| D | frm_driver.c | 1052 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 …]
|
| /freebsd-12-stable/contrib/ncurses/menu/ |
| D | m_hook.c | 43 #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-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| D | tsan_rtl_report.cpp | 128 bool ShouldReport(ThreadState *thr, ReportType typ) { in ShouldReport() argument 138 switch (typ) { in ShouldReport() 156 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument 160 rep_->typ = typ; in ScopedReportBase() 385 ScopedReport::ScopedReport(ReportType typ, uptr tag) in ScopedReport() argument 386 : ScopedReportBase(typ, tag) {} in ScopedReport() 419 EventType typ = (EventType)(ev >> kEventPCBits); in RestoreStack() local 421 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack() 422 if (typ == EventTypeMop) { in RestoreStack() 424 } else if (typ == EventTypeFuncEnter) { in RestoreStack() [all …]
|
| D | tsan_suppressions.cpp | 67 static const char *conv(ReportType typ) { in conv() argument 68 switch (typ) { in conv() 106 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument 111 const char *stype = conv(typ); in IsSuppressed() 125 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument 130 const char *stype = conv(typ); in IsSuppressed()
|
| D | tsan_report.cpp | 78 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument 79 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() 461 if (rep->typ == ReportTypeRace) { in PrintReport() 469 } else if (rep->typ == ReportTypeDeadlock) { in PrintReport()
|
| D | tsan_suppressions.h | 32 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp); 33 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
|
| D | tsan_debugging.cpp | 21 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument 22 switch (typ) { in ReportTypeDescription() 43 static const char *ReportLocationTypeDescription(ReportLocationType typ) { in ReportLocationTypeDescription() argument 44 switch (typ) { in ReportLocationTypeDescription() 78 *description = ReportTypeDescription(rep->typ); in __tsan_get_report_data()
|
| /freebsd-12-stable/sys/netinet/ |
| D | ip6.h | 310 #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-stable/sbin/init/ |
| D | init.c | 869 struct ttyent *typ; in single_user() local 907 typ = getttynam("console"); in single_user() 909 if (typ && (typ->ty_status & TTY_SECURE) == 0 && in single_user() 1299 new_session(session_t *sprev, struct ttyent *typ) in new_session() argument 1303 if ((typ->ty_status & TTY_ON) == 0 || in new_session() 1304 typ->ty_name == 0 || in new_session() 1305 typ->ty_getty == 0) in new_session() 1312 if ((typ->ty_status & TTY_IFEXISTS) != 0) in new_session() 1315 if ((typ->ty_status & TTY_IFCONSOLE) != 0) in new_session() 1318 if (asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name) < 0) in new_session() [all …]
|
| /freebsd-12-stable/contrib/libarchive/libarchive/ |
| D | archive_write_set_format_warc.c | 57 mode_t typ; member 143 w->typ = 0; in archive_write_set_format_warc() 227 w->typ = archive_entry_filetype(entry); in _warc_header() 229 if (w->typ == AE_IFREG) { in _warc_header() 273 if (w->typ == AE_IFREG) { in _warc_data() 296 if (w->typ == AE_IFREG) { in _warc_finish_entry() 304 w->typ = 0; in _warc_finish_entry()
|
| /freebsd-12-stable/contrib/ntp/sntp/libopts/ |
| D | configfile.c | 1239 parse_keyword(tOptions * opts, char const * txt, tOptionValue * typ) in parse_keyword() argument 1242 (void)typ; in parse_keyword() 1258 parse_set_mem(tOptions * opts, char const * txt, tOptionValue * typ) in parse_set_mem() argument 1261 (void)typ; in parse_set_mem() 1275 parse_value(char const * txt, tOptionValue * typ) in parse_value() argument 1286 typ->valType = OPARG_TYPE_NONE; in parse_value() 1301 typ->valType = OPARG_TYPE_STRING; in parse_value() 1305 typ->valType = OPARG_TYPE_NUMERIC; in parse_value() 1310 typ->valType = OPARG_TYPE_BOOLEAN; in parse_value() 1314 typ->valType = OPARG_TYPE_ENUMERATION; in parse_value() [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/asn1/ |
| D | tasn_new.c | 265 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()
|
| D | tasn_dec.c | 798 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 …]
|
| D | tasn_fre.c | 167 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-stable/sys/dev/mlx5/mlx5_core/ |
| D | mlx5_qp.c | 211 #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-stable/crypto/openssl/apps/ |
| D | asn1pars.c | 227 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-stable/contrib/gdb/gdb/ |
| D | jv-exp.y | 1221 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 …]
|
| /freebsd-12-stable/sys/i386/include/ |
| D | md_var.h | 78 void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int selec); 79 void setidt_nodisp(int idx, uintptr_t func, int typ, int dpl, int selec);
|