Lines Matching refs:op2

353 		if (EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, op2))) { \
359 if (UNEXPECTED(Z_TYPE_P(op2) == IS_OBJECT) \
360 && UNEXPECTED(Z_OBJ_HANDLER_P(op2, do_operation)) \
361 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op2, do_operation)(opcode, result, op1, op2))) { \
377 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, opcode, sigil) \ argument
391 zend_binop_error(sigil, op1, op2); \
402 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { \
404 if (Z_ISREF_P(op2)) { \
405 op2 = Z_REFVAL_P(op2); \
406 if (Z_TYPE_P(op2) == IS_LONG) { \
407 op2_lval = Z_LVAL_P(op2); \
412 op2_lval = zendi_try_get_long(op2, &failed); \
414 zend_binop_error(sigil, op1, op2); \
421 op2_lval = Z_LVAL_P(op2); \
941 …_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ { in zend_binop_error() argument
947 zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); in zend_binop_error()
951 static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) … in add_function_array() argument
953 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
962 zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), zval_add_ref, 0); in add_function_array()
966 static zend_always_inline zend_result add_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in add_function_fast() argument
968 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
971 fast_long_add_function(result, op1, op2); in add_function_fast()
974 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast()
977 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function_fast()
980 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function_fast()
983 add_function_array(result, op1, op2); in add_function_fast()
990 …er_inline zend_result ZEND_FASTCALL add_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function_slow() argument
993 ZVAL_DEREF(op2); in add_function_slow()
994 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function_slow()
1002 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in add_function_slow()
1003 zend_binop_error("+", op1, op2); in add_function_slow()
1022 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function() argument
1024 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function()
1027 return add_function_slow(result, op1, op2); in add_function()
1032 static zend_always_inline zend_result sub_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in sub_function_fast() argument
1034 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1037 fast_long_sub_function(result, op1, op2); in sub_function_fast()
1040 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast()
1043 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function_fast()
1046 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function_fast()
1054 …er_inline zend_result ZEND_FASTCALL sub_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function_slow() argument
1057 ZVAL_DEREF(op2); in sub_function_slow()
1058 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function_slow()
1066 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in sub_function_slow()
1067 zend_binop_error("-", op1, op2); in sub_function_slow()
1087 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function() argument
1089 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function()
1092 return sub_function_slow(result, op1, op2); in sub_function()
1097 static zend_always_inline zend_result mul_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in mul_function_fast() argument
1099 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function_fast()
1104 Z_LVAL_P(op1), Z_LVAL_P(op2), in mul_function_fast()
1109 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast()
1112 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function_fast()
1115 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function_fast()
1123 …er_inline zend_result ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function_slow() argument
1126 ZVAL_DEREF(op2); in mul_function_slow()
1127 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function_slow()
1135 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in mul_function_slow()
1136 zend_binop_error("*", op1, op2); in mul_function_slow()
1156 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function() argument
1158 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function()
1161 return mul_function_slow(result, op1, op2); in mul_function()
1166 static zend_result ZEND_FASTCALL pow_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function_base() argument
1168 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function_base()
1171 if (Z_LVAL_P(op2) >= 0) { in pow_function_base()
1172 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function_base()
1205 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1209 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1212 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1215 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1223 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function() argument
1226 ZVAL_DEREF(op2); in pow_function()
1227 if (pow_function_base(result, op1, op2) == SUCCESS) { in pow_function()
1235 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in pow_function()
1236 zend_binop_error("**", op1, op2); in pow_function()
1259 static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function_base() argument
1261 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1264 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1266 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1271 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1272 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1274 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1278 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1281 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1284 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1287 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1290 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1293 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1301 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1304 ZVAL_DEREF(op2); in div_function()
1306 int retval = div_function_base(result, op1, op2); in div_function()
1319 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1320 zend_binop_error("/", op1, op2); in div_function()
1346 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1350 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1380 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1405 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1407 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1410 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1411 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1412 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1415 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1421 op2_val = zval_is_true(op2); in boolean_xor_function()
1495 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1499 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1500 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1505 ZVAL_DEREF(op2); in bitwise_or_function()
1507 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1512 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1513 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1514 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1522 shorter = op2; in bitwise_or_function()
1524 longer = op2; in bitwise_or_function()
1545 zend_binop_error("|", op1, op2); in bitwise_or_function()
1554 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1557 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1559 zend_binop_error("|", op1, op2); in bitwise_or_function()
1566 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1577 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1581 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1582 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1587 ZVAL_DEREF(op2); in bitwise_and_function()
1589 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1594 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1595 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1596 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1604 shorter = op2; in bitwise_and_function()
1606 longer = op2; in bitwise_and_function()
1627 zend_binop_error("&", op1, op2); in bitwise_and_function()
1636 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1639 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1641 zend_binop_error("&", op1, op2); in bitwise_and_function()
1648 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1659 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1663 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1664 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1669 ZVAL_DEREF(op2); in bitwise_xor_function()
1671 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1676 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1677 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1678 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1686 shorter = op2; in bitwise_xor_function()
1688 longer = op2; in bitwise_xor_function()
1709 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1718 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1721 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1723 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1730 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1741 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1745 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1778 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1782 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1814 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1838 if (UNEXPECTED(op1 == op2)) { in concat_function()
1839 op2 = &op1_copy; in concat_function()
1846 if (UNEXPECTED(Z_TYPE_P(op2) != IS_STRING)) { in concat_function()
1847 if (Z_ISREF_P(op2)) { in concat_function()
1848 op2 = Z_REFVAL_P(op2); in concat_function()
1849 if (Z_TYPE_P(op2) == IS_STRING) break; in concat_function()
1852 ZVAL_STR(&op2_copy, zval_get_string_func(op2)); in concat_function()
1861 op2 = &op2_copy; in concat_function()
1866 if (EXPECTED(result != op2)) { in concat_function()
1870 ZVAL_COPY(result, op2); in concat_function()
1872 } else if (UNEXPECTED(Z_STRLEN_P(op2) == 0)) { in concat_function()
1881 size_t op2_len = Z_STRLEN_P(op2); in concat_function()
1911 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in concat_function()
1921 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, zend_bool case_insensit… in string_compare_function_ex() argument
1925 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
1940 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
1943 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
1944 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
1947 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
1952 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
1962 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
1965 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
1966 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
1969 …eturn zend_binary_strcasecmp_l(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_case_compare_function()
1974 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
1984 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
1988 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
1997 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2002 d2 = zval_get_double(op2); in numeric_compare_function()
2008 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2010 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2064 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2070 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2072 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2075 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - (double)Z_LVAL_P(op2)); in zend_compare()
2078 return ZEND_NORMALIZE_BOOL((double)Z_LVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2081 if (Z_DVAL_P(op1) == Z_DVAL_P(op2)) { in zend_compare()
2084 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2088 return zend_compare_arrays(op1, op2); in zend_compare()
2104 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2107 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2110 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2116 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2119 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2126 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2129 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2133 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2145 } else if (Z_ISREF_P(op2)) { in zend_compare()
2146 op2 = Z_REFVAL_P(op2); in zend_compare()
2151 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2152 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2155 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2156 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2157 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2162 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2164 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2165 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2167 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2171 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2179 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2205 ZEND_API zend_bool ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2) /* {{{ */ in zend_is_identical() argument
2207 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2216 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2218 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2220 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2222 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2224 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2225 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2227 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2234 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2236 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2241 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2243 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2248 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2250 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2255 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2257 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2262 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2264 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2269 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2271 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2459 zval op2; in increment_function() local
2460 ZVAL_LONG(&op2, 1); in increment_function()
2461 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2521 zval op2; in decrement_function() local
2522 ZVAL_LONG(&op2, 1); in decrement_function()
2523 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()