Home | History | Annotate | Download | only in asn1

Lines Matching refs:indent

159 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
164 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
168 const ASN1_ITEM *it, int indent,
172 static int asn1_print_fsname(BIO *out, int indent,
176 int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent,
186 return asn1_item_print_ctx(out, &ifld, indent, it,
190 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
205 parg.indent = indent;
215 if (!nohdr && !asn1_print_fsname(out, indent,
229 if (!asn1_template_print_ctx(out, fld, indent,
236 indent, fname, sname,pctx))
241 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
247 i = ef->asn1_ex_print(out, fld, indent, "", pctx);
261 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
276 if (!asn1_template_print_ctx(out, tmpfld, indent, tt, pctx))
282 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx))
314 indent + 2, seqtt, pctx))
319 if (BIO_printf(out, "%*s}\n", indent, "") < 0)
339 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
369 indent, "", tname, tt->field_name) <= 0)
372 else if (BIO_printf(out, "%*s%s:\n", indent, "",
383 if (!asn1_item_print_ctx(out, &skitem, indent + 2,
387 if (!i && BIO_printf(out, "%*s<EMPTY>\n", indent + 2, "") <= 0)
391 if (BIO_printf(out, "%*s}\n", indent, "") <= 0)
396 return asn1_item_print_ctx(out, fld, indent, ASN1_ITEM_ptr(tt->item),
400 static int asn1_print_fsname(BIO *out, int indent,
412 while (indent > nspaces)
416 indent -= nspaces;
418 if (BIO_write(out, spaces, indent) != indent)
501 static int asn1_print_obstring_ctx(BIO *out, ASN1_STRING *str, int indent,
514 indent + 2) <= 0)
520 const ASN1_ITEM *it, int indent,
530 if (!asn1_print_fsname(out, indent, fname, sname, pctx))
533 return pf->prim_print(out, fld, it, indent, pctx);
603 ret = asn1_print_obstring_ctx(out, str, indent, pctx);
613 indent, 0) <= 0)