Lines Matching refs:dest

25 #define smart_str_appends_ex(dest, src, what) \  argument
26 smart_str_appendl_ex((dest), (src), strlen(src), (what))
27 #define smart_str_appends(dest, src) \ argument
28 smart_str_appendl((dest), (src), strlen(src))
29 #define smart_str_appendc(dest, c) \ argument
30 smart_str_appendc_ex((dest), (c), 0)
31 #define smart_str_appendl(dest, src, len) \ argument
32 smart_str_appendl_ex((dest), (src), (len), 0)
33 #define smart_str_append(dest, src) \ argument
34 smart_str_append_ex((dest), (src), 0)
35 #define smart_str_append_smart_str(dest, src) \ argument
36 smart_str_append_smart_str_ex((dest), (src), 0)
37 #define smart_str_sets(dest, src) \ argument
38 smart_str_setl((dest), (src), strlen(src));
39 #define smart_str_append_long(dest, val) \ argument
40 smart_str_append_long_ex((dest), (val), 0)
41 #define smart_str_append_unsigned(dest, val) \ argument
42 smart_str_append_unsigned_ex((dest), (val), 0)
83 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent)… in smart_str_appendc_ex() argument
84 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
85 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() local
86 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
89 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
90 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
91 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
92 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
95 static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bo… in smart_str_append_ex() argument
96 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
99 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
101 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
105 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
108 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
111 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
114 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_unsigned_ex()
117 static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { in smart_str_setl() argument
118 smart_str_free(dest); in smart_str_setl()
119 smart_str_appendl(dest, src, len); in smart_str_setl()