Lines Matching refs:gmpnum_range
1903 mpz_t gmpnum_range; in ZEND_FUNCTION() local
1922 mpz_init(gmpnum_range); in ZEND_FUNCTION()
1925 mpz_sub_ui(gmpnum_range, gmpnum_max, Z_LVAL_P(min_arg) - 1); in ZEND_FUNCTION()
1927 mpz_add_ui(gmpnum_range, gmpnum_max, 1); in ZEND_FUNCTION()
1930 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1936 mpz_clear(gmpnum_range); in ZEND_FUNCTION()
1951 mpz_init(gmpnum_range); in ZEND_FUNCTION()
1953 mpz_sub(gmpnum_range, gmpnum_max, gmpnum_min); in ZEND_FUNCTION()
1954 mpz_add_ui(gmpnum_range, gmpnum_range, 1); in ZEND_FUNCTION()
1955 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1958 mpz_clear(gmpnum_range); in ZEND_FUNCTION()