Lines Matching refs:format
60 int format; member
76 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype);
119 asn1_tags.format = ASN1_GEN_FORMAT_ASCII; in generate_v3()
138 ret = asn1_str2type(asn1_tags.str, asn1_tags.format, asn1_tags.utype); in generate_v3()
329 arg->format = ASN1_GEN_FORMAT_ASCII; in asn1_cb()
331 arg->format = ASN1_GEN_FORMAT_UTF8; in asn1_cb()
333 arg->format = ASN1_GEN_FORMAT_HEX; in asn1_cb()
335 arg->format = ASN1_GEN_FORMAT_BITLIST; in asn1_cb()
576 static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype) in asn1_str2type() argument
602 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
617 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
629 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
641 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
670 if (format == ASN1_GEN_FORMAT_ASCII) in asn1_str2type()
671 format = MBSTRING_ASC; in asn1_str2type()
672 else if (format == ASN1_GEN_FORMAT_UTF8) in asn1_str2type()
673 format = MBSTRING_UTF8; in asn1_str2type()
680 -1, format, ASN1_tag2bit(utype)) <= 0) { in asn1_str2type()
694 if (format == ASN1_GEN_FORMAT_HEX) { in asn1_str2type()
702 } else if (format == ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
707 } else if ((format == ASN1_GEN_FORMAT_BITLIST) in asn1_str2type()