Lines Matching refs:vstart
72 static int parse_tagging(const char *vstart, int vlen, int *ptag,
247 const char *p, *vstart = NULL; in asn1_cb() local
257 vstart = p + 1; in asn1_cb()
258 vlen = len - (vstart - elem); in asn1_cb()
274 arg->str = vstart; in asn1_cb()
276 if (!vstart && elem[len]) { in asn1_cb()
291 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb()
297 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class)) in asn1_cb()
324 if (!vstart) { in asn1_cb()
328 if (HAS_PREFIX(vstart, "ASCII")) in asn1_cb()
330 else if (HAS_PREFIX(vstart, "UTF8")) in asn1_cb()
332 else if (HAS_PREFIX(vstart, "HEX")) in asn1_cb()
334 else if (HAS_PREFIX(vstart, "BITLIST")) in asn1_cb()
348 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) in parse_tagging() argument
352 if (!vstart) in parse_tagging()
354 tag_num = strtoul(vstart, &eptr, 10); in parse_tagging()
356 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging()
365 vlen -= eptr - vstart; in parse_tagging()