Lines Matching refs:zend_string

27 typedef zend_string *(ZEND_FASTCALL *zend_new_interned_string_func_t)(zend_string *str);
28 typedef zend_string *(ZEND_FASTCALL *zend_string_init_interned_func_t)(const char *str, size_t size…
29 typedef zend_string *(ZEND_FASTCALL *zend_string_init_existing_interned_func_t)(const char *str, si…
36 ZEND_API zend_ulong ZEND_FASTCALL zend_string_hash_func(zend_string *str);
38 ZEND_API zend_string* ZEND_FASTCALL zend_interned_string_find_permanent(zend_string *str);
40 ZEND_API zend_string *zend_string_concat2(
43 ZEND_API zend_string *zend_string_concat3(
58 ZEND_API extern zend_string *zend_empty_string;
59 ZEND_API extern zend_string *zend_one_char_string[256];
60 ZEND_API extern zend_string **zend_known_strings;
95 zend_string *_out = (out); \ in END_EXTERN_C()
101 zend_string *_out = (out); \
110 #define _ZSTR_HEADER_SIZE XtOffsetOf(zend_string, val)
118 …(str) = (zend_string *)do_alloca(ZEND_MM_ALIGNED_SIZE_EX(_ZSTR_STRUCT_SIZE(_len), 8), (use_heap));…
137 static zend_always_inline zend_ulong zend_string_hash_val(zend_string *s)
142 static zend_always_inline void zend_string_forget_hash_val(zend_string *s) in zend_string_forget_hash_val()
148 static zend_always_inline uint32_t zend_string_refcount(const zend_string *s) in zend_string_refcount()
156 static zend_always_inline uint32_t zend_string_addref(zend_string *s) in zend_string_addref()
164 static zend_always_inline uint32_t zend_string_delref(zend_string *s) in zend_string_delref()
172 static zend_always_inline zend_string *zend_string_alloc(size_t len, bool persistent) in zend_string_alloc()
174zend_string *ret = (zend_string *)pemalloc(ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persisten… in zend_string_alloc()
183 static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, bool pe… in zend_string_safe_alloc()
185zend_string *ret = (zend_string *)safe_pemalloc(n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), … in zend_string_safe_alloc()
194 static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, bool persisten… in zend_string_init()
196 zend_string *ret = zend_string_alloc(len, persistent); in zend_string_init()
203 static zend_always_inline zend_string *zend_string_init_fast(const char *str, size_t len) in zend_string_init_fast()
214 static zend_always_inline zend_string *zend_string_copy(zend_string *s) in zend_string_copy()
222 static zend_always_inline zend_string *zend_string_dup(zend_string *s, bool persistent) in zend_string_dup()
231 static zend_always_inline zend_string *zend_string_separate(zend_string *s, bool persistent) in zend_string_separate()
244 static zend_always_inline zend_string *zend_string_realloc(zend_string *s, size_t len, bool persist… in zend_string_realloc()
246 zend_string *ret; in zend_string_realloc()
250 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_realloc()
264 static zend_always_inline zend_string *zend_string_extend(zend_string *s, size_t len, bool persiste… in zend_string_extend()
266 zend_string *ret; in zend_string_extend()
271 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_extend()
285 static zend_always_inline zend_string *zend_string_truncate(zend_string *s, size_t len, bool persis… in zend_string_truncate()
287 zend_string *ret; in zend_string_truncate()
292 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_truncate()
306 static zend_always_inline zend_string *zend_string_safe_realloc(zend_string *s, size_t n, size_t m,… in zend_string_safe_realloc()
308 zend_string *ret; in zend_string_safe_realloc()
312 …ret = (zend_string *)safe_perealloc(s, n, m, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(l)), persisten… in zend_string_safe_realloc()
326 static zend_always_inline void zend_string_free(zend_string *s) in zend_string_free()
334 static zend_always_inline void zend_string_efree(zend_string *s) in zend_string_efree()
342 static zend_always_inline void zend_string_release(zend_string *s) in zend_string_release()
351 static zend_always_inline void zend_string_release_ex(zend_string *s, bool persistent) in zend_string_release_ex()
366 static zend_always_inline bool zend_string_equals_cstr(const zend_string *s1, const char *s2, size_… in zend_string_equals_cstr()
373 ZEND_API bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2);
376 static zend_always_inline bool zend_string_equal_val(const zend_string *s1, const zend_string *s2) in END_EXTERN_C()
382 static zend_always_inline bool zend_string_equal_content(const zend_string *s1, const zend_string *…
387 static zend_always_inline bool zend_string_equals(const zend_string *s1, const zend_string *s2) in zend_string_equals()
401 static zend_always_inline bool zend_string_starts_with_cstr(const zend_string *str, const char *pre… in zend_string_starts_with_cstr()
406 static zend_always_inline bool zend_string_starts_with(const zend_string *str, const zend_string *p… in zend_string_starts_with()
414 static zend_always_inline bool zend_string_starts_with_cstr_ci(const zend_string *str, const char *… in zend_string_starts_with_cstr_ci()
419 static zend_always_inline bool zend_string_starts_with_ci(const zend_string *str, const zend_string in zend_string_starts_with_ci()