Searched refs:GMPG (Results 1 – 2 of 2) sorted by relevance
687 if (GMPG(rand_initialized)) { in ZEND_MODULE_DEACTIVATE_D()688 gmp_randclear(GMPG(rand_state)); in ZEND_MODULE_DEACTIVATE_D()689 GMPG(rand_initialized) = 0; in ZEND_MODULE_DEACTIVATE_D()1754 if (!GMPG(rand_initialized)) { in gmp_init_random()1756 gmp_randinit_mt(GMPG(rand_state)); in gmp_init_random()1758 gmp_randseed_ui(GMPG(rand_state), GENERATE_SEED()); in gmp_init_random()1760 GMPG(rand_initialized) = 1; in gmp_init_random()1801 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION()1806 gmp_randseed(GMPG(rand_state), gmpnum_seed); in ZEND_FUNCTION()1832 mpz_urandomb(gmpnum_result, GMPG(rand_state), bits); in ZEND_FUNCTION()[all …]
98 #define GMPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(gmp, v) macro
Completed in 11 milliseconds