Lines Matching refs:elem
67 static int bitstr_cb(const char *elem, int len, void *bitstr);
68 static int asn1_cb(const char *elem, int len, void *bitstr);
240 static int asn1_cb(const char *elem, int len, void *bitstr) in asn1_cb() argument
250 if (elem == NULL) in asn1_cb()
253 for (i = 0, p = elem; i < len; p++, i++) { in asn1_cb()
257 vlen = len - (vstart - elem); in asn1_cb()
258 len = p - elem; in asn1_cb()
263 utype = asn1_str2tag(elem, len); in asn1_cb()
266 ERR_raise_data(ERR_LIB_ASN1, ASN1_R_UNKNOWN_TAG, "tag=%s", elem); in asn1_cb()
275 if (!vstart && elem[len]) { in asn1_cb()
746 static int bitstr_cb(const char *elem, int len, void *bitstr) in bitstr_cb() argument
750 if (!elem) in bitstr_cb()
752 bitnum = strtoul(elem, &eptr, 10); in bitstr_cb()
753 if (eptr && *eptr && (eptr != elem + len)) in bitstr_cb()
766 static int mask_cb(const char *elem, int len, void *arg) in mask_cb() argument
770 if (elem == NULL) in mask_cb()
772 if ((len == 3) && (strncmp(elem, "DIR", 3) == 0)) { in mask_cb()
776 tag = asn1_str2tag(elem, len); in mask_cb()