Searched refs:compressed (Results 1 – 25 of 77) sorted by relevance
1234
/php-src/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 | 10 $compressed = gzencode($uncompressed); 12 for ($i=0;$i<strlen($compressed);$i++) { 13 $inflated .= inflate_add($resource, $compressed[$i]); 20 for ($i=0;$i<strlen($compressed);$i++) { 21 $inflated .= inflate_add($resource, $compressed[$i]);
|
H A D | deflate_init_reuse.phpt | 14 $uncompressed = $compressed = ""; 17 $compressed .= deflate_add($resource, $char, ZLIB_NO_FLUSH); 19 $compressed .= deflate_add($resource, "", ZLIB_FINISH); 20 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 | 13 $compressed = gzcompress($data); 16 var_dump(strcmp($data, gzuncompress($compressed))); 21 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n";
|
H A D | deflate_add_basic.phpt | 50 $uncompressed = $compressed = ""; 54 $compressed .= $stream->send($c); 56 $compressed .= $stream->send(null); 57 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 | gzinflate_error1.phpt | 14 $compressed = gzcompress($data); 16 var_dump(gzinflate($compressed, $short_len));
|
H A D | zlib_scheme_copy_variation2.phpt | 2 Test compress.zlib:// scheme with the copy function: uncompressed to compressed 30 //gzopen can read compressed and uncompressed so we 32 //was compressed.
|
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 | 12 $compressed = gzcompress($data); 14 var_dump(gzuncompress($compressed, $short_len));
|
/php-src/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-src/ext/phar/tests/ |
H A D | bug52013.phpt | 20 $phar = new Phar(__DIR__ . '/compressed.phar'); 34 if (is_file(__DIR__ . '/compressed.phar')) 35 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 …
|
/php-src/ext/standard/tests/streams/ |
H A D | bug77080.phpt | 10 $compressed = stream_get_contents($stream); 11 var_dump(gzinflate($compressed) === $string);
|
H A D | bug75776.phpt | 19 $compressed = file_get_contents(__DIR__ . "/75776.$ext"); 20 var_dump($function($compressed));
|
/php-src/ext/fileinfo/tests/upstream/ |
H A D | zstd-skippable-frame-0.result | 1 Zstandard compressed data (v0.2)
|
H A D | zstd-skippable-frame-4.result | 1 Zstandard compressed data (v0.3)
|
H A D | zstd-skippable-frame-8.result | 1 Zstandard compressed data (v0.4)
|
H A D | zstd-v0.3-FF.result | 1 Zstandard compressed data (v0.3)
|
H A D | zstd-v0.4-FF.result | 1 Zstandard compressed data (v0.4)
|
H A D | zstd-v0.5-FF.result | 1 Zstandard compressed data (v0.5)
|
H A D | zstd-v0.2-FF.result | 1 Zstandard compressed data (v0.2)
|
H A D | zstd-v0.6-FF.result | 1 Zstandard compressed data (v0.6)
|
Completed in 23 milliseconds
1234