Home
last modified time | relevance | path

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

/PHP-8.3/ext/gmp/
H A Dphp_gmp.h37 #define GMPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(gmp, v) macro
H A Dgmp.c618 if (GMPG(rand_initialized)) { in ZEND_MODULE_DEACTIVATE_D()
619 gmp_randclear(GMPG(rand_state)); in ZEND_MODULE_DEACTIVATE_D()
620 GMPG(rand_initialized) = 0; in ZEND_MODULE_DEACTIVATE_D()
1815 if (!GMPG(rand_initialized)) { in gmp_init_random()
1817 gmp_randinit_mt(GMPG(rand_state)); in gmp_init_random()
1823 gmp_randseed_ui(GMPG(rand_state), seed); in gmp_init_random()
1825 GMPG(rand_initialized) = 1; in gmp_init_random()
1842 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION()
1849 gmp_randseed(GMPG(rand_state), gmpnum_seed); in ZEND_FUNCTION()
1916 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
[all …]

Completed in 12 milliseconds