Lines Matching refs:dest
26 #define smart_str_appends_ex(dest, src, what) \ argument
27 smart_str_appendl_ex((dest), (src), strlen(src), (what))
28 #define smart_str_appends(dest, src) \ argument
29 smart_str_appendl((dest), (src), strlen(src))
30 #define smart_str_appendc(dest, c) \ argument
31 smart_str_appendc_ex((dest), (c), 0)
32 #define smart_str_appendl(dest, src, len) \ argument
33 smart_str_appendl_ex((dest), (src), (len), 0)
34 #define smart_str_append(dest, src) \ argument
35 smart_str_append_ex((dest), (src), 0)
36 #define smart_str_append_smart_str(dest, src) \ argument
37 smart_str_append_smart_str_ex((dest), (src), 0)
38 #define smart_str_sets(dest, src) \ argument
39 smart_str_setl((dest), (src), strlen(src));
40 #define smart_str_append_long(dest, val) \ argument
41 smart_str_append_long_ex((dest), (val), 0)
42 #define smart_str_append_unsigned(dest, val) \ argument
43 smart_str_append_unsigned_ex((dest), (val), 0)
50 ZEND_API void ZEND_FASTCALL smart_str_append_printf(smart_str *dest, const char *format, ...)
102 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent)… in smart_str_appendc_ex() argument
103 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
104 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() local
105 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
108 static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, z… in smart_str_appendl_ex() argument
109 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
110 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
111 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
114 static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bo… in smart_str_append_ex() argument
115 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
118 static zend_always_inline void smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src,… in smart_str_append_smart_str_ex() argument
120 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
124 static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool p… in smart_str_append_long_ex() argument
127 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
130 static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_b… in smart_str_append_unsigned_ex() argument
133 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_unsigned_ex()
136 static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { in smart_str_setl() argument
137 smart_str_free(dest); in smart_str_setl()
138 smart_str_appendl(dest, src, len); in smart_str_setl()