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)
82 static zend_always_inline void smart_str_appendc_ex(smart_str *dest, char ch, zend_bool persistent)… in smart_str_appendc_ex() argument
83 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
84 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() local
85 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
88 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
89 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
90 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
91 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
94 static zend_always_inline void smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bo… in smart_str_append_ex() argument
95 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
98 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
100 smart_str_append_ex(dest, src->s, persistent); in smart_str_append_smart_str_ex()
104 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
107 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_long_ex()
110 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
113 smart_str_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_str_append_unsigned_ex()
116 static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { in smart_str_setl() argument
117 smart_str_free(dest); in smart_str_setl()
118 smart_str_appendl(dest, src, len); in smart_str_setl()