Home
last modified time | relevance | path

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

/external/openssl/crypto/asn1/
Dasn1_gen.c109 int utype; member
120 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf);
121 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
159 if ((asn1_tags.utype == V_ASN1_SEQUENCE) || (asn1_tags.utype == V_ASN1_SET)) in ASN1_generate_v3()
166 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf); in ASN1_generate_v3()
169 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in ASN1_generate_v3()
281 int utype; in asn1_cb() local
299 utype = asn1_str2tag(elem, len); in asn1_cb()
301 if (utype == -1) in asn1_cb()
309 if (!(utype & ASN1_GEN_FLAG)) in asn1_cb()
[all …]
Dtasn_enc.c513 int utype; in asn1_i2d_ex_primitive() local
517 utype = it->utype; in asn1_i2d_ex_primitive()
523 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive()
531 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive()
532 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive()
549 if (tag == -1) tag = utype; in asn1_i2d_ex_primitive()
556 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive()
576 int utype; in asn1_ex_i2c() local
587 || (it->utype != V_ASN1_BOOLEAN)) in asn1_ex_i2c()
596 utype = strtmp->type; in asn1_ex_i2c()
[all …]
Dtasn_new.c329 int utype; in ASN1_primitive_new() local
339 utype = -1; in ASN1_primitive_new()
341 utype = it->utype; in ASN1_primitive_new()
342 switch(utype) in ASN1_primitive_new()
366 str = ASN1_STRING_type_new(utype); in ASN1_primitive_new()
379 int utype; in asn1_primitive_clear() local
390 utype = -1; in asn1_primitive_clear()
392 utype = it->utype; in asn1_primitive_clear()
393 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
Dtasn_dec.c224 if (!(ASN1_tag2bit(otag) & it->utype)) in ASN1_item_ex_d2i()
252 exptag = it->utype; in ASN1_item_ex_d2i()
295 | it->utype); in ASN1_item_ex_d2i()
771 int ret = 0, utype; in asn1_d2i_ex_primitive() local
786 utype = tag; in asn1_d2i_ex_primitive()
790 utype = it->utype; in asn1_d2i_ex_primitive()
792 if (utype == V_ASN1_ANY) in asn1_d2i_ex_primitive()
809 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive()
818 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
822 tag = utype; in asn1_d2i_ex_primitive()
[all …]
Dtasn_fre.c206 int utype; in ASN1_primitive_free() local
221 utype = typ->type; in ASN1_primitive_free()
228 utype = -1; in ASN1_primitive_free()
234 utype = it->utype; in ASN1_primitive_free()
235 if ((utype != V_ASN1_BOOLEAN) && !*pval) in ASN1_primitive_free()
239 switch(utype) in ASN1_primitive_free()
Dtasn_prn.c524 long utype; in asn1_primitive_print() local
536 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print()
538 utype = it->utype; in asn1_primitive_print()
539 if (utype == V_ASN1_ANY) in asn1_primitive_print()
542 utype = atype->type; in asn1_primitive_print()
548 pname = ASN1_tag2str(utype); in asn1_primitive_print()
553 pname = ASN1_tag2str(utype); in asn1_primitive_print()
558 if (utype == V_ASN1_NULL) in asn1_primitive_print()
573 switch (utype) in asn1_primitive_print()
Dx_bignum.c76 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont…
127 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument
Dx_long.c73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co…
143 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
Dtasn_utl.c78 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
89 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
Dasn1t.h570 long utype; /* underlying type */ member
671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch…
941 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, …
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dasn1_gen.c112 int utype; member
123 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf);
124 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
162 if ((asn1_tags.utype == V_ASN1_SEQUENCE) || (asn1_tags.utype == V_ASN1_SET)) in ASN1_generate_v3()
169 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf); in ASN1_generate_v3()
172 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in ASN1_generate_v3()
284 int utype; in asn1_cb() local
302 utype = asn1_str2tag(elem, len); in asn1_cb()
304 if (utype == -1) in asn1_cb()
312 if (!(utype & ASN1_GEN_FLAG)) in asn1_cb()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
Dtasn_enc.c510 int utype; in asn1_i2d_ex_primitive() local
514 utype = it->utype; in asn1_i2d_ex_primitive()
520 len = asn1_ex_i2c(pval, NULL, &utype, it); in asn1_i2d_ex_primitive()
528 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_i2d_ex_primitive()
529 (utype == V_ASN1_OTHER)) in asn1_i2d_ex_primitive()
546 if (tag == -1) tag = utype; in asn1_i2d_ex_primitive()
553 asn1_ex_i2c(pval, *out, &utype, it); in asn1_i2d_ex_primitive()
573 int utype; in asn1_ex_i2c() local
584 || (it->utype != V_ASN1_BOOLEAN)) in asn1_ex_i2c()
593 utype = strtmp->type; in asn1_ex_i2c()
[all …]
Dtasn_new.c327 int utype; in ASN1_primitive_new() local
337 utype = -1; in ASN1_primitive_new()
339 utype = it->utype; in ASN1_primitive_new()
340 switch(utype) in ASN1_primitive_new()
364 str = ASN1_STRING_type_new(utype); in ASN1_primitive_new()
377 int utype; in asn1_primitive_clear() local
388 utype = -1; in asn1_primitive_clear()
390 utype = it->utype; in asn1_primitive_clear()
391 if (utype == V_ASN1_BOOLEAN) in asn1_primitive_clear()
Dtasn_dec.c218 if (!(ASN1_tag2bit(otag) & it->utype)) in ASN1_item_ex_d2i()
245 exptag = it->utype; in ASN1_item_ex_d2i()
286 | it->utype); in ASN1_item_ex_d2i()
741 int ret = 0, utype; in asn1_d2i_ex_primitive() local
756 utype = tag; in asn1_d2i_ex_primitive()
760 utype = it->utype; in asn1_d2i_ex_primitive()
762 if (utype == V_ASN1_ANY) in asn1_d2i_ex_primitive()
777 ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL, in asn1_d2i_ex_primitive()
785 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
789 tag = utype; in asn1_d2i_ex_primitive()
[all …]
Dtasn_fre.c204 int utype; in ASN1_primitive_free() local
219 utype = typ->type; in ASN1_primitive_free()
226 utype = -1; in ASN1_primitive_free()
232 utype = it->utype; in ASN1_primitive_free()
233 if ((utype != V_ASN1_BOOLEAN) && !*pval) in ASN1_primitive_free()
237 switch(utype) in ASN1_primitive_free()
Dtasn_prn.c536 long utype; in asn1_primitive_print() local
548 utype = str->type & ~V_ASN1_NEG; in asn1_primitive_print()
550 utype = it->utype; in asn1_primitive_print()
551 if (utype == V_ASN1_ANY) in asn1_primitive_print()
554 utype = atype->type; in asn1_primitive_print()
560 pname = ASN1_tag2str(utype); in asn1_primitive_print()
565 pname = ASN1_tag2str(utype); in asn1_primitive_print()
570 if (utype == V_ASN1_NULL) in asn1_primitive_print()
585 switch (utype) in asn1_primitive_print()
Dx_bignum.c75 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont…
126 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument
Dx_long.c74 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co…
144 int utype, char *free_cont, const ASN1_ITEM *it) in long_c2i() argument
Dtasn_utl.c72 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector()
80 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dasn1t.h517 long utype; /* underlying type */ member
618 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch…
888 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, …
/external/openssl/include/openssl/
Dasn1t.h570 long utype; /* underlying type */ member
671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch…
941 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, …
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxevents.c317 switch (event.update.utype) { in NX_PumpEvents()