Home
last modified time | relevance | path

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

/crypto/asn1/
A Dtasn_dec.cc618 int ret = 0, utype; in asn1_d2i_ex_primitive() local
631 utype = tag; in asn1_d2i_ex_primitive()
634 utype = it->utype; in asn1_d2i_ex_primitive()
637 if (utype == V_ASN1_ANY || utype == V_ASN1_ANY_AS_STRING) { in asn1_d2i_ex_primitive()
656 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
660 if (is_string && (utype == V_ASN1_OBJECT || utype == V_ASN1_NULL || in asn1_d2i_ex_primitive()
687 utype = V_ASN1_OTHER; in asn1_d2i_ex_primitive()
691 tag = utype; in asn1_d2i_ex_primitive()
705 if ((utype == V_ASN1_SEQUENCE) || (utype == V_ASN1_SET) || in asn1_d2i_ex_primitive()
775 switch (utype) { in asn1_ex_c2i()
[all …]
A Dtasn_enc.cc460 int utype = it->utype; in asn1_i2d_ex_primitive() local
477 utype != V_ASN1_SEQUENCE && utype != V_ASN1_SET && utype != V_ASN1_OTHER; in asn1_i2d_ex_primitive()
481 tag = utype; in asn1_i2d_ex_primitive()
525 int utype; in asn1_ex_i2c() local
550 if (utype < 0 && utype != V_ASN1_OTHER) { in asn1_ex_i2c()
562 *putype = utype; in asn1_ex_i2c()
567 utype = typ->type; in asn1_ex_i2c()
568 if (utype < 0 && utype != V_ASN1_OTHER) { in asn1_ex_i2c()
573 *putype = utype; in asn1_ex_i2c()
576 utype = *putype; in asn1_ex_i2c()
[all …]
A Dtasn_new.cc220 int utype; in ASN1_primitive_new() local
222 utype = -1; in ASN1_primitive_new()
224 utype = it->utype; in ASN1_primitive_new()
226 switch (utype) { in ASN1_primitive_new()
252 *pval = (ASN1_VALUE *)ASN1_STRING_type_new(utype); in ASN1_primitive_new()
262 int utype; in asn1_primitive_clear() local
267 utype = -1; in asn1_primitive_clear()
269 utype = it->utype; in asn1_primitive_clear()
271 if (utype == V_ASN1_BOOLEAN) { in asn1_primitive_clear()
A Dtasn_fre.cc134 int utype = it->itype == ASN1_ITYPE_MSTRING ? -1 : it->utype; in ASN1_primitive_free() local
135 switch (utype) { in ASN1_primitive_free()
A Dtasn_utl.cc37 int *sel = reinterpret_cast<int *>(offset2ptr(*pval, it->utype)); in asn1_get_choice_selector()
45 sel = reinterpret_cast<int *>(offset2ptr(*pval, it->utype)); in asn1_set_choice_selector()

Completed in 8 milliseconds