Lines Matching refs:flags
67 static int do_esc_char(unsigned long c, unsigned short flags, char *do_quotes, in do_esc_char() argument
90 chflgs = flags & ASN1_STRFLGS_ESC_MSB; in do_esc_char()
92 chflgs = char_type[chtmp] & flags; in do_esc_char()
120 if (chtmp == '\\' && (flags & ESC_FLAGS)) { in do_esc_char()
140 int type, unsigned short flags, char *quotes, char_io *io_ch, in do_buf() argument
171 if (p == buf && flags & ASN1_STRFLGS_ESC_2253) in do_buf()
203 if (p == q && flags & ASN1_STRFLGS_ESC_2253) in do_buf()
216 len = do_esc_char(utfbuf[i], flags | orflags, quotes, in do_buf()
223 len = do_esc_char(c, flags | orflags, quotes, in do_buf()
335 unsigned short flags; in do_print_ex() local
338 flags = (unsigned short)(lflags & ESC_FLAGS); in do_print_ex()
393 len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL); in do_print_ex()
403 if (do_buf(str->data, str->length, type, flags, NULL, io_ch, arg) < 0) in do_print_ex()
425 int indent, unsigned long flags) in do_name_ex() argument
442 switch (flags & XN_FLAG_SEP_MASK) { in do_name_ex()
478 if (flags & XN_FLAG_SPC_EQ) { in do_name_ex()
486 fn_opt = flags & XN_FLAG_FN_MASK; in do_name_ex()
490 if (flags & XN_FLAG_DN_REV) in do_name_ex()
533 if ((objlen < fld_len) && (flags & XN_FLAG_FN_ALIGN)) { in do_name_ex()
547 if ((fn_nid == NID_undef) && (flags & XN_FLAG_DUMP_UNKNOWN_FIELDS)) in do_name_ex()
552 len = do_print_ex(io_ch, arg, flags | orflags, val); in do_name_ex()
563 unsigned long flags) in X509_NAME_print_ex() argument
565 if (flags == XN_FLAG_COMPAT) in X509_NAME_print_ex()
567 return do_name_ex(send_bio_chars, out, nm, indent, flags); in X509_NAME_print_ex()
572 unsigned long flags) in X509_NAME_print_ex_fp() argument
574 if (flags == XN_FLAG_COMPAT) { in X509_NAME_print_ex_fp()
584 return do_name_ex(send_fp_chars, fp, nm, indent, flags); in X509_NAME_print_ex_fp()
588 int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex() argument
590 return do_print_ex(send_bio_chars, out, flags, str); in ASN1_STRING_print_ex()
594 int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp() argument
596 return do_print_ex(send_fp_chars, fp, flags, str); in ASN1_STRING_print_ex_fp()
620 stmp.flags = 0; in ASN1_STRING_to_UTF8()