• Home
  • Raw
  • Download

Lines Matching refs:tag

694 	uint8_t		tag;  member
866 element->tag = token_to_tag[cursor->token_type]; in parse_type()
904 element->tag &= ~0x1f; in parse_type()
905 element->tag |= strtoul(cursor->content, &p, 10); in parse_type()
946 element->tag = token_to_tag[cursor->token_type]; in parse_type()
1216 char tag[32]; in dump_element() local
1218 if (e->class == 0 && e->method == 0 && e->tag == 0) in dump_element()
1219 strcpy(tag, "<...>"); in dump_element()
1221 sprintf(tag, "%s %s %s", in dump_element()
1224 asn1_universal_tags[e->tag]); in dump_element()
1226 sprintf(tag, "%s %s %u", in dump_element()
1229 e->tag); in dump_element()
1239 tag, in dump_element()
1256 static void render_element(FILE *out, struct element *e, struct element *tag);
1439 static void render_element(FILE *out, struct element *e, struct element *tag) in render_element() argument
1446 (tag && tag->flags & ELEMENT_SKIPPABLE)) in render_element()
1459 (tag && tag->flags & ELEMENT_CONDITIONAL)) ? "COND_" : ""; in render_element()
1488 if (e->class == ASN1_UNIV && e->method == ASN1_PRIM && e->tag == 0) in render_element()
1497 x = tag ?: e; in render_element()
1503 if (!tag || !(tag->flags & ELEMENT_TAG_SPECIFIED)) in render_element()
1504 tag = e; in render_element()
1506 if (tag->class == ASN1_UNIV && in render_element()
1507 tag->tag != 14 && in render_element()
1508 tag->tag != 15 && in render_element()
1509 tag->tag != 31) in render_element()
1511 asn1_classes[tag->class], in render_element()
1512 asn1_methods[tag->method | e->method], in render_element()
1513 asn1_universal_tags[tag->tag]); in render_element()
1516 asn1_classes[tag->class], in render_element()
1517 asn1_methods[tag->method | e->method], in render_element()
1518 tag->tag); in render_element()
1519 tag = NULL; in render_element()
1525 render_element(out, e->type->type->element, tag); in render_element()