Lines Matching defs:buffer
6 #include "buffer.h"
63 for this buffer. this is mainly for cases where the buffer is
83 /* buffer's size increased: move the buffer's memory elsewhere.
85 be used to access the buffer's memory */
102 void buffer_create_from_data(buffer_t *buffer, void *data, size_t size)
106 i_assert(sizeof(*buffer) >= sizeof(struct real_buffer));
108 buf = (struct real_buffer *)buffer;
113 buffer is used by e.g. str_c() it tries to access uninitialized
119 void buffer_create_from_const_data(buffer_t *buffer,
124 i_assert(sizeof(*buffer) >= sizeof(struct real_buffer));
126 buf = (struct real_buffer *)buffer;
142 init_size so we can actually write that much to the buffer without
229 /* delete the rest of the buffer */
343 increase the buffer's alloc size unnecessarily when it just wants
344 to access the entire buffer. */