• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/asn1/

Lines Matching defs:indent

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)
84 BIO_printf(out, "%*s%s ABSENT\n", indent, "", name);
91 return ASN1_template_print(out, fld, indent, it->templates);
92 return asn1_primitive_print(out, fld, it->utype, indent, name);
97 return asn1_primitive_print(out, fld, str->type, 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");
117 return ASN1_template_print(out, tmpfld, indent, tt);
120 BIO_printf(out, "%*s%s {\n", indent, "", name);
124 ASN1_template_print(out, tmpfld, indent + 2, tt);
126 BIO_printf(out, "%*s}\n", indent, "");
134 int ASN1_template_print(BIO *out, void *fld, int indent, const ASN1_TEMPLATE *tt)
148 BIO_printf(out, "%*s%s OF %s {\n", indent, "", tname, tt->field_name);
151 asn1_item_print_nm(out, skitem, indent + 2, tt->item, "");
153 BIO_printf(out, "%*s}\n", indent, "");
155 BIO_printf(out, "%*s%s OF %s ABSENT\n", indent, "", tname, tt->field_name);
158 return asn1_item_print_nm(out, fld, indent, tt->item, tt->field_name);
161 static int asn1_primitive_print(BIO *out, void *fld, long utype, int indent, const char *name)
168 BIO_printf(out, "%*s%s:%s", indent, "", "BOOLEAN", *bool ? "TRUE" : "FALSE");
175 BIO_printf(out, "%*s%s:%s", indent, "", nm, s);
178 BIO_printf(out, "%*s%s", indent, "", "NULL");
180 BIO_printf(out, "%*s%s:%s:", indent, "", name, "UTCTIME");
183 BIO_printf(out, "%*s%s:%s:", indent, "", name, "GENERALIZEDTIME");
190 BIO_printf(out, "%*s%s:%s (%s)", indent, "", "OBJECT", ln, objbuf);
192 BIO_printf(out, "%*s%s:", indent, "", name);
196 } else BIO_printf(out, "%*s%s [ABSENT]\n", indent, "", name);