Lines Matching refs:b_arg

184 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator);
203 static inline void gmp_zval_binary_ui_op(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_o…
204 static inline void gmp_zval_binary_ui_op2(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_…
751 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator) /* {{{ */ in gmp_cmp() argument
760 if (Z_TYPE_P(b_arg) == IS_LONG) { in gmp_cmp()
764 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_cmp()
768 res = mpz_cmp_si(gmpnum_a, Z_LVAL_P(b_arg)); in gmp_cmp()
783 static inline void gmp_zval_binary_ui_op(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_o… in gmp_zval_binary_ui_op() argument
790 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { in gmp_zval_binary_ui_op()
794 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_zval_binary_ui_op()
800 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op()
820 gmp_ui_op(gmpnum_result, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op()
833 static inline void gmp_zval_binary_ui_op2(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_… in gmp_zval_binary_ui_op2() argument
841 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { in gmp_zval_binary_ui_op2()
845 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in gmp_zval_binary_ui_op2()
851 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op2()
872 gmp_ui_op(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op2()
885 zval *a_arg, *b_arg; in _gmp_binary_ui_op() local
887 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in _gmp_binary_ui_op()
892 return_value, a_arg, b_arg, gmp_op, gmp_ui_op, check_b_zero, /* is_operator */ false); in _gmp_binary_ui_op()
1171 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1174 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1180 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_tdiv_qr, mpz_tdiv_qr_ui, 1); in ZEND_FUNCTION()
1183 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_cdiv_qr, mpz_cdiv_qr_ui, 1); in ZEND_FUNCTION()
1186 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_fdiv_qr, mpz_fdiv_qr_ui, 1); in ZEND_FUNCTION()
1198 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1201 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1208 return_value, a_arg, b_arg, mpz_tdiv_r, gmp_mpz_tdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1212 return_value, a_arg, b_arg, mpz_cdiv_r, gmp_mpz_cdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1216 return_value, a_arg, b_arg, mpz_fdiv_r, gmp_mpz_fdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1228 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1231 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1238 return_value, a_arg, b_arg, mpz_tdiv_q, gmp_mpz_tdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1242 return_value, a_arg, b_arg, mpz_cdiv_q, gmp_mpz_cdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1246 return_value, a_arg, b_arg, mpz_fdiv_q, gmp_mpz_fdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1645 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1650 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1655 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1675 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1680 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1684 if (Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) == 0) { in ZEND_FUNCTION()
1690 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1713 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1717 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1722 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1734 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1738 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1743 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1755 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1761 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1765 if (Z_TYPE_P(a_arg) == IS_LONG && Z_TYPE_P(b_arg) != IS_LONG) { in ZEND_FUNCTION()
1772 if (Z_TYPE_P(b_arg) == IS_LONG) { in ZEND_FUNCTION()
1776 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1783 result = mpz_kronecker_si(gmpnum_a, (gmp_long) Z_LVAL_P(b_arg)); in ZEND_FUNCTION()
1798 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1800 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1804 gmp_cmp(return_value, a_arg, b_arg, /* is_operator */ false); in ZEND_FUNCTION()
2085 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
2089 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
2094 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()