Home
last modified time | relevance | path

Searched refs:outformat (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/apps/
Drsa.c92 static int try_legacy_encoding(EVP_PKEY *pkey, int outformat, int pubout, in try_legacy_encoding() argument
102 if (outformat == FORMAT_ASN1) { in try_legacy_encoding()
107 } else if (outformat == FORMAT_PEM) { in try_legacy_encoding()
113 } else if (outformat == FORMAT_MSBLOB || outformat == FORMAT_PVK) { in try_legacy_encoding()
132 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, check = 0; in rsa_main() local
162 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in rsa_main()
265 out = bio_open_owner(outfile, outformat, private); in rsa_main()
320 if (outformat == FORMAT_ASN1) { in rsa_main()
322 } else if (outformat == FORMAT_PEM) { in rsa_main()
324 } else if (outformat == FORMAT_MSBLOB) { in rsa_main()
[all …]
Ddsa.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in dsa_main() local
116 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in dsa_main()
197 out = bio_open_owner(outfile, outformat, private); in dsa_main()
229 if (outformat == FORMAT_ASN1) { in dsa_main()
231 } else if (outformat == FORMAT_PEM) { in dsa_main()
233 } else if (outformat == FORMAT_MSBLOB) { in dsa_main()
235 } else if (outformat == FORMAT_PVK) { in dsa_main()
246 if (outformat == FORMAT_ASN1 || outformat == FORMAT_PEM) { in dsa_main()
275 if (enc != NULL || outformat == FORMAT_PVK) { in dsa_main()
285 if (outformat == FORMAT_PVK) { in dsa_main()
Dsess_id.c54 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in sess_id_main() local
76 &outformat)) in sess_id_main()
125 out = bio_open_default(outfile, 'w', outformat); in sess_id_main()
142 if (outformat == FORMAT_ASN1) { in sess_id_main()
144 } else if (outformat == FORMAT_PEM) { in sess_id_main()
146 } else if (outformat == FORMAT_NSS) { in sess_id_main()
157 if (outformat == FORMAT_ASN1) { in sess_id_main()
159 } else if (outformat == FORMAT_PEM) { in sess_id_main()
Dpkcs8.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; in pkcs8_main() local
112 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkcs8_main()
221 out = bio_open_owner(outfile, outformat, private); in pkcs8_main()
236 if (outformat == FORMAT_PEM) { in pkcs8_main()
238 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
287 if (outformat == FORMAT_PEM) in pkcs8_main()
289 else if (outformat == FORMAT_ASN1) in pkcs8_main()
355 if (outformat == FORMAT_PEM) { in pkcs8_main()
361 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
Dpkey.c78 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM; in pkey_main() local
103 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkey_main()
181 if (traditional && (noout || outformat != FORMAT_PEM)) in pkey_main()
202 if (noout || outformat != FORMAT_PEM) { in pkey_main()
213 out = bio_open_owner(outfile, outformat, private); in pkey_main()
272 if (outformat == FORMAT_PEM) { in pkey_main()
289 } else if (outformat == FORMAT_ASN1) { in pkey_main()
Ddsaparam.c73 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, noout = 0; in dsaparam_main() local
98 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in dsaparam_main()
146 out = bio_open_owner(outfile, outformat, private); in dsaparam_main()
193 if (outformat == FORMAT_ASN1 && genkey) in dsaparam_main()
197 if (outformat == FORMAT_ASN1) in dsaparam_main()
222 if (outformat == FORMAT_ASN1) in dsaparam_main()
Dcrl2pkcs7.c59 int i = 0, informat = FORMAT_PEM, outformat = FORMAT_PEM, ret = 1, nocrl = in crl2pkcs7_main() local
80 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in crl2pkcs7_main()
161 out = bio_open_default(outfile, 'w', outformat); in crl2pkcs7_main()
165 if (outformat == FORMAT_ASN1) in crl2pkcs7_main()
167 else if (outformat == FORMAT_PEM) in crl2pkcs7_main()
Decparam.c109 int informat = FORMAT_PEM, outformat = FORMAT_PEM, noout = 0; in ecparam_main() local
134 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ecparam_main()
198 out = bio_open_owner(outfile, outformat, private); in ecparam_main()
297 if (outformat == FORMAT_ASN1 && genkey) in ecparam_main()
303 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
329 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
Dpkcs7.c59 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in pkcs7_main() local
82 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkcs7_main()
139 out = bio_open_default(outfile, 'w', outformat); in pkcs7_main()
202 if (outformat == FORMAT_ASN1) in pkcs7_main()
Dgenpkey.c72 int outformat = FORMAT_PEM, text = 0, ret = 1, rv, do_param = 0; in genpkey_main() local
93 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in genpkey_main()
177 out = bio_open_owner(outfile, outformat, private); in genpkey_main()
189 } else if (outformat == FORMAT_PEM) { in genpkey_main()
192 } else if (outformat == FORMAT_ASN1) { in genpkey_main()
Dec.c76 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in ec_main() local
103 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ec_main()
189 out = bio_open_owner(outfile, outformat, private); in ec_main()
244 const char *output_type = outformat == FORMAT_ASN1 ? "DER" : "PEM"; in ec_main()
Dsmime.c153 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = in smime_main() local
183 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in smime_main()
431 outformat = FORMAT_BINARY; in smime_main()
529 out = bio_open_default(outfile, 'w', outformat); in smime_main()
556 if (outformat == FORMAT_SMIME) in smime_main()
633 if (outformat == FORMAT_SMIME) { in smime_main()
638 } else if (outformat == FORMAT_PEM) { in smime_main()
640 } else if (outformat == FORMAT_ASN1) { in smime_main()
Ddhparam.c88 int informat = FORMAT_PEM, outformat = FORMAT_PEM, check = 0, noout = 0; in dhparam_main() local
108 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in dhparam_main()
173 out = bio_open_default(outfile, 'w', outformat); in dhparam_main()
332 outformat == FORMAT_ASN1 in dhparam_main()
Dcrl.c92 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in crl_main() local
121 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in crl_main()
365 out = bio_open_default(outfile, 'w', outformat); in crl_main()
377 if (outformat == FORMAT_ASN1) in crl_main()
Dcms.c303 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME; in cms_main() local
334 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in cms_main()
802 outformat = FORMAT_BINARY; in cms_main()
932 binary_files ? FORMAT_BINARY : outformat); in cms_main()
1047 if (outformat == FORMAT_SMIME) in cms_main()
1214 } else if (outformat == FORMAT_SMIME) { in cms_main()
1225 } else if (outformat == FORMAT_PEM) { in cms_main()
1227 } else if (outformat == FORMAT_ASN1) { in cms_main()
Dx509.c284 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in x509_main() local
325 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in x509_main()
773 out = bio_open_default(outfile, 'w', outformat); in x509_main()
874 if (outformat == FORMAT_ASN1) { in x509_main()
1047 if (outformat == FORMAT_ASN1) { in x509_main()
1049 } else if (outformat == FORMAT_PEM) { in x509_main()
Denc.c123 int base64 = 0, informat = FORMAT_BINARY, outformat = FORMAT_BINARY; in enc_main() local
324 outformat = FORMAT_BASE64; in enc_main()
379 out = bio_open_default(outfile, 'w', outformat); in enc_main()
Dreq.c262 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyform = FORMAT_UNDEF; in req_main() local
289 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in req_main()
704 out = bio_open_owner(keyout, outformat, newreq); in req_main()
948 outformat); in req_main()
1009 if (outformat == FORMAT_ASN1) in req_main()
1021 if (outformat == FORMAT_ASN1) in req_main()
/third_party/cups-filters/filter/
Dgstoraster.c124 OutFormatType outformat, int pxlcolor) in add_pdf_header_options() argument
130 if (outformat == OUTPUT_FORMAT_RASTER) { in add_pdf_header_options()
166 if (outformat == OUTPUT_FORMAT_RASTER || in add_pdf_header_options()
167 outformat == OUTPUT_FORMAT_PXL) { in add_pdf_header_options()
177 if (outformat == OUTPUT_FORMAT_RASTER) { in add_pdf_header_options()
195 if (outformat == OUTPUT_FORMAT_RASTER || in add_pdf_header_options()
196 outformat == OUTPUT_FORMAT_PXL) { in add_pdf_header_options()
199 if (outformat == OUTPUT_FORMAT_PXL) { in add_pdf_header_options()
236 if (outformat == OUTPUT_FORMAT_RASTER) { in add_pdf_header_options()
266 if (outformat == OUTPUT_FORMAT_RASTER) { in add_pdf_header_options()
[all …]
Drastertopdf.cpp293 outformat(OUTPUT_FORMAT_PDF) in pdf_info()
318 OutFormatType outformat; member
321 int create_pdf_file(struct pdf_info * info, const OutFormatType & outformat) in create_pdf_file() argument
325 info->outformat = outformat; in create_pdf_file()
857 if (info->outformat == OUTPUT_FORMAT_PDF) in finish_page()
870 else if (info->outformat == OUTPUT_FORMAT_PCLM) in finish_page()
895 if (info->outformat == OUTPUT_FORMAT_PDF) in finish_page()
902 else if (info->outformat == OUTPUT_FORMAT_PCLM) in finish_page()
927 if (info->outformat == OUTPUT_FORMAT_PDF) in finish_page()
930 else if (info->outformat == OUTPUT_FORMAT_PCLM) in finish_page()
[all …]
/third_party/node/deps/npm/node_modules/sshpk/bin/
Dsshpk-conv177 if (opts.outformat)
178 fmt = opts.outformat;