Lines Matching refs:vstart
132 static int parse_tagging(const char *vstart, int vlen, int *ptag,
309 const char *p, *vstart = NULL; in asn1_cb() local
319 vstart = p + 1; in asn1_cb()
320 vlen = len - (vstart - elem); in asn1_cb()
337 arg->str = vstart; in asn1_cb()
339 if (!vstart && elem[len]) { in asn1_cb()
354 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb()
360 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb()
387 if (!vstart) { in asn1_cb()
391 if (!strncmp(vstart, "ASCII", 5)) in asn1_cb()
393 else if (!strncmp(vstart, "UTF8", 4)) in asn1_cb()
395 else if (!strncmp(vstart, "HEX", 3)) in asn1_cb()
397 else if (!strncmp(vstart, "BITLIST", 7)) in asn1_cb()
411 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
416 if (!vstart) in parse_tagging()
418 tag_num = strtoul(vstart, &eptr, 10); in parse_tagging()
420 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging()
429 vlen -= eptr - vstart; in parse_tagging()