Lines Matching refs:s2
94 #define ZSTR_GET_COPYABLE_CONCAT_PROPERTIES_BOTH(s1, s2) (GC_FLAGS(s1) & GC_FLAGS(s2) & ZSTR_COPYAB… in END_EXTERN_C() argument
368 static zend_always_inline bool zend_string_equals_cstr(const zend_string *s1, const char *s2, size_… in zend_string_equals_cstr() argument
370 return ZSTR_LEN(s1) == s2_length && !memcmp(ZSTR_VAL(s1), s2, s2_length); in zend_string_equals_cstr()
375 ZEND_API bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2);
378 static zend_always_inline bool zend_string_equal_val(const zend_string *s1, const zend_string *s2) in END_EXTERN_C()
380 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C()
384 …tic zend_always_inline bool zend_string_equal_content(const zend_string *s1, const zend_string *s2)
386 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2);
389 static zend_always_inline bool zend_string_equals(const zend_string *s1, const zend_string *s2) in zend_string_equals() argument
391 return s1 == s2 || zend_string_equal_content(s1, s2); in zend_string_equals()
394 #define zend_string_equals_ci(s1, s2) \ argument
395 …(ZSTR_LEN(s1) == ZSTR_LEN(s2) && !zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2),…