Lines Matching defs:buffer
4 #include "buffer.h"
85 const unsigned char *buffer;
93 /* copy our currently read buffer to it */
95 if (write_full(fd, stream->buffer, sstream->buffer_peak) < 0) {
110 /* read back the data we just had in our buffer */
112 buffer = i_stream_get_data(sstream->fd_input, &size);
129 /* Set the max buffer size only after we've already read everything
131 more data exists in buffer than max_buffer_size. */
134 stream->buffer = buffer;
198 /* read more to buffer */
209 compress the buffer. */
273 stream->buffer = CONST_PTR_OFFSET(stream->buffer, stream->skip);
316 stream->buffer = i_stream_get_data(sstream->fd_input, &pos);
361 /* using a file backed buffer, we can use real fstat() */
366 /* buffer is completely in memory */
383 our buffer/temp file */
453 /* initialize our buffer from first stream's pending data */