Home
last modified time | relevance | path

Searched refs:bz2 (Results 1 – 25 of 83) sorted by relevance

1234

/php-src/ext/bz2/
H A Dconfig.m41 PHP_ARG_WITH([bz2],
3 [AS_HELP_STRING([[--with-bz2[=DIR]]],
19 PHP_CHECK_LIBRARY([bz2], [BZ2_bzerror], [
21 PHP_ADD_LIBRARY_WITH_PATH([bz2],
25 [Define to 1 if the PHP extension 'bz2' is available.])
27 [AC_MSG_FAILURE([The bz2 extension requires libbz2 >= 1.0.0])],
30 PHP_NEW_EXTENSION([bz2], [bz2.c bz2_filter.c], [$ext_shared])
H A Dconfig.w323 ARG_WITH("bz2", "BZip2", "no");
6 if (CHECK_LIB("libbz2_a.lib;libbz2.lib", "bz2", PHP_BZ2) &&
8 EXTENSION("bz2", "bz2.c bz2_filter.c");
9 AC_DEFINE('HAVE_BZ2', 1, "Define to 1 if the PHP extension 'bz2' is available.");
15 WARNING("bz2 not enabled; libraries and headers not found");
H A Dbz2.c39 static PHP_MINIT_FUNCTION(bz2);
40 static PHP_MSHUTDOWN_FUNCTION(bz2);
41 static PHP_MINFO_FUNCTION(bz2);
47 PHP_MINIT(bz2),
48 PHP_MSHUTDOWN(bz2),
51 PHP_MINFO(bz2),
57 ZEND_GET_MODULE(bz2)
278 static PHP_MINIT_FUNCTION(bz2) in PHP_MINIT_FUNCTION() argument
285 static PHP_MSHUTDOWN_FUNCTION(bz2) in PHP_MSHUTDOWN_FUNCTION() argument
293 static PHP_MINFO_FUNCTION(bz2) in PHP_MINFO_FUNCTION() argument
/php-src/ext/phar/tests/tar/
H A Dtar_makebz2.phpt5 bz2
12 $fname2 = __DIR__ . '/tar_makebz2.phar.tar.bz2';
13 $fname3 = __DIR__ . '/tar_makebz2_b.phar.tar.bz2';
29 @unlink(__DIR__ . '/tar_makebz2.phar.bz2');
31 @unlink(__DIR__ . '/tar_makebz2.phar.tar.bz2');
32 @unlink(__DIR__ . '/tar_makebz2_b.phar.tar.bz2');
H A Dphar_convert_phar3.phpt5 bz2
32 copy($fname . '.bz2', $fname2);
42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.bz2');
H A Dtar_bz2.phpt5 bz2
18 $tar = new tarmaker($fname, 'bz2');
/php-src/ext/bz2/tests/
H A Dbzerr_functions_on_invalid_stream.phpt2 Calling bzerr* functions on non-bz2 streams
4 bz2
25 bzerrno(): Argument #1 ($bz) must be a bz2 stream
26 bzerrstr(): Argument #1 ($bz) must be a bz2 stream
27 bzerror(): Argument #1 ($bz) must be a bz2 stream
H A Dbug81092.phpt4 bz2
7 $stream = fopen(__DIR__ . "/81092.bz2", 'wb+');
13 var_dump(strlen(bzdecompress(file_get_contents(__DIR__ . "/81092.bz2"))));
17 @unlink(__DIR__ . "/81092.bz2");
H A Dbug72613.phpt4 bz2
7 $fp = bzopen(__DIR__.'/72613.bz2', 'r');
H A Dwith_files.phpt4 bz2
10 $filename = "with_files.bz2";
H A Dbug51997.phpt4 bz2
10 $filename = "bug51997.bz2";
H A D003-mb.phpt4 bz2
8 $fd = bzopen(__DIR__."/003私はガラスを食べられます.txt.bz2","r");
H A D003.phpt4 bz2
8 $fd = bzopen(__DIR__."/003.txt.bz2","r");
H A D004.phpt4 bz2
8 $fd = bzopen(__DIR__."/004_1.txt.bz2","r");
13 $fd2 = bzopen(__DIR__."/004_2.txt.bz2","r");
/php-src/ext/standard/tests/streams/
H A Dbug81346.phpt6 bz2
9 $s = fopen("compress.bzip2://" . __DIR__ . "/bug81346.bz2", "w");
16 @unlink(__DIR__ . "/bug81346.bz2");
H A Dbug75776.phpt5 bz2
10 'bz2' => ['bzip2.compress', 'bzdecompress']
29 @unlink(__DIR__ . "/75776.bz2");
/php-src/ext/phar/tests/
H A Dphar_get_supportedcomp1.phpt2 Phar::getSupportedCompression() (bz2 and zlib)
5 bz2
H A Dphar_get_supportedcomp2.phpt2 Phar::getSupportedCompression() (bz2 only)
5 bz2
H A Dphar_get_supportedcomp3.phpt7 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?>
H A Dphar_get_supportedcomp4.phpt6 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?>
H A Dphar_convert_tar3.phpt2 Phar::convertToTar() bz2 compressed
5 bz2
14 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar.bz2';
46 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.bz2');
H A Dphpinfo_003.phpt8 if (extension_loaded("bz2")) die("skip bz2 loaded");
30 bzip2 compression => disabled (install ext/bz2)
H A Dphar_bz2.phpt5 bz2
27 $bz2 = true;
H A D003.phpt9 extension_loaded("zlib") || extension_loaded("bz2")
H A D003a.phpt8 var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));

Completed in 20 milliseconds

1234