/php-src/ext/openssl/tests/ |
H A D | openssl_pkcs7_decrypt_basic.phpt | 12 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 13 if ($outfile === false) { 14 unlink($outfile); 27 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $wrong)); 28 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $wrong, $privkey)); 29 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, null, $privkey)); 30 var_dump(openssl_pkcs7_decrypt($wrong, $outfile, $single_cert, $privkey)); 31 var_dump(openssl_pkcs7_decrypt($empty, $outfile, $single_cert, $privkey)); 33 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $empty, $privkey)); 40 if (file_exists($outfile)) { [all …]
|
H A D | bug81713.phpt | 94 …enssl_cms_verify", $eml_null, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $outfile, $outfil… 95 …ssl_cms_verify", $eml, OPENSSL_CMS_NOVERIFY, $outfile_null, $cainfo, $outfile, $outfile, $outfile], 97 …"openssl_cms_verify", $eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile_null, $outfile, $out… 98 …"openssl_cms_verify", $eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $outfile_null, $out… 99 …["openssl_cms_verify", $eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $outfile, $outfile… 113 ["openssl_pkcs7_verify", $eml_null, 0, $outfile, $cainfo, $outfile, $outfile, $outfile], 114 ["openssl_pkcs7_verify", $eml, 0, $outfile_null, $cainfo, $outfile, $outfile, $outfile], 116 ["openssl_pkcs7_verify", $eml, 0, $outfile, $cainfo, $outfile_null, $outfile, $outfile], 117 ["openssl_pkcs7_verify", $eml, 0, $outfile, $cainfo, $outfile, $outfile_null, $outfile], 118 ["openssl_pkcs7_verify", $eml, 0, $outfile, $cainfo, $outfile, $outfile, $outfile_null], [all …]
|
H A D | openssl_cms_encrypt_basic.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "cms_enc_basic"); 9 if ($outfile === false) 11 $outfile2 = $outfile . ".out"; 26 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 28 var_dump(openssl_cms_decrypt($outfile, $outfile2, $single_cert, $privkey)); 32 var_dump(openssl_cms_encrypt($wrong, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 33 var_dump(openssl_cms_encrypt($empty, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 35 var_dump(openssl_cms_encrypt($infile, $outfile, $wrong, $headers, cipher_algo: $cipher)); 36 var_dump(openssl_cms_encrypt($infile, $outfile, $empty, $headers, cipher_algo: $cipher)); 41 if (file_exists($outfile)) { [all …]
|
H A D | openssl_cms_sign_verify_detached.phpt | 9 $vout= $outfile . ".vout"; 11 if ($outfile === false) { 29 if (file_exists($outfile)) { 31 unlink($outfile); 48 if (file_exists($outfile)) { 50 unlink($outfile); 67 if (file_exists($outfile)) { 69 unlink($outfile); 71 $outfile=$outfile . "x"; 83 if (file_exists($outfile)) { [all …]
|
H A D | openssl_pkcs7_encrypt_basic.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 if ($outfile === false) 28 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers, 0, $cipher)); 30 var_dump(openssl_pkcs7_decrypt($outfile, $outfile2, $single_cert, $privkey)); 33 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers, 0, $cipher)); 34 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers, 0, $cipher)); 36 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers, 0, $cipher)); 37 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers, 0, $cipher)); 38 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers, 0, $cipher)); 42 if (file_exists($outfile)) { [all …]
|
H A D | openssl_cms_sign_basic.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 if ($outfile === false) { 22 $s = stat($outfile); 26 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $headers)); 29 var_dump(openssl_cms_sign($wrong, $outfile, $single_cert, $privkey, $headers)); 30 var_dump(openssl_cms_sign($empty, $outfile, $single_cert, $privkey, $headers)); 32 var_dump(openssl_cms_sign($infile, $outfile, $wrong, $privkey, $headers)); 33 var_dump(openssl_cms_sign($infile, $outfile, $empty, $privkey, $headers)); 34 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $wrong, $headers)); 36 if (file_exists($outfile)) { [all …]
|
H A D | openssl_pkcs7_sign_basic.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 if ($outfile === false) { 22 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $headers)); 23 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $assoc_headers)); 25 var_dump(openssl_pkcs7_sign($wrong, $outfile, $single_cert, $privkey, $headers)); 26 var_dump(openssl_pkcs7_sign($empty, $outfile, $single_cert, $privkey, $headers)); 28 var_dump(openssl_pkcs7_sign($infile, $outfile, $wrong, $privkey, $headers)); 29 var_dump(openssl_pkcs7_sign($infile, $outfile, $empty, $privkey, $headers)); 30 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $wrong, $headers)); 32 if (file_exists($outfile)) { [all …]
|
H A D | openssl_cms_decrypt_basic.phpt | 12 $outfile = $encrypted . ".out"; 22 var_dump(openssl_cms_decrypt($encrypted, $outfile, $single_cert, $privkey)); 24 readfile($outfile); 26 var_dump(openssl_cms_decrypt($encrypted, $outfile, $single_cert, $wrong)); 27 var_dump(openssl_cms_decrypt($encrypted, $outfile, $wrong, $privkey)); 28 var_dump(openssl_cms_decrypt($encrypted, $outfile, null, $privkey)); 29 var_dump(openssl_cms_decrypt($wrong, $outfile, $single_cert, $privkey)); 30 var_dump(openssl_cms_decrypt($empty, $outfile, $single_cert, $privkey)); 32 var_dump(openssl_cms_decrypt($encrypted, $outfile, $empty, $privkey)); 39 if (file_exists($outfile)) { [all …]
|
H A D | openssl_cms_sign_verify_nodetached_pem.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 $vout= $outfile . ".vout"; 11 if ($outfile === false) { 29 if (file_exists($outfile)) { 31 unlink($outfile); 41 var_dump(openssl_cms_verify($outfile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_BINARY, 45 if (file_exists($outfile)) { 47 unlink($outfile); 60 var_dump(openssl_cms_verify($outfile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_BINARY, 65 if (file_exists($outfile)) { [all …]
|
H A D | openssl_cms_verify_basic.phpt | 7 $outfile = tempnam(sys_get_temp_dir(), "cms_v_basic"); 8 if ($outfile === false) { 12 $contentfile = $outfile . ".out"; 24 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile)); 25 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile)); 26 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile, … 29 if (file_exists($outfile)) { 31 unlink($outfile);
|
H A D | openssl_cms_verify_der.phpt | 7 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 8 if ($outfile === false) { 29 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile)); 30 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile)); 31 var_dump(openssl_cms_verify($eml, OPENSSL_CMS_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile, … 32 …fy($plain, OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_BINARY|OPENSSL_CMS_DETACHED,$outfile,$cainfo,NULL,$con… 33 …fy($plain, OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_BINARY|OPENSSL_CMS_DETACHED,$outfile,$cainfo,NULL,$con… 36 if (file_exists($outfile)) { 38 unlink($outfile);
|
H A D | openssl_cms_sign_der.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 if ($outfile === false) { 21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $empty_head… 22 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)); 24 if (file_exists($outfile)) { 26 unlink($outfile);
|
H A D | openssl_pkcs7_verify_basic.phpt | 7 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 8 if ($outfile === false) { 27 var_dump(openssl_pkcs7_verify($eml, PKCS7_NOVERIFY, $outfile)); 28 var_dump(openssl_pkcs7_verify($eml, PKCS7_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile)); 29 var_dump(openssl_pkcs7_verify($eml, PKCS7_NOVERIFY, $outfile, $cainfo, $outfile, $contentfile, $pkc… 32 if (file_exists($outfile)) { 34 unlink($outfile);
|
H A D | openssl_cms_sign_verify_basic.phpt | 8 $outfile = tempnam(sys_get_temp_dir(), "ssl"); 9 $vout= $outfile . ".vout"; 11 if ($outfile === false) { 24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)); 25 var_dump(openssl_cms_verify($outfile,OPENSSL_CMS_NOVERIFY, NULL, array(), NULL, $vout)); 29 if (file_exists($outfile)) { 31 unlink($outfile);
|
H A D | gh12489.phpt | 8 $outfile = __DIR__ . "/out.cms";; 9 $vout = $outfile . '.vout'; 16 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 25 $outfile = __DIR__ . "/out.cms";; 26 $vout = $outfile . '.vout'; 28 @unlink($outfile);
|
H A D | gh16357.phpt | 8 $outfile = __DIR__ . "/gh16357.txt"; 10 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $certs, null));
|
H A D | openssl_cms_encrypt_pem.phpt | 25 print "outfile:\n";
|
H A D | openssl_cms_encrypt_der.phpt | 26 print "outfile base64:\n" . base64_encode($der) . "\n--------\n";
|
/php-src/ext/gd/tests/ |
H A D | avif_decode_encode.phpt | 20 $outfile = __DIR__ . '/test.avif'; 27 echo_status(imageavif($img, $outfile)); 30 echo_status(imageavif($img, $outfile, 70)); 33 echo_status(imageavif($img, $outfile, 70, 5)); 36 echo_status(imageavif($img, $outfile, -1)); 40 imageavif($img, $outfile, 1234); 48 imageavif($img, $outfile, 70, 1234); 54 echo_status(imageavif($img, $outfile, 100, 0)); 57 $img_from_avif = imagecreatefromavif($outfile); 64 unlink($outfile);
|
/php-src/ext/gd/libgd/ |
H A D | gd_jpeg.c | 133 static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality); 165 void jpeg_gdIOCtx_dest (j_compress_ptr cinfo, gdIOCtx * outfile); 167 void gdImageJpegCtx (gdImagePtr im, gdIOCtx * outfile, int quality) in gdImageJpegCtx() argument 169 _gdImageJpegCtx(im, outfile, quality); in gdImageJpegCtx() 173 static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) in _gdImageJpegCtx() argument 221 jpeg_gdIOCtx_dest (&cinfo, outfile); in _gdImageJpegCtx() 752 gdIOCtx *outfile; /* target stream */ member 804 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer() 830 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination() 842 void jpeg_gdIOCtx_dest (j_compress_ptr cinfo, gdIOCtx * outfile) in jpeg_gdIOCtx_dest() argument [all …]
|
H A D | gd_webp.c | 104 void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) in gdImageWebpCtx() argument 166 gdPutBuf(out, out_size, outfile); in gdImageWebpCtx()
|
H A D | gd_gif_out.c | 93 static void compress (int init_bits, gdIOCtx *outfile, gdImagePtr im, GifCtx *ctx); 506 compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx) argument 521 ctx->g_outfile = outfile;
|
H A D | gd_png.c | 480 void gdImagePngCtx (gdImagePtr im, gdIOCtx * outfile) in gdImagePngCtx() argument 482 gdImagePngCtxEx(im, outfile, -1, -1); in gdImagePngCtx() 489 void gdImagePngCtxEx (gdImagePtr im, gdIOCtx * outfile, int level, int basefilter) in gdImagePngCtxEx() argument 533 png_set_write_fn(png_ptr, (void *) outfile, gdPngWriteData, gdPngFlushData); in gdImagePngCtxEx()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dynasm.lua | 909 local function writefile(outfile) 913 if outfile == nil or outfile == "-" then 916 fout = assert(io.open(outfile, "w")) 930 local function translate(infile, outfile) 967 writefile(outfile) 1011 function opt_map.outfile(args) g_opt.outfile = optparam(args) end 1079 translate(args[args.argn], g_opt.outfile)
|
/php-src/win32/build/ |
H A D | confutils.js | 1810 var infile, outfile; 1832 outfile.Write(indata); 1833 outfile.Close(); 2185 var outfile = null; 2243 if (outfile) { 2244 outfile.Close(); 2245 outfile = null; 2254 outfile.Close(); 2259 var infile, outfile; 2274 outfile.Write(indata); [all …]
|