/php-src/ext/gd/libgd/ |
H A D | gd_bmp.c | 449 if (bmp_read_header(infile, hdr)) { in gdImageCreateFromBmpCtx() 464 if (bmp_read_info(infile, info)) { in gdImageCreateFromBmpCtx() 744 if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile)) { in bmp_read_direct() 748 …if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile) || !gdGetB… in bmp_read_direct() 756 if (!gdGetByte(&red, infile)) { in bmp_read_direct() 772 !gdGetByte(&b, infile) || in bmp_read_palette() 773 !gdGetByte(&g, infile) || in bmp_read_palette() 774 !gdGetByte(&r, infile) || in bmp_read_palette() 849 if (!gdGetByte(&index, infile)) { in bmp_read_1bit() 1028 if (!gdGetByte(&rle_length, infile) || !gdGetByte(&rle_data, infile)) { in bmp_read_rle() [all …]
|
/php-src/ext/openssl/tests/ |
H A D | openssl_pkcs7_encrypt_basic.phpt | 7 $infile = __DIR__ . "/cert.crt"; 28 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers, 0, $cipher)); 29 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, 0, $ci… 31 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $assoc_headers, 0, $cipher)); 32 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $empty_headers, 0, $cipher)); 35 var_dump(openssl_pkcs7_encrypt($infile, $empty, $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)); 39 var_dump(openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $he… [all …]
|
H A D | openssl_cms_encrypt_basic.phpt | 7 $infile = __DIR__ . "/plain.txt"; 26 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 27 var_dump(openssl_cms_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, cipher_a… 30 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $assoc_headers, cipher_algo: $cipher)… 31 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $empty_headers, cipher_algo: $cipher)… 34 var_dump(openssl_cms_encrypt($infile, $empty, $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)); 37 var_dump(openssl_cms_encrypt($infile, $outfile, $multi_certs, $headers, cipher_algo: $cipher)); 38 var_dump(openssl_cms_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $head… [all …]
|
H A D | openssl_pkcs7_sign_basic.phpt | 7 $infile = __DIR__ . "/cert.crt"; 21 var_dump(openssl_pkcs7_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)… 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)); 24 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $empty_headers)); 27 var_dump(openssl_pkcs7_sign($infile, $empty, $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));
|
H A D | openssl_cms_sign_basic.phpt | 7 $infile = __DIR__ . "/cert.crt"; 21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)); 26 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $headers)); 27 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $assoc_headers)); 28 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $empty_headers)); 31 var_dump(openssl_cms_sign($infile, $empty, $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));
|
H A D | openssl_cms_sign_verify_detached.phpt | 7 $infile = __DIR__ . "/plain.txt"; 23 readfile($infile); 24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)); 42 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 44 var_dump(openssl_cms_verify($infile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_DETACHED|OPENSSL_CMS_BINARY, 60 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 62 var_dump(openssl_cms_verify($infile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_DETACHED|OPENSSL_CMS_BINARY, 79 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 81 var_dump(openssl_cms_verify($infile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_DETACHED,
|
H A D | openssl_cms_sign_der.phpt | 7 $infile = __DIR__ . "/cert.crt"; 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));
|
H A D | bug81713.phpt | 20 $infile = __DIR__ . '/plain.txt'; 21 $infile_null = "$infile\x00acd";; 82 ["openssl_cms_encrypt", $infile, $outfile_null, $crt_file, $headers], 83 ["openssl_cms_encrypt", $infile, $outfile, $crt_file_null, $headers], 84 ["openssl_cms_encrypt", $infile, $outfile, $cainfo_null, $headers], 86 ["openssl_cms_decrypt", $infile, $outfile_null, $crt_file, $priv_key_file], 87 ["openssl_cms_decrypt", $infile, $outfile, $crt_file_null, $priv_key_file], 88 ["openssl_cms_decrypt", $infile, $outfile, $crt_file, $priv_key_file_null], 101 ["openssl_pkcs7_encrypt", $infile, $outfile_null, $crt_file, $headers], 102 ["openssl_pkcs7_encrypt", $infile, $outfile, $crt_file_null, $headers], [all …]
|
H A D | gh16357.phpt | 7 $infile = __DIR__ . "/cert.crt"; 10 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $certs, null));
|
H A D | gh12489.phpt | 7 $infile = __DIR__ . "/plain.txt"; 16 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 19 var_dump(openssl_cms_verify($infile,OPENSSL_CMS_NOVERIFY|OPENSSL_CMS_DETACHED|OPENSSL_CMS_BINARY,
|
H A D | openssl_cms_encrypt_pem.phpt | 7 $infile = __DIR__ . "/plain.txt"; 18 var_dump(openssl_cms_encrypt($infile, $cryptfile, $single_cert, $headers, OPENSSL_CMS_BINARY, OPENS… 24 readfile($infile);
|
H A D | openssl_cms_encrypt_der.phpt | 7 $infile = __DIR__ . "/plain.txt"; 18 var_dump(openssl_cms_encrypt($infile, $cryptfile, $single_cert, $headers, OPENSSL_CMS_BINARY, OPENS… 24 readfile($infile);
|
H A D | openssl_cms_sign_verify_basic.phpt | 7 $infile = __DIR__ . "/plain.txt"; 23 readfile($infile); 24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
|
H A D | openssl_cms_sign_verify_nodetached_pem.phpt | 7 $infile = __DIR__ . "/plain.txt"; 23 readfile($infile); 24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)); 39 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers, 58 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
|
/php-src/ext/exif/tests/bug50660/ |
H A D | bug50660.phpt | 10 $infile = __DIR__.'/bug50660-1.jpg'; 11 var_dump(exif_read_data($infile) !== false); 12 $infile = __DIR__.'/bug50660-2.jpg'; 13 var_dump(exif_read_data($infile) !== false);
|
/php-src/ext/tokenizer/ |
H A D | tokenizer_data_gen.php | 4 $infile = __DIR__ . '/../../Zend/zend_language_parser.y'; variable 8 if (!file_exists($infile)) { 10 $infile is missing. 21 $incontent = file_get_contents($infile);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 127 conn->infile.local_infile_init = mysqlnd_local_infile_init; in mysqlnd_local_infile_default() 128 conn->infile.local_infile_read = mysqlnd_local_infile_read; in mysqlnd_local_infile_default() 129 conn->infile.local_infile_error = mysqlnd_local_infile_error; in mysqlnd_local_infile_default() 130 conn->infile.local_infile_end = mysqlnd_local_infile_end; in mysqlnd_local_infile_default() 149 MYSQLND_INFILE infile; in mysqlnd_handle_local_infile() local 203 infile = conn->infile; in mysqlnd_handle_local_infile() 210 if (infile.local_infile_init(&info, (char *)filename)) { in mysqlnd_handle_local_infile() 215 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile() 223 …while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEAD… in mysqlnd_handle_local_infile() 243 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile() [all …]
|
/php-src/ext/exif/tests/ |
H A D | exif002.phpt | 15 $infile = __DIR__.'/test1.jpg'; 16 echo md5_file($infile).'_'.filesize($infile);
|
H A D | exif_encoding_crash.phpt | 7 $infile = __DIR__.'/exif_encoding_crash.jpg'; 8 $exif_data = exif_read_data($infile);
|
H A D | exif_read_data_0.phpt | 7 $infile = __DIR__.'/bug73115.JPG'; 8 exif_read_data($infile);
|
H A D | bug34704-mb.phpt | 10 $infile = __DIR__.'/bug34704私はガラスを食べられます.jpg'; 11 var_dump(exif_read_data($infile));
|
H A D | bug34704.phpt | 10 $infile = __DIR__.'/bug34704.jpg'; 11 var_dump(exif_read_data($infile));
|
/php-src/ext/exif/tests/bug72819/ |
H A D | bug72819.phpt | 10 $infile = __DIR__.'/bug72819.jpg'; 11 var_dump(strlen(exif_thumbnail($infile)));
|
/php-src/ext/exif/tests/bug73115/ |
H A D | bug73115.phpt | 10 $infile = __DIR__.'/bug73115.jpg'; 11 var_dump(count(exif_read_data($infile)));
|
/php-src/ext/exif/tests/bug77184/ |
H A D | bug77184.phpt | 10 $infile = __DIR__.'/DJI_0245_tiny.jpg'; 11 $tags = exif_read_data($infile);
|