Lines Matching refs:persistent

62 static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, bool persistent) {  in END_EXTERN_C()
69 if (persistent) { in END_EXTERN_C()
79 static zend_always_inline char* smart_str_extend_ex(smart_str *dest, size_t len, bool persistent) { in smart_str_extend_ex() argument
80 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex()
86 static zend_always_inline void smart_str_free_ex(smart_str *str, bool persistent) { in smart_str_free_ex() argument
88 zend_string_release_ex(str->s, persistent); in smart_str_free_ex()
116 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, bool persistent) { in smart_str_appendc_ex() argument
117 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
122 …s_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, bool persistent) { in smart_str_appendl_ex() argument
123 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
128 …_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, bool persistent) { in smart_str_append_ex() argument
129 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
132 …inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, bool persistent) { in smart_str_append_smart_str_ex() argument
134 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
138 …zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, bool persistent) { in smart_str_append_long_ex() argument
141 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
144 …always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, bool persistent) { in smart_str_append_unsigned_ex() argument
147 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_unsigned_ex()