Lines Matching refs:persistent
57 static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, zend_bool persistent) { in END_EXTERN_C()
64 if (persistent) { in END_EXTERN_C()
74 …c zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, zend_bool persistent) { in smart_str_extend_ex() argument
75 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex()
81 static zend_always_inline void smart_str_free_ex(smart_str *str, zend_bool persistent) { in smart_str_free_ex() argument
83 zend_string_release_ex(str->s, persistent); in smart_str_free_ex()
111 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent)… in smart_str_appendc_ex() argument
112 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
117 …ine void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, zend_bool persistent) { in smart_str_appendl_ex() argument
118 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
123 …ys_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) { in smart_str_append_ex() argument
124 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
127 …e void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, zend_bool persistent) { in smart_str_append_smart_str_ex() argument
129 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
133 …always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) { in smart_str_append_long_ex() argument
136 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
139 …s_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_bool persistent) { in smart_str_append_unsigned_ex() argument
142 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_unsigned_ex()