Lines Matching defs:flags
67 static int do_esc_char(unsigned long c, unsigned short flags, char *do_quotes,
90 chflgs = flags & ASN1_STRFLGS_ESC_MSB;
92 chflgs = char_type[chtmp] & flags;
120 if (chtmp == '\\' && (flags & ESC_FLAGS)) {
140 int type, unsigned short flags, char *quotes, char_io *io_ch,
171 if (p == buf && flags & ASN1_STRFLGS_ESC_2253)
203 if (p == q && flags & ASN1_STRFLGS_ESC_2253)
216 len = do_esc_char(utfbuf[i], flags | orflags, quotes,
223 len = do_esc_char(c, flags | orflags, quotes,
256 * "dump" a string. This is done when the type is unknown, or the flags
338 unsigned short flags;
340 /* Keep a copy of escape flags */
341 flags = (unsigned short)(lflags & ESC_FLAGS);
396 len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL);
406 if (do_buf(str->data, str->length, type, flags, NULL, io_ch, arg) < 0)
428 int indent, unsigned long flags)
445 switch (flags & XN_FLAG_SEP_MASK) {
481 if (flags & XN_FLAG_SPC_EQ) {
489 fn_opt = flags & XN_FLAG_FN_MASK;
493 if (flags & XN_FLAG_DN_REV)
536 if ((objlen < fld_len) && (flags & XN_FLAG_FN_ALIGN)) {
550 if ((fn_nid == NID_undef) && (flags & XN_FLAG_DUMP_UNKNOWN_FIELDS))
555 len = do_print_ex(io_ch, arg, flags | orflags, val);
566 unsigned long flags)
568 if (flags == XN_FLAG_COMPAT)
570 return do_name_ex(send_bio_chars, out, nm, indent, flags);
575 unsigned long flags)
577 if (flags == XN_FLAG_COMPAT) {
587 return do_name_ex(send_fp_chars, fp, nm, indent, flags);
591 int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags)
593 return do_print_ex(send_bio_chars, out, flags, str);
597 int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags)
599 return do_print_ex(send_fp_chars, fp, flags, str);
623 stmp.flags = 0;