Lines Matching refs:buffer
14 buffer* buffer_init(void) { in buffer_init()
17 return ck_calloc(1, sizeof(buffer)); in buffer_init()
19 buffer * const b = calloc(1, sizeof(*b)); in buffer_init()
25 void buffer_free(buffer *b) { in buffer_free()
31 void buffer_free_ptr(buffer *b) { in buffer_free_ptr()
38 void buffer_move(buffer * restrict b, buffer * restrict src) { in buffer_move()
39 buffer tmp; in buffer_move()
49 static char* buffer_realloc(buffer * const restrict b, const size_t len) { in __attribute_nonnull__()
71 static char* buffer_alloc_replace(buffer * const restrict b, const size_t size) { in __attribute_nonnull__()
82 char* buffer_string_prepare_copy(buffer * const b, const size_t size) { in buffer_string_prepare_copy()
96 static char* buffer_string_prepare_append_resize(buffer * const restrict b, const size_t size) { in __attribute_nonnull__()
116 char* buffer_string_prepare_append(buffer * const b, const size_t size) { in buffer_string_prepare_append()
126 buffer_extend (buffer * const b, const size_t x) in buffer_extend()
146 void buffer_commit(buffer *b, size_t size) in buffer_commit()
162 void buffer_copy_string(buffer * restrict b, const char * restrict s) { in buffer_copy_string()
167 void buffer_copy_string_len(buffer * const restrict b, const char * const restrict s, const size_t … in buffer_copy_string_len()
177 void buffer_append_string(buffer * restrict b, const char * restrict s) { in buffer_append_string()
193 void buffer_append_string_len(buffer * const restrict b, const char * const restrict s, const size_… in buffer_append_string_len()
197 void buffer_append_str2(buffer * const restrict b, const char * const s1, const size_t len1, const … in buffer_append_str2()
207 void buffer_append_str3(buffer * const restrict b, const char * const s1, const size_t len1, const … in buffer_append_str3()
218 void buffer_append_iovec(buffer * const restrict b, const struct const_iovec * const iov, const siz… in buffer_append_iovec()
234 void buffer_append_path_len(buffer * restrict b, const char * restrict a, size_t alen) { in buffer_append_path_len()
256 buffer_copy_path_len2 (buffer * const restrict b, const char * const restrict s1, size_t len1, cons… in buffer_copy_path_len2()
266 buffer_copy_string_len_lc (buffer * const restrict b, const char * const restrict s, const size_t l… in buffer_copy_string_len_lc()
275 void buffer_append_uint_hex_lc(buffer *b, uintmax_t value) { in buffer_append_uint_hex_lc()
320 void buffer_append_int(buffer *b, intmax_t val) { in buffer_append_int()
326 void buffer_append_strftime(buffer * const restrict b, const char * const restrict format, const st… in buffer_append_strftime()
415 int buffer_eq_icase_slen(const buffer * const b, const char * const s, const size_t slen) { in buffer_eq_icase_slen()
421 int buffer_eq_slen(const buffer * const b, const char * const s, const size_t slen) { in buffer_eq_slen()
432 int buffer_is_equal(const buffer *a, const buffer *b) { in buffer_is_equal()
461 void buffer_substr_replace (buffer * const restrict b, const size_t offset, in buffer_substr_replace()
462 const size_t len, const buffer * const restrict replace) in buffer_substr_replace()
481 void buffer_append_string_encoded_hex_lc(buffer * const restrict b, const char * const restrict s, … in buffer_append_string_encoded_hex_lc()
489 void buffer_append_string_encoded_hex_uc(buffer * const restrict b, const char * const restrict s, … in buffer_append_string_encoded_hex_uc()
590 void buffer_append_string_encoded(buffer * const restrict b, const char * const restrict s, size_t … in buffer_append_string_encoded()
660 void buffer_append_string_c_escaped(buffer * const restrict b, const char * const restrict s, size_… in buffer_append_string_c_escaped()
716 buffer_append_bs_escaped (buffer * const restrict b, in buffer_append_bs_escaped()
768 buffer_append_bs_escaped_json (buffer * const restrict b, in buffer_append_bs_escaped_json()
822 void buffer_urldecode_path(buffer * const b) { in buffer_urldecode_path()
843 int buffer_is_valid_UTF8(const buffer *b) { in buffer_is_valid_UTF8()
893 void buffer_path_simplify(buffer *b) in buffer_path_simplify()
986 void buffer_to_lower(buffer * const b) { in buffer_to_lower()
995 void buffer_to_upper(buffer * const b) { in buffer_to_upper()