Lines Matching refs:it
70 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *name);
72 int ASN1_item_print(BIO *out, void *fld, int indent, const ASN1_ITEM *it)
74 return asn1_item_print_nm(out, fld, indent, it, it->sname);
77 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *name)
87 switch(it->itype) {
90 if(it->templates)
91 return ASN1_template_print(out, fld, indent, it->templates);
92 return asn1_primitive_print(out, fld, it->utype, indent, name);
100 BIO_printf(out, "%*s%s:EXTERNAL TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT");
103 BIO_printf(out, "%*s%s:COMPATIBLE TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT");
109 i = asn1_get_choice_selector(fld, it);
111 if((i < 0) || (i >= it->tcount)) {
112 BIO_printf(out, "%s selector [%d] out of range\n", it->sname, i);
115 tt = it->templates + i;
122 for(i = 0, tt = it->templates; i < it->tcount; i++, tt++) {