Lines Matching refs:result

182 static void gmp_strval(zval *result, mpz_t gmpnum, int base);
360 result, op1, op2, op, uop, check_b_zero, /* is_operator */ true); \
368 gmp_zval_unary_op(result, op1, op); \
374 static zend_result gmp_do_operation_ex(uint8_t opcode, zval *result, zval *op1, zval *op2) /* {{{ */ in gmp_do_operation_ex() argument
384 shift_operator_helper(mpz_pow_ui, result, op1, op2, opcode); in gmp_do_operation_ex()
391 shift_operator_helper(mpz_mul_2exp, result, op1, op2, opcode); in gmp_do_operation_ex()
394 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2, opcode); in gmp_do_operation_ex()
411 static zend_result gmp_do_operation(uint8_t opcode, zval *result, zval *op1, zval *op2) /* {{{ */ in gmp_do_operation() argument
416 if (result == op1) { in gmp_do_operation()
421 retval = gmp_do_operation_ex(opcode, result, op1, op2); in gmp_do_operation()
433 zval result; in gmp_compare() local
435 gmp_cmp(&result, op1, op2, /* is_operator */ true); in gmp_compare()
443 ZEND_ASSERT(Z_TYPE(result) == IS_LONG); in gmp_compare()
444 return Z_LVAL(result); in gmp_compare()
649 static void gmp_strval(zval *result, mpz_t gmpnum, int base) /* {{{ */ in gmp_strval() argument
676 ZVAL_NEW_STR(result, str); in gmp_strval()
1669 int result; in ZEND_FUNCTION() local
1691 result = mpz_si_kronecker((gmp_long) Z_LVAL_P(a_arg), gmpnum_b); in ZEND_FUNCTION()
1693 result = mpz_kronecker_si(gmpnum_a, (gmp_long) Z_LVAL_P(b_arg)); in ZEND_FUNCTION()
1695 result = mpz_kronecker(gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1701 RETURN_LONG(result); in ZEND_FUNCTION()