Lines Matching defs:io_ch
125 char_io *io_ch, void *arg)
134 if (!io_ch(arg, tmphex, 10))
140 if (!io_ch(arg, tmphex, 6))
154 if (!io_ch(arg, &chtmp, 1))
158 if (!io_ch(arg, "\\", 1))
160 if (!io_ch(arg, &chtmp, 1))
166 if (!io_ch(arg, tmphex, 3))
175 if (!io_ch(arg, "\\\\", 2))
179 if (!io_ch(arg, &chtmp, 1))
194 int type, unsigned char flags, char *quotes, char_io *io_ch,
249 quotes, io_ch, arg);
257 io_ch, arg);
268 static int do_hex_dump(char_io *io_ch, void *arg, unsigned char *buf,
280 if (!io_ch(arg, hextmp, 2))
294 static int do_dump(unsigned long lflags, char_io *io_ch, void *arg,
305 if (!io_ch(arg, "#", 1))
309 outlen = do_hex_dump(io_ch, arg, str->data, str->length);
322 outlen = do_hex_dump(io_ch, arg, der_buf, der_len);
352 static int do_print_ex(char_io *io_ch, void *arg, unsigned long lflags,
371 if (!io_ch(arg, tagname, outlen) || !io_ch(arg, ":", 1))
395 len = do_dump(lflags, io_ch, arg, str);
414 len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL);
422 if (quotes && !io_ch(arg, "\"", 1))
424 if (do_buf(str->data, str->length, type, flags, NULL, io_ch, arg) < 0)
426 if (quotes && !io_ch(arg, "\"", 1))
433 static int do_indent(char_io *io_ch, void *arg, int indent)
437 if (!io_ch(arg, " ", 1))
445 static int do_name_ex(char_io *io_ch, void *arg, X509_NAME *n,
461 if (!do_indent(io_ch, arg, indent))
517 if (!io_ch(arg, sep_mv, sep_mv_len))
521 if (!io_ch(arg, sep_dn, sep_dn_len))
524 if (!do_indent(io_ch, arg, indent))
552 if (!io_ch(arg, objbuf, objlen))
555 if (!do_indent(io_ch, arg, fld_len - objlen))
559 if (!io_ch(arg, sep_eq, sep_eq_len))
573 len = do_print_ex(io_ch, arg, flags | orflags, val);