Lines Matching refs:op2

41 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2);
42 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2);
43 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2);
44 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2);
45 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2);
46 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2);
47 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2);
50 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2);
51 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2);
52 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2);
53 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2);
54 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2);
55 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2);
57 ZEND_API zend_bool ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2);
59 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2);
60 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2);
61 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2);
62 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2);
63 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2);
64 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2);
248 ZEND_API zend_result ZEND_FASTCALL decrement_function(zval *op2);
396 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2);
398 ZEND_API int ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2);
400 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2);
401 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, zend_bool case_insensit…
402 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2);
403 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2);
404 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2);
642 static zend_always_inline void fast_long_add_function(zval *result, zval *op1, zval *op2) in fast_long_add_function() argument
654 "r"(&op2->value), in fast_long_add_function()
661 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
672 "r"(&op2->value), in fast_long_add_function()
679 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
692 "r"(&op2->value), in fast_long_add_function()
699 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
702 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_add_function()
703 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
709 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_add_function()
710 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
721 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_add_function()
722 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != ((Z_LVAL_P(op1) + Z_LVAL_P(op2)) & LONG_SIGN_MASK))) { in fast_long_add_function()
723 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function()
725 ZVAL_LONG(result, Z_LVAL_P(op1) + Z_LVAL_P(op2)); in fast_long_add_function()
730 static zend_always_inline zend_result fast_add_function(zval *result, zval *op1, zval *op2) in fast_add_function() argument
733 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_add_function()
734 fast_long_add_function(result, op1, op2); in fast_add_function()
736 } else if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_add_function()
737 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in fast_add_function()
741 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_add_function()
742 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in fast_add_function()
744 } else if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_add_function()
745 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in fast_add_function()
749 return add_function(result, op1, op2); in fast_add_function()
752 static zend_always_inline void fast_long_sub_function(zval *result, zval *op1, zval *op2) in fast_long_sub_function() argument
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()
782 "r"(&op2->value), in fast_long_sub_function()
789 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
802 "r"(&op2->value), in fast_long_sub_function()
809 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
812 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_sub_function()
813 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
819 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &llresult))) { in fast_long_sub_function()
820 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
825 ZVAL_LONG(result, Z_LVAL_P(op1) - Z_LVAL_P(op2)); in fast_long_sub_function()
827 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_sub_function()
829 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function()
834 static zend_always_inline zend_result fast_div_function(zval *result, zval *op1, zval *op2) in fast_div_function() argument
836 return div_function(result, op1, op2); in fast_div_function()
850 static zend_always_inline bool fast_equal_check_function(zval *op1, zval *op2) in fast_equal_check_function() argument
853 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
854 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_function()
855 } else if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
856 return ((double)Z_LVAL_P(op1)) == Z_DVAL_P(op2); in fast_equal_check_function()
859 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function()
860 return Z_DVAL_P(op1) == Z_DVAL_P(op2); in fast_equal_check_function()
861 } else if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function()
862 return Z_DVAL_P(op1) == ((double)Z_LVAL_P(op2)); in fast_equal_check_function()
865 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_function()
866 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_function()
869 return zend_compare(op1, op2) == 0; in fast_equal_check_function()
872 static zend_always_inline bool fast_equal_check_long(zval *op1, zval *op2) in fast_equal_check_long() argument
874 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long()
875 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_long()
877 return zend_compare(op1, op2) == 0; in fast_equal_check_long()
880 static zend_always_inline bool fast_equal_check_string(zval *op1, zval *op2) in fast_equal_check_string() argument
882 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_string()
883 return zend_fast_equal_strings(Z_STR_P(op1), Z_STR_P(op2)); in fast_equal_check_string()
885 return zend_compare(op1, op2) == 0; in fast_equal_check_string()
888 static zend_always_inline zend_bool fast_is_identical_function(zval *op1, zval *op2) in fast_is_identical_function() argument
890 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function()
895 return zend_is_identical(op1, op2); in fast_is_identical_function()
898 static zend_always_inline zend_bool fast_is_not_identical_function(zval *op1, zval *op2) in fast_is_not_identical_function() argument
900 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function()
905 return !zend_is_identical(op1, op2); in fast_is_not_identical_function()