Lines Matching defs:ostream
5 #include "ostream-private.h"
8 struct ostream_private ostream;
18 stream->ostream.offset = offset;
41 offset = bstream->seeked ? stream->ostream.offset : bstream->buf->used;
44 left = bstream->ostream.max_buffer_size -
45 stream->ostream.offset;
48 stream->ostream.offset += n; offset += n;
64 struct ostream *o_stream_create_buffer(buffer_t *buf)
67 struct ostream *output;
73 bstream->ostream.max_buffer_size = (size_t)-1;
74 bstream->ostream.seek = o_stream_buffer_seek;
75 bstream->ostream.sendv = o_stream_buffer_sendv;
76 bstream->ostream.write_at = o_stream_buffer_write_at;
77 bstream->ostream.get_used_size = o_stream_buffer_get_used_size;
80 output = o_stream_create(&bstream->ostream, NULL, -1);