Home
last modified time | relevance | path

Searched refs:itype (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_subr.c62 bhnd_nvram_type itype) in bhnd_nvram_value_check_aligned() argument
68 if (itype == BHND_NVRAM_TYPE_NULL) { in bhnd_nvram_value_check_aligned()
76 align = bhnd_nvram_type_host_align(itype); in bhnd_nvram_value_check_aligned()
82 width = bhnd_nvram_type_width(itype); in bhnd_nvram_value_check_aligned()
92 if (!bhnd_nvram_is_array_type(itype) && ilen != width) in bhnd_nvram_value_check_aligned()
116 bhnd_nvram_value_nelem(const void *inp, size_t ilen, bhnd_nvram_type itype, in bhnd_nvram_value_nelem() argument
124 if ((error = bhnd_nvram_value_check_aligned(inp, ilen, itype))) in bhnd_nvram_value_nelem()
127 switch (itype) { in bhnd_nvram_value_nelem()
190 size_t width = bhnd_nvram_type_width(itype); in bhnd_nvram_value_nelem()
210 if (ilen != bhnd_nvram_type_width(itype)) in bhnd_nvram_value_nelem()
[all …]
H A Dbhnd_nvram_value_fmts.c64 size_t ilen, bhnd_nvram_type itype);
71 size_t ilen, bhnd_nvram_type itype);
82 size_t ilen, bhnd_nvram_type itype);
97 size_t ilen, bhnd_nvram_type itype);
108 size_t ilen, bhnd_nvram_type itype);
234 size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_val_bcm_int_filter() argument
238 itype_base = bhnd_nvram_base_type(itype); in bhnd_nvram_val_bcm_int_filter()
281 bhnd_nvram_type itype; in bhnd_nvram_val_bcm_hex_encode_elem() local
285 itype = bhnd_nvram_val_elem_type(value); in bhnd_nvram_val_bcm_hex_encode_elem()
286 BHND_NV_ASSERT(bhnd_nvram_is_int_type(itype), ("invalid type")); in bhnd_nvram_val_bcm_hex_encode_elem()
[all …]
H A Dbhnd_nvram_value.c58 const void *inp, size_t ilen, bhnd_nvram_type itype);
61 bhnd_nvram_type itype, uint32_t flags);
63 size_t ilen, bhnd_nvram_type itype, uint32_t flags);
65 const void *inp, size_t ilen, bhnd_nvram_type itype);
68 bhnd_nvram_type itype, void *outp, size_t *olen,
71 bhnd_nvram_type itype, void *outp, size_t *olen,
74 bhnd_nvram_type itype, void *outp, size_t *olen,
77 bhnd_nvram_type itype, void *outp, size_t *olen,
80 bhnd_nvram_type itype, void *outp, size_t *olen,
230 size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_val_fmt_filter() argument
[all …]
H A Dbhnd_nvram_private.h216 size_t ilen, bhnd_nvram_type itype,
221 size_t ilen, bhnd_nvram_type itype);
224 size_t ilen, bhnd_nvram_type itype,
228 size_t ilen, bhnd_nvram_type itype,
233 bhnd_nvram_type itype, char *outp,
237 bhnd_nvram_type itype, char *outp,
241 size_t ilen, bhnd_nvram_type itype,
H A Dbhnd_nvram_plist.c280 const void *inp, size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_plist_replace_bytes() argument
285 if ((prop = bhnd_nvram_prop_bytes_new(name, inp, ilen, itype)) == NULL) in bhnd_nvram_plist_replace_bytes()
489 const void *inp, size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_plist_append_bytes() argument
494 if ((prop = bhnd_nvram_prop_bytes_new(name, inp, ilen, itype)) == NULL) in bhnd_nvram_plist_append_bytes()
823 bhnd_nvram_type itype) in bhnd_nvram_prop_bytes_new() argument
830 error = bhnd_nvram_val_new(&val, NULL, inp, ilen, itype, in bhnd_nvram_prop_bytes_new()
H A Dbhnd_nvram_plist.h64 bhnd_nvram_type itype);
74 bhnd_nvram_type itype);
113 bhnd_nvram_type itype);
H A Dbhnd_nvram_value.h56 bhnd_nvram_type itype, uint32_t flags);
66 bhnd_nvram_type itype, uint32_t flags);
H A Dbhnd_nvram_data_sprom.c406 bhnd_nvram_type itype, var_base_type; in bhnd_nvram_sprom_write_var() local
426 itype = BHND_NVRAM_TYPE_INT32_ARRAY; in bhnd_nvram_sprom_write_var()
428 itype = BHND_NVRAM_TYPE_UINT32_ARRAY; in bhnd_nvram_sprom_write_var()
431 if ((ilen = bhnd_nvram_value_size(NULL, 0, itype, nelem)) == 0) { in bhnd_nvram_sprom_write_var()
490 u32, &ilen, itype); in bhnd_nvram_sprom_write_var()
499 bhnd_nvram_type_name(itype), error); in bhnd_nvram_sprom_write_var()
504 error = bhnd_nvram_value_nelem(u32, ilen, itype, &enc_nelem); in bhnd_nvram_sprom_write_var()
H A Dbhnd_nvram_store.h84 const void *inp, size_t ilen, bhnd_nvram_type itype);
H A Dbhnd_nvram_valuevar.h64 const void *inp, size_t ilen, bhnd_nvram_type itype);
/freebsd/crypto/openssl/crypto/asn1/
H A Da_int.c327 static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype) in asn1_string_get_int64() argument
333 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_int64()
340 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64() argument
345 a->type = itype; in asn1_string_set_int64()
362 int itype) in asn1_string_get_uint64() argument
368 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_uint64()
379 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64() argument
384 a->type = itype; in asn1_string_set_uint64()
506 int itype) in asn1_string_to_bn() argument
510 if ((ai->type & ~V_ASN1_NEG) != itype) { in asn1_string_to_bn()
H A Da_dup.c65 if (it->itype == ASN1_ITYPE_SEQUENCE || it->itype == ASN1_ITYPE_CHOICE in ASN1_item_dup()
66 || it->itype == ASN1_ITYPE_NDEF_SEQUENCE) { in ASN1_item_dup()
H A Dtasn_new.c74 switch (it->itype) { in asn1_item_embed_new()
178 switch (it->itype) { in asn1_item_clear()
283 if (it->itype == ASN1_ITYPE_MSTRING) in asn1_primitive_new()
320 if (it->itype == ASN1_ITYPE_MSTRING && str) in asn1_primitive_new()
340 if (!it || (it->itype == ASN1_ITYPE_MSTRING)) in asn1_primitive_clear()
H A Dtasn_fre.c38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ossl_asn1_item_embed_free()
45 switch (it->itype) { in ossl_asn1_item_embed_free()
177 } else if (it->itype == ASN1_ITYPE_MSTRING) { in ossl_asn1_primitive_free()
H A Dtasn_prn.c154 if (((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_item_print_ctx()
165 switch (it->itype) { in asn1_item_print_ctx()
257 BIO_printf(out, "Unprocessed type %d\n", it->itype); in asn1_item_print_ctx()
448 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_primitive_print()
H A Dtasn_enc.c92 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ASN1_item_ex_i2d()
100 switch (it->itype) { in ASN1_item_ex_i2d()
544 if ((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_ex_i2c()
550 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_ex_i2c()
H A Dtasn_utl.c75 if ((it->itype != ASN1_ITYPE_SEQUENCE) in ossl_asn1_do_lock()
76 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE)) in ossl_asn1_do_lock()
/freebsd/contrib/smbfs/smbutil/
H A Ddumptree.c110 int *itype; in cmd_dumptree() local
124 itype = p; in cmd_dumptree()
125 if (*itype == SMB_INFO_NONE) in cmd_dumptree()
127 switch (*itype) { in cmd_dumptree()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsLoongArch.td19 class MaskedAtomicRMW<LLVMType itype>
20 : Intrinsic<[itype], [llvm_anyptr_ty, itype, itype, itype],
/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c322 int itype, iq_avail, navail, rc; in cfg_itype_and_nqueues() local
332 for (itype = INTR_MSIX; itype != 0; itype >>= 1) { in cfg_itype_and_nqueues()
333 if (itype == INTR_INTX) in cfg_itype_and_nqueues()
336 if (itype == INTR_MSIX) in cfg_itype_and_nqueues()
344 iaq->intr_type = itype; in cfg_itype_and_nqueues()
439 (itype != INTR_MSI || powerof2(iaq->nirq))) { in cfg_itype_and_nqueues()
441 if (itype == INTR_MSIX) in cfg_itype_and_nqueues()
448 itype, rc, iaq->nirq, navail); in cfg_itype_and_nqueues()
460 if (itype == INTR_MSIX) in cfg_itype_and_nqueues()
467 itype, rc, iaq->nirq, navail); in cfg_itype_and_nqueues()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp87 static uint32_t itype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t imm) { in itype() function
237 write32le(buf + 8, itype(load, X_T3, X_T2, lo12(offset))); in writePltHeader()
238 write32le(buf + 12, itype(ADDI, X_T1, X_T1, -target->pltHeaderSize - 12)); in writePltHeader()
239 write32le(buf + 16, itype(ADDI, X_T0, X_T2, lo12(offset))); in writePltHeader()
240 write32le(buf + 20, itype(SRLI, X_T1, X_T1, config->is64 ? 1 : 2)); in writePltHeader()
241 write32le(buf + 24, itype(load, X_T0, X_T0, config->wordsize)); in writePltHeader()
242 write32le(buf + 28, itype(JALR, 0, X_T3, 0)); in writePltHeader()
253 write32le(buf + 4, itype(config->is64 ? LD : LW, X_T3, X_T3, lo12(offset))); in writePlt()
254 write32le(buf + 8, itype(JALR, X_T1, X_T3, 0)); in writePlt()
255 write32le(buf + 12, itype(ADDI, 0, 0, 0)); in writePlt()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dgen_template.c489 char *itype = NULL; in template_members()
492 itype = "IMEMBER"; in template_members()
494 itype = "HEIM_INTEGER"; in template_members()
496 itype = "INTEGER64"; in template_members()
498 itype = "UNSIGNED64"; in template_members()
500 itype = "INTEGER"; in template_members()
502 itype = "UNSIGNED"; in template_members()
507 add_line(temp, "{ A1_PARSE_T(A1T_%s), %s, NULL }", itype, poffset); in template_members()
487 char *itype = NULL; template_members() local
/freebsd/sys/netsmb/
H A Dsmb_conn.c708 vip->itype = SMB_INFO_VC; in smb_vc_getinfo()
905 sip->itype = SMB_INFO_SHARE; in smb_share_getinfo()
928 int error, itype; in smb_sysctl_treedump() local
965 itype = SMB_INFO_NONE; in smb_sysctl_treedump()
966 error = SYSCTL_OUT(req, &itype, sizeof(itype)); in smb_sysctl_treedump()
H A Dsmb_conn.h133 int itype; member
146 int itype; member
/freebsd/crypto/openssl/test/
H A Dendecode_test.c588 int itype = NID_undef; in check_params_DER() local
592 itype = EVP_PKEY_DH; in check_params_DER()
594 itype = EVP_PKEY_DHX; in check_params_DER()
596 itype = EVP_PKEY_DSA; in check_params_DER()
598 itype = EVP_PKEY_EC; in check_params_DER()
600 if (itype != NID_undef) { in check_params_DER()
601 pkey = d2i_KeyParams(itype, NULL, &datap, data_len); in check_params_DER()

12