Lines Matching refs:gmpnum_result
468 mpz_ptr gmpnum_op, gmpnum_result; in shift_operator_helper() local
472 INIT_GMP_RETVAL(gmpnum_result); in shift_operator_helper()
473 op(gmpnum_result, gmpnum_op, (gmp_ulong) shift); in shift_operator_helper()
820 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in gmp_zval_binary_ui_op() local
849 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_binary_ui_op()
852 gmp_ui_op(gmpnum_result, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op()
854 gmp_op(gmpnum_result, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op()
936 mpz_ptr gmpnum_a, gmpnum_result; in gmp_zval_unary_op() local
941 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_unary_op()
942 gmp_op(gmpnum_result, gmpnum_a); in gmp_zval_unary_op()
952 mpz_ptr gmpnum_result; in gmp_zval_unary_ui_op() local
954 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_unary_ui_op()
955 gmp_op(gmpnum_result, zval_get_long(a_arg)); in gmp_zval_unary_ui_op()
1383 mpz_ptr gmpnum_result, gmpnum_base; in ZEND_FUNCTION() local
1397 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1398 mpz_ui_pow_ui(gmpnum_result, Z_LVAL_P(base_arg), exp); in ZEND_FUNCTION()
1401 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1402 mpz_pow_ui(gmpnum_result, gmpnum_base, exp); in ZEND_FUNCTION()
1413 mpz_ptr gmpnum_base, gmpnum_exp, gmpnum_mod, gmpnum_result; in ZEND_FUNCTION() local
1445 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1447 mpz_powm_ui(gmpnum_result, gmpnum_base, (zend_ulong) Z_LVAL_P(exp_arg), gmpnum_mod); in ZEND_FUNCTION()
1449 mpz_powm(gmpnum_result, gmpnum_base, gmpnum_exp, gmpnum_mod); in ZEND_FUNCTION()
1463 mpz_ptr gmpnum_a, gmpnum_result; in ZEND_FUNCTION() local
1478 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1479 mpz_sqrt(gmpnum_result, gmpnum_a); in ZEND_FUNCTION()
1523 mpz_ptr gmpnum_a, gmpnum_result; in ZEND_FUNCTION() local
1543 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1544 mpz_root(gmpnum_result, gmpnum_a, (gmp_ulong) nth); in ZEND_FUNCTION()
1680 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in ZEND_FUNCTION() local
1691 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1692 res = mpz_invert(gmpnum_result, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1769 mpz_ptr gmpnum_result; in ZEND_FUNCTION() local
1775 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
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()
1818 mpz_ptr gmpnum_result; in ZEND_FUNCTION() local
1829 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1832 mpz_urandomb(gmpnum_result, GMPG(rand_state), bits); in ZEND_FUNCTION()
1841 mpz_ptr gmpnum_min, gmpnum_max, gmpnum_result; in ZEND_FUNCTION() local
1860 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1869 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1872 mpz_add_ui(gmpnum_result, gmpnum_result, Z_LVAL_P(min_arg)); in ZEND_FUNCTION()
1887 INIT_GMP_RETVAL(gmpnum_result); in ZEND_FUNCTION()
1892 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range); in ZEND_FUNCTION()
1893 mpz_add(gmpnum_result, gmpnum_result, gmpnum_min); in ZEND_FUNCTION()