Lines Matching defs:indent

104 static int asn1_item_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent,
109 static int asn1_template_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent,
113 const ASN1_ITEM *it, int indent,
117 static int asn1_print_fsname(BIO *out, int indent,
121 int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent,
131 return asn1_item_print_ctx(out, &ifld, indent, it, NULL, sname, 0, pctx);
134 static int asn1_item_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent,
148 parg.indent = indent;
157 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
168 if (!asn1_template_print_ctx(out, fld, indent,
175 if (!asn1_primitive_print(out, fld, it, indent, fname, sname, pctx))
180 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
185 i = ef->asn1_ex_print(out, fld, indent, "", pctx);
207 if (!asn1_template_print_ctx(out, tmpfld, indent, tt, pctx))
213 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
241 indent + 2, seqtt, pctx))
245 if (BIO_printf(out, "%*s}\n", indent, "") < 0)
264 static int asn1_template_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent,
302 indent, "", tname, tt->field_name) <= 0)
304 } else if (BIO_printf(out, "%*s%s:\n", indent, "", fname) <= 0)
313 if (!asn1_item_print_ctx(out, &skitem, indent + 2,
318 if (i == 0 && BIO_printf(out, "%*s<%s>\n", indent + 2, "",
322 if (BIO_printf(out, "%*s}\n", indent, "") <= 0)
327 return asn1_item_print_ctx(out, fld, indent, ASN1_ITEM_ptr(tt->item),
331 static int asn1_print_fsname(BIO *out, int indent,
338 while (indent > nspaces) {
341 indent -= nspaces;
343 if (BIO_write(out, spaces, indent) != indent)
419 static int asn1_print_obstring(BIO *out, const ASN1_STRING *str, int indent)
428 indent + 2) <= 0)
434 const ASN1_ITEM *it, int indent,
444 if (!asn1_print_fsname(out, indent, fname, sname, pctx))
447 return pf->prim_print(out, fld, it, indent, pctx);
516 ret = asn1_print_obstring(out, str, indent);
525 if (ASN1_parse_dump(out, str->data, str->length, indent, 0) <= 0)