Lines Matching refs:b_arg

178 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator);
197 static inline void gmp_zval_binary_ui_op(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_o…
198 static inline void gmp_zval_binary_ui_op2(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_…
679 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator) /* {{{ */ in gmp_cmp() argument
688 if (Z_TYPE_P(b_arg) == IS_LONG) { in gmp_cmp()
692 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, is_operator ? 0 : 2); in gmp_cmp()
696 res = mpz_cmp_si(gmpnum_a, Z_LVAL_P(b_arg)); in gmp_cmp()
711 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
718 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { 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()
728 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op()
748 gmp_ui_op(gmpnum_result, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op()
761 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
769 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { 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()
779 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op2()
800 gmp_ui_op(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op2()
813 zval *a_arg, *b_arg; in _gmp_binary_ui_op() local
815 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in _gmp_binary_ui_op()
820 return_value, a_arg, b_arg, gmp_op, gmp_ui_op, check_b_zero, /* is_operator */ false); in _gmp_binary_ui_op()
1077 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1080 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1086 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_tdiv_qr, mpz_tdiv_qr_ui, 1); in ZEND_FUNCTION()
1089 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_cdiv_qr, mpz_cdiv_qr_ui, 1); in ZEND_FUNCTION()
1092 gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_fdiv_qr, mpz_fdiv_qr_ui, 1); in ZEND_FUNCTION()
1104 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1107 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1114 return_value, a_arg, b_arg, mpz_tdiv_r, gmp_mpz_tdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1118 return_value, a_arg, b_arg, mpz_cdiv_r, gmp_mpz_cdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1122 return_value, a_arg, b_arg, mpz_fdiv_r, gmp_mpz_fdiv_r_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1134 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1137 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1144 return_value, a_arg, b_arg, mpz_tdiv_q, gmp_mpz_tdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1148 return_value, a_arg, b_arg, mpz_cdiv_q, gmp_mpz_cdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1152 return_value, a_arg, b_arg, mpz_fdiv_q, gmp_mpz_fdiv_q_ui, 1, /* is_operator */ false); in ZEND_FUNCTION()
1538 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1543 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1548 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1568 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1573 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1578 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1602 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1606 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1611 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1623 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1627 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1632 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1644 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()
1654 if (Z_TYPE_P(a_arg) == IS_LONG && Z_TYPE_P(b_arg) != IS_LONG) { in ZEND_FUNCTION()
1661 if (Z_TYPE_P(b_arg) == IS_LONG) { in ZEND_FUNCTION()
1665 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()
1672 result = mpz_kronecker_si(gmpnum_a, (gmp_long) Z_LVAL_P(b_arg)); in ZEND_FUNCTION()
1687 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1689 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1693 gmp_cmp(return_value, a_arg, b_arg, /* is_operator */ false); in ZEND_FUNCTION()
1964 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1968 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1973 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a, 2); in ZEND_FUNCTION()