Lines Matching refs:GMPG
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()
1779 mpz_urandomb(gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS); in ZEND_FUNCTION()
1781 mpz_urandomb(gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB); in ZEND_FUNCTION()
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()
1869 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1892 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()