Lines Matching refs:b_arg
336 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg);
356 static inline void gmp_zval_binary_ui_op(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_o…
357 static inline void gmp_zval_binary_ui_op2(zval *return_value, zval *a_arg, zval *b_arg, gmp_binary_…
786 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg) /* {{{ */ in gmp_cmp() argument
795 if (Z_TYPE_P(b_arg) == IS_LONG) { in gmp_cmp()
799 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in gmp_cmp()
803 res = mpz_cmp_si(gmpnum_a, Z_LVAL_P(b_arg)); in gmp_cmp()
818 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
826 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { in gmp_zval_binary_ui_op()
830 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in gmp_zval_binary_ui_op()
836 b_is_zero = (Z_LVAL_P(b_arg) == 0); 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()
865 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
874 if (gmp_ui_op && Z_TYPE_P(b_arg) == IS_LONG && Z_LVAL_P(b_arg) >= 0) { in gmp_zval_binary_ui_op2()
879 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in gmp_zval_binary_ui_op2()
885 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op2()
906 gmp_ui_op(gmpnum_result1, gmpnum_result2, gmpnum_a, (gmp_ulong) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op2()
920 zval *a_arg, *b_arg; in _gmp_binary_ui_op() local
922 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in _gmp_binary_ui_op()
926 gmp_zval_binary_ui_op(return_value, a_arg, b_arg, gmp_op, gmp_ui_op, check_b_zero); in _gmp_binary_ui_op()
1010 zval *a_arg, *b_arg; in _gmp_binary_opl() local
1014 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in _gmp_binary_opl()
1019 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in _gmp_binary_opl()
1238 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1241 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1247 …gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_tdiv_qr, (gmp_binary_ui_op2_t) mpz_tdiv_qr_… in ZEND_FUNCTION()
1250 …gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_cdiv_qr, (gmp_binary_ui_op2_t) mpz_cdiv_qr_… in ZEND_FUNCTION()
1253 …gmp_zval_binary_ui_op2(return_value, a_arg, b_arg, mpz_fdiv_qr, (gmp_binary_ui_op2_t) mpz_fdiv_qr_… in ZEND_FUNCTION()
1266 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1269 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1275 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_tdiv_r, (gmp_binary_ui_op_t) mpz_tdiv_r_ui, … in ZEND_FUNCTION()
1278 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_cdiv_r, (gmp_binary_ui_op_t) mpz_cdiv_r_ui, … in ZEND_FUNCTION()
1281 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_fdiv_r, (gmp_binary_ui_op_t) mpz_fdiv_r_ui, … in ZEND_FUNCTION()
1294 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1297 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz|l", &a_arg, &b_arg, &round) == FAILURE) { in ZEND_FUNCTION()
1303 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_tdiv_q, (gmp_binary_ui_op_t) mpz_tdiv_q_ui, … in ZEND_FUNCTION()
1306 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_cdiv_q, (gmp_binary_ui_op_t) mpz_cdiv_q_ui, … in ZEND_FUNCTION()
1309 …gmp_zval_binary_ui_op(return_value, a_arg, b_arg, mpz_fdiv_q, (gmp_binary_ui_op_t) mpz_fdiv_q_ui, … in ZEND_FUNCTION()
1648 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1653 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1658 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in ZEND_FUNCTION()
1679 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1684 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1689 FETCH_GMP_ZVAL_DEP(gmpnum_b, b_arg, temp_b, temp_a); in ZEND_FUNCTION()
1722 zval *a_arg, *b_arg; in ZEND_FUNCTION() local
1724 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zz", &a_arg, &b_arg) == FAILURE){ in ZEND_FUNCTION()
1728 gmp_cmp(return_value, a_arg, b_arg); in ZEND_FUNCTION()