Lines Matching refs:op1

55 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2);
56 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2);
57 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2);
58 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2);
59 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2);
60 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2);
61 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2);
62 ZEND_API zend_result ZEND_FASTCALL boolean_not_function(zval *result, zval *op1);
63 ZEND_API zend_result ZEND_FASTCALL bitwise_not_function(zval *result, zval *op1);
64 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2);
65 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2);
66 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2);
67 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2);
68 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2);
69 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2);
71 ZEND_API bool ZEND_FASTCALL zend_is_identical(const zval *op1, const zval *op2);
73 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2);
74 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2);
75 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2);
76 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2);
77 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2);
78 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2);
299 ZEND_API zend_result ZEND_FASTCALL increment_function(zval *op1);
451 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2);
453 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
455 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2);
456 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive);
457 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2);
458 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2);
459 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2);
529 static zend_always_inline void fast_long_increment_function(zval *op1) in fast_long_increment_function() argument
536 : "r"(&op1->value) in fast_long_increment_function()
541 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
547 : "r"(&op1->value) in fast_long_increment_function()
552 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
560 : "r"(&op1->value) in fast_long_increment_function()
565 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
568 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_increment_function()
570 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
572 Z_LVAL_P(op1) = lresult; in fast_long_increment_function()
576 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), 1, &llresult))) { in fast_long_increment_function()
578 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
580 Z_LVAL_P(op1) = llresult; in fast_long_increment_function()
583 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function()
585 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
587 Z_LVAL_P(op1)++; in fast_long_increment_function()
592 static zend_always_inline void fast_long_decrement_function(zval *op1) in fast_long_decrement_function() argument
599 : "r"(&op1->value) in fast_long_decrement_function()
604 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
610 : "r"(&op1->value) in fast_long_decrement_function()
615 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
623 : "r"(&op1->value) in fast_long_decrement_function()
628 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
631 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_decrement_function()
633 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
635 Z_LVAL_P(op1) = lresult; in fast_long_decrement_function()
639 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), 1, &llresult))) { in fast_long_decrement_function()
641 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
643 Z_LVAL_P(op1) = llresult; in fast_long_decrement_function()
646 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MIN)) { in fast_long_decrement_function()
648 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MIN - 1.0); in fast_long_decrement_function()
650 Z_LVAL_P(op1)--; in fast_long_decrement_function()
655 static zend_always_inline void fast_long_add_function(zval *result, zval *op1, zval *op2) in fast_long_add_function() argument
666 "r"(&op1->value), in fast_long_add_function()
674 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
684 "r"(&op1->value), in fast_long_add_function()
692 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
704 "r"(&op1->value), in fast_long_add_function()
712 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
715 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_add_function()
716 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
722 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_add_function()
723 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
734 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_add_function()
735 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != ((Z_LVAL_P(op1) + Z_LVAL_P(op2)) & LONG_SIGN_MASK))) { in fast_long_add_function()
736 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
738 ZVAL_LONG(result, Z_LVAL_P(op1) + Z_LVAL_P(op2)); in fast_long_add_function()
743 static zend_always_inline void fast_long_sub_function(zval *result, zval *op1, zval *op2) in fast_long_sub_function() argument
754 "r"(&op1->value), in fast_long_sub_function()
762 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
772 "r"(&op1->value), in fast_long_sub_function()
780 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
792 "r"(&op1->value), in fast_long_sub_function()
800 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
803 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_sub_function()
804 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
810 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_sub_function()
811 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
816 ZVAL_LONG(result, Z_LVAL_P(op1) - Z_LVAL_P(op2)); in fast_long_sub_function()
818 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_sub_function()
819 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(result) & LONG_SIGN_MASK))) { in fast_long_sub_function()
820 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
836 static zend_always_inline bool fast_equal_check_function(zval *op1, zval *op2) in fast_equal_check_function() argument
838 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_equal_check_function()
840 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_function()
842 return ((double)Z_LVAL_P(op1)) == Z_DVAL_P(op2); in fast_equal_check_function()
844 } else if (EXPECTED(Z_TYPE_P(op1) == IS_DOUBLE)) { in fast_equal_check_function()
846 return Z_DVAL_P(op1) == Z_DVAL_P(op2); in fast_equal_check_function()
848 return Z_DVAL_P(op1) == ((double)Z_LVAL_P(op2)); in fast_equal_check_function()
850 } else if (EXPECTED(Z_TYPE_P(op1) == IS_STRING)) { in fast_equal_check_function()
852 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_function()
855 return zend_compare(op1, op2) == 0; in fast_equal_check_function()
858 static zend_always_inline bool fast_equal_check_long(zval *op1, zval *op2) in fast_equal_check_long() argument
861 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_long()
863 return zend_compare(op1, op2) == 0; in fast_equal_check_long()
866 static zend_always_inline bool fast_equal_check_string(zval *op1, zval *op2) in fast_equal_check_string() argument
869 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_string()
871 return zend_compare(op1, op2) == 0; in fast_equal_check_string()
874 static zend_always_inline bool fast_is_identical_function(zval *op1, zval *op2) in fast_is_identical_function() argument
876 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function()
878 } else if (Z_TYPE_P(op1) <= IS_TRUE) { in fast_is_identical_function()
881 return zend_is_identical(op1, op2); in fast_is_identical_function()
884 static zend_always_inline bool fast_is_not_identical_function(zval *op1, zval *op2) in fast_is_not_identical_function() argument
886 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function()
888 } else if (Z_TYPE_P(op1) <= IS_TRUE) { in fast_is_not_identical_function()
891 return !zend_is_identical(op1, op2); in fast_is_not_identical_function()