Lines Matching refs:ZSTR_VAL
68 #define ZSTR_VAL(zstr) (zstr)->val in END_EXTERN_C() macro
129 memcpy(ZSTR_VAL(str), (s), (len)); \
130 ZSTR_VAL(str)[(len)] = '\0'; \
200 memcpy(ZSTR_VAL(ret), str, len); in zend_string_init()
201 ZSTR_VAL(ret)[len] = '\0'; in zend_string_init()
229 return zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in zend_string_dup()
239 return zend_string_init(ZSTR_VAL(s), ZSTR_LEN(s), persistent); in zend_string_separate()
259 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1); in zend_string_realloc()
280 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), ZSTR_LEN(s) + 1); in zend_string_extend()
301 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), len + 1); in zend_string_truncate()
321 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1); in zend_string_safe_realloc()
370 return ZSTR_LEN(s1) == s2_length && !memcmp(ZSTR_VAL(s1), s2, s2_length); in zend_string_equals_cstr()
380 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C()
395 …(ZSTR_LEN(s1) == ZSTR_LEN(s2) && !zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2),…
398 …(ZSTR_LEN(str) == sizeof("" c) - 1 && !zend_binary_strcasecmp(ZSTR_VAL(str), ZSTR_LEN(str), (c), s…
405 return ZSTR_LEN(str) >= prefix_length && !memcmp(ZSTR_VAL(str), prefix, prefix_length); in zend_string_starts_with_cstr()
410 return zend_string_starts_with_cstr(str, ZSTR_VAL(prefix), ZSTR_LEN(prefix)); in zend_string_starts_with()
418 return ZSTR_LEN(str) >= prefix_length && !strncasecmp(ZSTR_VAL(str), prefix, prefix_length); in zend_string_starts_with_cstr_ci()
423 return zend_string_starts_with_cstr_ci(str, ZSTR_VAL(prefix), ZSTR_LEN(prefix)); in zend_string_starts_with_ci()