Lines Matching refs:GMPG
566 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()
1809 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1834 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()