Lines Matching refs:flags
115 static int do_esc_char(unsigned long c, unsigned char flags, char *do_quotes, char_io *io_ch, void *arg)
133 if(chtmp > 0x7f) chflgs = flags & ASN1_STRFLGS_ESC_MSB;
134 else chflgs = char_type[chtmp] & flags;
164 int type, unsigned char flags, char *quotes, char_io *io_ch, void *arg)
173 if(p == buf && flags & ASN1_STRFLGS_ESC_2253) orflags = CHARTYPE_FIRST_ESC_2253;
200 if (p == q && flags & ASN1_STRFLGS_ESC_2253) orflags = CHARTYPE_LAST_ESC_2253;
211 len = do_esc_char(utfbuf[i], (unsigned char)(flags | orflags), quotes, io_ch, arg);
216 len = do_esc_char(c, (unsigned char)(flags | orflags), quotes, io_ch, arg);
245 * or the flags request it. We can either dump the content
312 unsigned char flags;
314 /* Keep a copy of escape flags */
315 flags = (unsigned char)(lflags & ESC_FLAGS);
360 len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL);
366 if(do_buf(str->data, str->length, type, flags, NULL, io_ch, arg) < 0)
386 int indent, unsigned long flags)
401 switch (flags & XN_FLAG_SEP_MASK)
438 if(flags & XN_FLAG_SPC_EQ) {
446 fn_opt = flags & XN_FLAG_FN_MASK;
450 if(flags & XN_FLAG_DN_REV)
488 if ((objlen < fld_len) && (flags & XN_FLAG_FN_ALIGN)) {
499 if((fn_nid == NID_undef) && (flags & XN_FLAG_DUMP_UNKNOWN_FIELDS))
503 len = do_print_ex(io_ch, arg, flags | orflags, val);
512 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags)
514 if(flags == XN_FLAG_COMPAT)
516 return do_name_ex(send_bio_chars, out, nm, indent, flags);
520 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags)
522 if(flags == XN_FLAG_COMPAT)
532 return do_name_ex(send_fp_chars, fp, nm, indent, flags);
536 int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags)
538 return do_print_ex(send_bio_chars, out, flags, str);
542 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags)
544 return do_print_ex(send_fp_chars, fp, flags, str);