Lines Matching refs:gmpnum_b
681 mpz_ptr gmpnum_a, gmpnum_b; in gmp_cmp() local
692 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_cmp()
698 res = mpz_cmp(gmpnum_a, gmpnum_b); in gmp_cmp()
713 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in gmp_zval_binary_ui_op() local
719 gmpnum_b = NULL; in gmp_zval_binary_ui_op()
722 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_zval_binary_ui_op()
727 if (!gmpnum_b) { in gmp_zval_binary_ui_op()
730 b_is_zero = !mpz_cmp_ui(gmpnum_b, 0); in gmp_zval_binary_ui_op()
747 if (!gmpnum_b) { in gmp_zval_binary_ui_op()
750 gmp_op(gmpnum_result, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op()
763 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result1, gmpnum_result2; in gmp_zval_binary_ui_op2() local
770 gmpnum_b = NULL; in gmp_zval_binary_ui_op2()
773 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in gmp_zval_binary_ui_op2()
778 if (!gmpnum_b) { in gmp_zval_binary_ui_op2()
781 b_is_zero = !mpz_cmp_ui(gmpnum_b, 0); in gmp_zval_binary_ui_op2()
799 if (!gmpnum_b) { in gmp_zval_binary_ui_op2()
802 gmp_op(gmpnum_result1, gmpnum_result2, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op2()
1539 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_t, gmpnum_s, gmpnum_g; in ZEND_FUNCTION() local
1548 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1559 mpz_gcdext(gmpnum_g, gmpnum_s, gmpnum_t, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1569 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in ZEND_FUNCTION() local
1578 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1581 if (0 == mpz_cmp_ui(gmpnum_b, 0)) { in ZEND_FUNCTION()
1589 res = mpz_invert(gmpnum_result, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1603 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1611 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1613 RETVAL_LONG(mpz_jacobi(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()
1624 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1632 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1634 RETVAL_LONG(mpz_legendre(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()
1645 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1665 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1670 result = mpz_si_kronecker((gmp_long) Z_LVAL_P(a_arg), gmpnum_b); in ZEND_FUNCTION()
1674 result = mpz_kronecker(gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1965 mpz_ptr gmpnum_a, gmpnum_b; in ZEND_FUNCTION() local
1973 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1975 RETVAL_LONG(mpz_hamdist(gmpnum_a, gmpnum_b)); in ZEND_FUNCTION()