Lines Matching refs:op2
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);
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);
291 ZEND_API zend_result ZEND_FASTCALL decrement_function(zval *op2);
442 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2);
444 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
446 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2);
447 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive);
448 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2);
449 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2);
450 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2);
646 static zend_always_inline void fast_long_add_function(zval *result, zval *op1, zval *op2) in fast_long_add_function() argument
658 "r"(&op2->value), in fast_long_add_function()
665 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
676 "r"(&op2->value), in fast_long_add_function()
683 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
696 "r"(&op2->value), in fast_long_add_function()
703 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
706 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_add_function()
707 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
713 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_add_function()
714 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
725 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_add_function()
726 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != ((Z_LVAL_P(op1) + Z_LVAL_P(op2)) & LONG_SIGN_MASK))) { in fast_long_add_function()
727 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
729 ZVAL_LONG(result, Z_LVAL_P(op1) + Z_LVAL_P(op2)); in fast_long_add_function()
734 static zend_always_inline void fast_long_sub_function(zval *result, zval *op1, zval *op2) in fast_long_sub_function() argument
746 "r"(&op2->value), in fast_long_sub_function()
753 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
764 "r"(&op2->value), in fast_long_sub_function()
771 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
784 "r"(&op2->value), in fast_long_sub_function()
791 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
794 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_sub_function()
795 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
801 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_sub_function()
802 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
807 ZVAL_LONG(result, Z_LVAL_P(op1) - Z_LVAL_P(op2)); in fast_long_sub_function()
809 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_sub_function()
811 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
827 static zend_always_inline bool fast_equal_check_function(zval *op1, zval *op2) in fast_equal_check_function() argument
830 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
831 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_function()
832 } else if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
833 return ((double)Z_LVAL_P(op1)) == Z_DVAL_P(op2); in fast_equal_check_function()
836 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
837 return Z_DVAL_P(op1) == Z_DVAL_P(op2); in fast_equal_check_function()
838 } else if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
839 return Z_DVAL_P(op1) == ((double)Z_LVAL_P(op2)); in fast_equal_check_function()
842 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_function()
843 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_function()
846 return zend_compare(op1, op2) == 0; in fast_equal_check_function()
849 static zend_always_inline bool fast_equal_check_long(zval *op1, zval *op2) in fast_equal_check_long() argument
851 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long()
852 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_long()
854 return zend_compare(op1, op2) == 0; in fast_equal_check_long()
857 static zend_always_inline bool fast_equal_check_string(zval *op1, zval *op2) in fast_equal_check_string() argument
859 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_string()
860 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_string()
862 return zend_compare(op1, op2) == 0; in fast_equal_check_string()
865 static zend_always_inline bool fast_is_identical_function(zval *op1, zval *op2) in fast_is_identical_function() argument
867 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function()
872 return zend_is_identical(op1, op2); in fast_is_identical_function()
875 static zend_always_inline bool fast_is_not_identical_function(zval *op1, zval *op2) in fast_is_not_identical_function() argument
877 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function()
882 return !zend_is_identical(op1, op2); in fast_is_not_identical_function()