Home
last modified time | relevance | path

Searched refs:compressed (Results 1 – 25 of 50) sorted by relevance

12

/PHP-8.0/ext/zlib/tests/
H A Dinflate_get_read_len.phpt11 $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 Dbug71417.phpt11 $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 Dinflate_init_reuse.phpt14 $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 Ddeflate_init_reuse.phpt18 $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 Dinflate_get_status.phpt11 $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 Dgzuncompress_basic1.phpt17 $compressed = gzcompress($data);
20 var_dump(strcmp($data, gzuncompress($compressed)));
25 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n";
H A Ddeflate_add_basic.phpt54 $uncompressed = $compressed = "";
58 $compressed .= $stream->send($c);
60 $compressed .= $stream->send(null);
61 if ($uncompressed !== zlib_decode($compressed)) {
H A Dinflate_add_basic.phpt52 $compressed = zlib_encode($uncompressed, $mode);
53 $compressedLen = strlen($compressed);
59 $inflated .= $stream->send($compressed[$i]);
H A Dzlib_scheme_copy_variation2.phpt2 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 Dgzinflate_error1.phpt18 $compressed = gzcompress($data);
20 var_dump(gzinflate($compressed, $short_len));
H A Dzlib_scheme_copy_basic.phpt2 Test compress.zlib:// scheme with the copy function: compressed to compressed
H A Dgzuncompress_error1.phpt16 $compressed = gzcompress($data);
18 var_dump(gzuncompress($compressed, $short_len));
H A Dzlib_scheme_copy_variation1.phpt2 Test compress.zlib:// scheme with the copy function: compressed to uncompressed
H A Dgzreadgzwriteplain.phpt2 gzopen(), gzread(), gzwrite() for non-compressed data
/PHP-8.0/ext/bz2/tests/
H A Dbug71263.phpt11 $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 Dbug77080.phpt12 $compressed = stream_get_contents($stream);
13 var_dump(gzinflate($compressed) === $string);
H A Dbug75776.phpt21 $compressed = file_get_contents(__DIR__ . "/75776.$ext");
22 var_dump($function($compressed));
/PHP-8.0/ext/phar/tests/
H A Dbug52013.phpt22 $phar = new Phar(__DIR__ . '/compressed.phar');
36 if (is_file(__DIR__ . '/compressed.phar'))
37 unlink(__DIR__ . '/compressed.phar');
H A D011.phpt15 // 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 Dbug79912.phpt17 var_dump($file->isCompressed()); //true (the file is compressed)
19 var_dump($file->isCompressed()); //false (the file should not be compressed anymore)
H A Dpharfileinfo_getcrc32.phpt16 // compressed file length does not match incompressed length for an uncompressed file
/PHP-8.0/ext/mysqlnd/
H A Dconfig9.m410 [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 Dpharzip.h24 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 Dgetimagesize_swc.phpt2 GetImageSize() for compressed swf files
/PHP-8.0/ext/phar/tests/zip/
H A Dzlib.phpt2 Phar: process zlib-compressed zip alias

Completed in 26 milliseconds

12