Home
last modified time | relevance | path

Searched refs:utype (Results 1 – 25 of 28) sorted by relevance

12

/external/cronet/third_party/boringssl/src/crypto/asn1/
Dtasn_enc.c504 int utype = it->utype; in asn1_i2d_ex_primitive() local
505 int len = asn1_ex_i2c(pval, NULL, &omit, &utype, it); in asn1_i2d_ex_primitive()
521 utype != V_ASN1_SEQUENCE && utype != V_ASN1_SET && utype != V_ASN1_OTHER; in asn1_i2d_ex_primitive()
525 tag = utype; in asn1_i2d_ex_primitive()
533 int len2 = asn1_ex_i2c(pval, *out, &omit, &utype, it); in asn1_i2d_ex_primitive()
569 int utype; in asn1_ex_i2c() local
581 if ((it->itype != ASN1_ITYPE_PRIMITIVE) || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c()
591 utype = strtmp->type; in asn1_ex_i2c()
592 if (utype < 0 && utype != V_ASN1_OTHER) { in asn1_ex_i2c()
606 if (utype == V_ASN1_NEG_INTEGER) { in asn1_ex_i2c()
[all …]
Dtasn_dec.c89 int utype, const ASN1_ITEM *it);
269 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_ex_d2i()
662 int ret = 0, utype; in asn1_d2i_ex_primitive() local
674 utype = tag; in asn1_d2i_ex_primitive()
677 utype = it->utype; in asn1_d2i_ex_primitive()
680 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive()
692 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, &p, inlen, -1, 0, 0); in asn1_d2i_ex_primitive()
697 if (!is_supported_universal_type(utype, oclass)) { in asn1_d2i_ex_primitive()
698 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
702 tag = utype; in asn1_d2i_ex_primitive()
[all …]
Dtasn_new.c271 int utype; in ASN1_primitive_new() local
273 utype = -1; in ASN1_primitive_new()
275 utype = it->utype; in ASN1_primitive_new()
277 switch (utype) { in ASN1_primitive_new()
302 *pval = (ASN1_VALUE *)ASN1_STRING_type_new(utype); in ASN1_primitive_new()
312 int utype; in asn1_primitive_clear() local
317 utype = -1; in asn1_primitive_clear()
319 utype = it->utype; in asn1_primitive_clear()
321 if (utype == V_ASN1_BOOLEAN) { in asn1_primitive_clear()
Dtasn_fre.c182 int utype = it->itype == ASN1_ITYPE_MSTRING ? -1 : it->utype; in ASN1_primitive_free() local
183 switch (utype) { in ASN1_primitive_free()
Dtasn_utl.c80 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
88 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
/external/boringssl/src/crypto/asn1/
Dtasn_enc.c504 int utype = it->utype; in asn1_i2d_ex_primitive() local
505 int len = asn1_ex_i2c(pval, NULL, &omit, &utype, it); in asn1_i2d_ex_primitive()
521 utype != V_ASN1_SEQUENCE && utype != V_ASN1_SET && utype != V_ASN1_OTHER; in asn1_i2d_ex_primitive()
525 tag = utype; in asn1_i2d_ex_primitive()
533 int len2 = asn1_ex_i2c(pval, *out, &omit, &utype, it); in asn1_i2d_ex_primitive()
569 int utype; in asn1_ex_i2c() local
581 if ((it->itype != ASN1_ITYPE_PRIMITIVE) || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c()
591 utype = strtmp->type; in asn1_ex_i2c()
592 if (utype < 0 && utype != V_ASN1_OTHER) { in asn1_ex_i2c()
606 if (utype == V_ASN1_NEG_INTEGER) { in asn1_ex_i2c()
[all …]
Dtasn_dec.c89 int utype, const ASN1_ITEM *it);
269 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_ex_d2i()
662 int ret = 0, utype; in asn1_d2i_ex_primitive() local
674 utype = tag; in asn1_d2i_ex_primitive()
677 utype = it->utype; in asn1_d2i_ex_primitive()
680 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive()
692 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, &p, inlen, -1, 0, 0); in asn1_d2i_ex_primitive()
697 if (!is_supported_universal_type(utype, oclass)) { in asn1_d2i_ex_primitive()
698 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
702 tag = utype; in asn1_d2i_ex_primitive()
[all …]
Dtasn_new.c271 int utype; in ASN1_primitive_new() local
273 utype = -1; in ASN1_primitive_new()
275 utype = it->utype; in ASN1_primitive_new()
277 switch (utype) { in ASN1_primitive_new()
302 *pval = (ASN1_VALUE *)ASN1_STRING_type_new(utype); in ASN1_primitive_new()
312 int utype; in asn1_primitive_clear() local
317 utype = -1; in asn1_primitive_clear()
319 utype = it->utype; in asn1_primitive_clear()
321 if (utype == V_ASN1_BOOLEAN) { in asn1_primitive_clear()
Dtasn_fre.c182 int utype = it->itype == ASN1_ITYPE_MSTRING ? -1 : it->utype; in ASN1_primitive_free() local
183 switch (utype) { in ASN1_primitive_free()
Dtasn_utl.c80 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
88 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Dtasn_enc.c456 int utype; in asn1_i2d_ex_primitive() local
459 utype = it->utype; in asn1_i2d_ex_primitive()
465 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive()
472 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive()
473 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive()
485 tag = utype; in asn1_i2d_ex_primitive()
491 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive()
508 int utype; in asn1_ex_i2c() local
519 || (it->utype != V_ASN1_BOOLEAN)) { in asn1_ex_i2c()
527 utype = strtmp->type; in asn1_ex_i2c()
[all …]
Dtasn_new.c274 int utype; in ASN1_primitive_new() local
284 utype = -1; in ASN1_primitive_new()
286 utype = it->utype; in ASN1_primitive_new()
287 switch (utype) { in ASN1_primitive_new()
310 *pval = (ASN1_VALUE *)ASN1_STRING_type_new(utype); in ASN1_primitive_new()
320 int utype; in asn1_primitive_clear() local
325 utype = -1; in asn1_primitive_clear()
327 utype = it->utype; in asn1_primitive_clear()
328 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
Dtasn_dec.c100 int utype, char *free_cont, const ASN1_ITEM *it);
253 if (!(ASN1_tag2bit(otag) & it->utype)) { in asn1_item_ex_d2i()
686 int ret = 0, utype; in asn1_d2i_ex_primitive() local
699 utype = tag; in asn1_d2i_ex_primitive()
702 utype = it->utype; in asn1_d2i_ex_primitive()
704 if (utype == V_ASN1_ANY) { in asn1_d2i_ex_primitive()
716 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive()
723 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
726 tag = utype; in asn1_d2i_ex_primitive()
740 if ((utype == V_ASN1_SEQUENCE) in asn1_d2i_ex_primitive()
[all …]
Dtasn_fre.c186 int utype; in ASN1_primitive_free() local
193 utype = typ->type; in ASN1_primitive_free()
195 if (utype != V_ASN1_BOOLEAN && !*pval) in ASN1_primitive_free()
198 utype = -1; in ASN1_primitive_free()
202 utype = it->utype; in ASN1_primitive_free()
203 if ((utype != V_ASN1_BOOLEAN) && !*pval) in ASN1_primitive_free()
207 switch (utype) { in ASN1_primitive_free()
Dtasn_utl.c79 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
87 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dasn1_gen.c119 int utype; member
134 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf,
136 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
186 if ((asn1_tags.utype == V_ASN1_SEQUENCE) in generate_v3()
187 || (asn1_tags.utype == V_ASN1_SET)) { in generate_v3()
196 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3()
198 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3()
307 int utype; in asn1_cb() local
326 utype = asn1_str2tag(elem, len); in asn1_cb()
328 if (utype == -1) { in asn1_cb()
[all …]
/external/strace/
Dmsghdr.c239 const unsigned int utype = cmsg_type; in print_cmsg_type_data() local
243 if (utype < ARRAY_SIZE(cmsg_socket_printers) in print_cmsg_type_data()
244 && cmsg_socket_printers[utype].printer in print_cmsg_type_data()
245 && data_len >= cmsg_socket_printers[utype].min_len) { in print_cmsg_type_data()
247 cmsg_socket_printers[utype].printer(tcp, cmsg_data, data_len); in print_cmsg_type_data()
252 if (utype < ARRAY_SIZE(cmsg_ip_printers) in print_cmsg_type_data()
253 && cmsg_ip_printers[utype].printer in print_cmsg_type_data()
254 && data_len >= cmsg_ip_printers[utype].min_len) { in print_cmsg_type_data()
256 cmsg_ip_printers[utype].printer(tcp, cmsg_data, data_len); in print_cmsg_type_data()
/external/libabigail/src/
Dabg-ctf-reader.cc356 type_base_sptr utype = lookup_type(ctxt, corp, tunit, in process_ctf_typedef() local
359 if (!utype) in process_ctf_typedef()
367 result.reset(new typedef_decl(typedef_name, utype, location(), in process_ctf_typedef()
373 if (is_anonymous_type(utype) in process_ctf_typedef()
374 && (is_enum_type(utype) || is_class_or_union_type(utype))) in process_ctf_typedef()
376 decl_base_sptr decl = is_decl(utype); in process_ctf_typedef()
912 type_base_sptr utype = lookup_type(ctxt, corp, tunit, in process_ctf_qualified_type() local
914 if (!utype) in process_ctf_qualified_type()
933 if (is_function_type(utype)) in process_ctf_qualified_type()
936 result.reset(new qualified_type_def(utype, qualifiers, location())); in process_ctf_qualified_type()
[all …]
Dabg-dwarf-reader.cc12878 type_base_sptr utype = is_type(utype_decl); in build_qualified_type() local
12879 ABG_ASSERT(utype); in build_qualified_type()
12892 result.reset(new qualified_type_def(utype, qual, location())); in build_qualified_type()
13091 type_base_sptr utype = is_type(utype_decl); in build_pointer_type_def() local
13092 ABG_ASSERT(utype); in build_pointer_type_def()
13107 result.reset(new pointer_type_def(utype, size, /*alignment=*/0, location())); in build_pointer_type_def()
13167 type_base_sptr utype = is_type(utype_decl); in build_reference_type() local
13168 ABG_ASSERT(utype); in build_reference_type()
13183 result.reset(new reference_type_def(utype, is_lvalue, size, in build_reference_type()
13700 type_base_sptr utype; in build_typedef_type() local
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Denum_macros.tmpl104 using utype = std::underlying_type<{{enum_name}}>::type;
105 return DefaultHash<utype>::Hash().GetHash(static_cast<utype>(value));
/external/flatbuffers/src/
Dreflection.cpp62 uint8_t utype, const uint8_t *elem, in VerifyUnion() argument
64 if (!utype) return true; // Not present. in VerifyUnion()
66 if (utype >= fb_enum->values()->size()) return false; in VerifyUnion()
67 auto elem_type = fb_enum->values()->Get(utype)->union_type(); in VerifyUnion()
152 auto utype = type_vec->Get(j); in VerifyVector() local
154 if (!VerifyUnion(v, schema, utype, elem, vec_field)) return false; in VerifyVector()
239 auto utype = table->GetField<uint8_t>(utype_offset, 0); in VerifyObject() local
242 if (!VerifyUnion(v, schema, utype, uval, *field_def)) { return false; } in VerifyObject()
/external/libabigail/tests/data/test-read-ctf/
Dtest-forward-undefine-type-decl.c9 union key_utype *utype);
/external/ComputeLibrary/src/graph/mutators/
DSyntheticDataTypeMutator.cpp70 for(const auto &utype : unsupported_node_types) in is_mutation_supported() local
72 if(!g.nodes(utype).empty()) in is_mutation_supported()
/external/cronet/third_party/boringssl/src/include/openssl/
Dasn1t.h443 int utype; /* underlying type */ member
/external/boringssl/src/include/openssl/
Dasn1t.h443 int utype; /* underlying type */ member

12