/PHP-8.0/ext/zlib/tests/ |
H A D | inflate_get_read_len.phpt | 11 $compressed = zlib_encode($uncompressed, ZLIB_ENCODING_DEFLATE); 12 $compressed_len = strlen($compressed); 13 $compressed .= $random_junk; 16 $buf = inflate_add($ctx, $compressed); 20 echo 'Original compressed length: ' . $compressed_len . "\n"; 21 echo 'Detected compressed length: ' . $detected_compressed_len . "\n"; 27 Original compressed length: 20 28 Detected compressed length: 20
|
H A D | bug71417.phpt | 11 $compressed = (string) gzencode($plain); 14 // 1. Set a random byte in the middle of the compressed data. 19 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error 20 $compressed[strlen($compressed) - 15] = 'X'; 22 // 2. Truncate the compressed data. 27 $compressed = substr($compressed, 0, strlen($compressed) - 20); 34 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error 35 $compressed[strlen($compressed)-5] = 'X'; 42 $compressed[strlen($compressed)-2] = 'X'; 48 echo "gzdecode(): ", rawurldecode(gzdecode($compressed)), "\n"; [all …]
|
H A D | inflate_init_reuse.phpt | 14 $compressed = gzencode($uncompressed); 16 for ($i=0;$i<strlen($compressed);$i++) { 17 $inflated .= inflate_add($resource, $compressed[$i]); 24 for ($i=0;$i<strlen($compressed);$i++) { 25 $inflated .= inflate_add($resource, $compressed[$i]);
|
H A D | deflate_init_reuse.phpt | 18 $uncompressed = $compressed = ""; 21 $compressed .= deflate_add($resource, $char, ZLIB_NO_FLUSH); 23 $compressed .= deflate_add($resource, "", ZLIB_FINISH); 24 assert($uncompressed === zlib_decode($compressed));
|
H A D | inflate_get_status.phpt | 11 $compressed = zlib_encode($uncompressed, ZLIB_ENCODING_DEFLATE); 12 $compressed_len = strlen($compressed); 13 $compressed .= $random_junk; 21 $buf .= inflate_add($ctx, substr($compressed, $i, 1)); 32 inflate_add($ctx, substr($compressed, 0, 12));
|
H A D | gzuncompress_basic1.phpt | 17 $compressed = gzcompress($data); 20 var_dump(strcmp($data, gzuncompress($compressed))); 25 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n";
|
H A D | deflate_add_basic.phpt | 54 $uncompressed = $compressed = ""; 58 $compressed .= $stream->send($c); 60 $compressed .= $stream->send(null); 61 if ($uncompressed !== zlib_decode($compressed)) {
|
H A D | inflate_add_basic.phpt | 52 $compressed = zlib_encode($uncompressed, $mode); 53 $compressedLen = strlen($compressed); 59 $inflated .= $stream->send($compressed[$i]);
|
H A D | zlib_scheme_copy_variation2.phpt | 2 Test compress.zlib:// scheme with the copy function: uncompressed to compressed 34 //gzopen can read compressed and uncompressed so we 36 //was compressed.
|
H A D | gzinflate_error1.phpt | 18 $compressed = gzcompress($data); 20 var_dump(gzinflate($compressed, $short_len));
|
H A D | zlib_scheme_copy_basic.phpt | 2 Test compress.zlib:// scheme with the copy function: compressed to compressed
|
H A D | gzuncompress_error1.phpt | 16 $compressed = gzcompress($data); 18 var_dump(gzuncompress($compressed, $short_len));
|
H A D | zlib_scheme_copy_variation1.phpt | 2 Test compress.zlib:// scheme with the copy function: compressed to uncompressed
|
H A D | gzreadgzwriteplain.phpt | 2 gzopen(), gzread(), gzwrite() for non-compressed data
|
/PHP-8.0/ext/bz2/tests/ |
H A D | bug71263.phpt | 11 $compressed = (string) bzcompress($plain); 12 echo "Compressed len = ", strlen($compressed), "\n"; 15 // Set a random byte in the middle of the compressed data 18 $compressed[strlen($compressed) - 15] = 'X'; 20 // Truncate the compressed data 23 $compressed = substr($compressed, 0, strlen($compressed) - 20); 28 $compressed[strlen($compressed)-2] = 'X'; 31 file_put_contents($fn, $compressed);
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | bug77080.phpt | 12 $compressed = stream_get_contents($stream); 13 var_dump(gzinflate($compressed) === $string);
|
H A D | bug75776.phpt | 21 $compressed = file_get_contents(__DIR__ . "/75776.$ext"); 22 var_dump($function($compressed));
|
/PHP-8.0/ext/phar/tests/ |
H A D | bug52013.phpt | 22 $phar = new Phar(__DIR__ . '/compressed.phar'); 36 if (is_file(__DIR__ . '/compressed.phar')) 37 unlink(__DIR__ . '/compressed.phar');
|
H A D | 011.phpt | 15 // compressed file length does not match incompressed length for an uncompressed file 30 internal corruption of phar "%s" (compressed and uncompressed size does not match for uncompressed …
|
H A D | bug79912.phpt | 17 var_dump($file->isCompressed()); //true (the file is compressed) 19 var_dump($file->isCompressed()); //false (the file should not be compressed anymore)
|
H A D | pharfileinfo_getcrc32.phpt | 16 // compressed file length does not match incompressed length for an uncompressed file
|
/PHP-8.0/ext/mysqlnd/ |
H A D | config9.m4 | 10 [whether to disable compressed protocol support in mysqlnd], 12 [Disable support for the MySQL compressed protocol in mysqlnd])], 30 AC_DEFINE([MYSQLND_COMPRESSION_ENABLED], 1, [Enable compressed protocol support])
|
/PHP-8.0/ext/phar/ |
H A D | pharzip.h | 24 char compressed[2]; /* compression method 2 bytes */ member 154 char compressed[2]; /* compression method 2 bytes */ member
|
/PHP-8.0/ext/standard/tests/image/ |
H A D | getimagesize_swc.phpt | 2 GetImageSize() for compressed swf files
|
/PHP-8.0/ext/phar/tests/zip/ |
H A D | zlib.phpt | 2 Phar: process zlib-compressed zip alias
|