Home
last modified time | relevance | path

Searched refs:gmp (Results 1 – 25 of 89) sorted by relevance

1234

/PHP-8.0/ext/gmp/
H A Dconfig.m41 PHP_ARG_WITH([gmp],
3 [AS_HELP_STRING([[--with-gmp[=DIR]]],
8 PHP_CHECK_LIBRARY(gmp, __gmpz_rootrem,
13 PHP_ADD_LIBRARY(gmp,,GMP_SHARED_LIBADD)
15 if test ! -f $PHP_GMP/include/gmp.h; then
16 AC_MSG_ERROR(Unable to locate gmp.h)
19 PHP_CHECK_LIBRARY(gmp, __gmpz_rootrem,
26 PHP_ADD_LIBRARY_WITH_PATH(gmp, $PHP_GMP/$PHP_LIBDIR, GMP_SHARED_LIBADD)
30 PHP_INSTALL_HEADERS([ext/gmp/php_gmp_int.h])
32 PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
H A Dphp_gmp.h28 ZEND_MODULE_STARTUP_D(gmp);
29 ZEND_MODULE_DEACTIVATE_D(gmp);
30 ZEND_MODULE_INFO_D(gmp);
32 ZEND_BEGIN_MODULE_GLOBALS(gmp)
35 ZEND_END_MODULE_GLOBALS(gmp)
37 #define GMPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(gmp, v)
H A Dconfig.w323 ARG_WITH("gmp", "Include GNU MP support.", "no");
6 if (CHECK_LIB("mpir_a.lib", "gmp", PHP_GMP) &&
7 …CHECK_HEADER_ADD_INCLUDE("gmp.h", "CFLAGS_GMP", PHP_GMP + ";" + PHP_PHP_BUILD + "\\include\\mpir"…
8 EXTENSION("gmp", "gmp.c", null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
9 PHP_INSTALL_HEADERS("ext/gmp", "php_gmp_int.h");
/PHP-8.0/ext/gmp/tests/
H A Dbug67917.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
10 $gmp = gmp_init(42);
11 $gmp <<= 1;
H A Dgh9308.phpt4 <?php extension_loaded('gmp') or die('skip gmp extension is not available'); ?>
12 $gmp = gmp_init(gmp_init(123));
H A Dbug659967.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
9 $gmp = gmp_init('10');
H A Dunserialize_with_reference.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_random_seed.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
21 // zero gmp
45 // negative gmp
69 // positive gmp
84 // large negative gmp
96 // large positive gmp
H A Dbug50175.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dbug69803.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_kronecker.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_lcm.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_import.phpt4 <?php if (!extension_loaded("gmp")) echo "skip"; ?>
35 $gmp = gmp_import(hex2bin($test[3]), $test[1], $test[2]);
36 if ($gmp instanceof GMP) {
37 $result = gmp_strval($gmp, 16);
43 $type = gettype($gmp);
H A Dgmp_pow2.phpt2 Test pow() with gmp object
4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
H A Dgmp_perfect_power.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_binomial.phpt4 <?php if (!extension_loaded('gmp')) die('skip gmp extension not loaded'); ?>
H A Dgmp_export.phpt4 <?php if (!extension_loaded("gmp")) echo "skip"; ?>
37 $gmp = gmp_init($test[0], 16);
38 $str = gmp_export($gmp, $test[1], $test[2]);
H A D002.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
H A Dclone.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
H A Dbug66872.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
H A Dcomparison.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
H A Dgmp_php_int_max.phpt5 if (!extension_loaded("gmp")) print "skip";
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug70513.phpt4 <?php if (!extension_loaded('gmp')) die('skip requires gmp');
/PHP-8.0/Zend/tests/
H A Dtemporary_cleaning_014.phpt4 <?php if (!extension_loaded("gmp")) print "skip"; ?>
/PHP-8.0/.github/actions/brew/
H A Daction.yml29 gmp \

Completed in 49 milliseconds

1234