Lines Matching refs:op1
461 static void shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2) { in shift_operator_helper() argument
471 FETCH_GMP_ZVAL(gmpnum_op, op1, temp); in shift_operator_helper()
480 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \
489 gmp_zval_unary_op(result, op1, op); \
492 static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ in gmp_do_operation_ex() argument
502 shift_operator_helper(mpz_pow_ui, result, op1, op2); in gmp_do_operation_ex()
509 shift_operator_helper(mpz_mul_2exp, result, op1, op2); in gmp_do_operation_ex()
512 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2); in gmp_do_operation_ex()
529 static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ in gmp_do_operation() argument
534 if (result == op1) { in gmp_do_operation()
535 ZVAL_COPY_VALUE(&op1_copy, op1); in gmp_do_operation()
536 op1 = &op1_copy; in gmp_do_operation()
539 retval = gmp_do_operation_ex(opcode, result, op1, op2); in gmp_do_operation()
541 if (retval == SUCCESS && op1 == &op1_copy) { in gmp_do_operation()
542 zval_dtor(op1); in gmp_do_operation()
549 static int gmp_compare(zval *result, zval *op1, zval *op2) /* {{{ */ in gmp_compare() argument
551 gmp_cmp(result, op1, op2); in gmp_compare()