Home
last modified time | relevance | path

Searched refs:GMPG (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/gmp/
H A Dphp_gmp.h37 #define GMPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(gmp, v) macro
H A Dgmp.c566 if (GMPG(rand_initialized)) { in ZEND_MODULE_DEACTIVATE_D()
567 gmp_randclear(GMPG(rand_state)); in ZEND_MODULE_DEACTIVATE_D()
568 GMPG(rand_initialized) = 0; in ZEND_MODULE_DEACTIVATE_D()
1718 if (!GMPG(rand_initialized)) { in gmp_init_random()
1720 gmp_randinit_mt(GMPG(rand_state)); in gmp_init_random()
1722 gmp_randseed_ui(GMPG(rand_state), GENERATE_SEED()); in gmp_init_random()
1724 GMPG(rand_initialized) = 1; in gmp_init_random()
1741 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION()
1748 gmp_randseed(GMPG(rand_state), gmpnum_seed); in ZEND_FUNCTION()
1773 mpz_urandomb(gmpnum_result, GMPG(rand_state), bits); in ZEND_FUNCTION()
[all …]

Completed in 15 milliseconds