Lines Matching refs:gmpnum_b
743 mpz_ptr gmpnum_a, gmpnum_b; in gmp_cmp() local
754 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_cmp()
760 res = mpz_cmp(gmpnum_a, gmpnum_b); in gmp_cmp()
775 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in gmp_zval_binary_ui_op() local
781 gmpnum_b = NULL; in gmp_zval_binary_ui_op()
784 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_zval_binary_ui_op()
789 if (!gmpnum_b) { in gmp_zval_binary_ui_op()
792 b_is_zero = !mpz_cmp_ui(gmpnum_b, 0); in gmp_zval_binary_ui_op()
809 if (!gmpnum_b) { in gmp_zval_binary_ui_op()
812 gmp_op(gmpnum_result, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op()
825 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result1, gmpnum_result2; in gmp_zval_binary_ui_op2() local
832 gmpnum_b = NULL; in gmp_zval_binary_ui_op2()
835 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in gmp_zval_binary_ui_op2()
840 if (!gmpnum_b) { in gmp_zval_binary_ui_op2()
843 b_is_zero = !mpz_cmp_ui(gmpnum_b, 0); in gmp_zval_binary_ui_op2()
861 if (!gmpnum_b) { in gmp_zval_binary_ui_op2()
864 gmp_op(gmpnum_result1, gmpnum_result2, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op2()
1636 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_t, gmpnum_s, gmpnum_g; in ZEND_FUNCTION() local
1645 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1656 mpz_gcdext(gmpnum_g, gmpnum_s, gmpnum_t, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1666 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in ZEND_FUNCTION() local
1675 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1678 if (0 == mpz_cmp_ui(gmpnum_b, 0)) { in ZEND_FUNCTION()
1686 res = mpz_invert(gmpnum_result, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1700 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1708 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1710 RETVAL_LONG(mpz_jacobi(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()
1721 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1729 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1731 RETVAL_LONG(mpz_legendre(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()
1742 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1762 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1767 result = mpz_si_kronecker((gmp_long) Z_LVAL_P(a_arg), gmpnum_b); in ZEND_FUNCTION()
1771 result = mpz_kronecker(gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
2072 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
2080 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
2082 RETVAL_LONG(mpz_hamdist(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()