Searched refs:instream (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/lib-fs/
H A Dostream-metawrap.c43 struct istream *instream)
47 uoff_t orig_instream_offset = instream->v_offset;
51 if ((res = o_stream_send_istream(_outstream->parent, instream)) == OSTREAM_SEND_ISTREAM_RESULT_ERROR_OUTPUT)
53 _outstream->ostream.offset += instream->v_offset - orig_instream_offset;
42 o_stream_metawrap_send_istream(struct ostream_private *_outstream, struct istream *instream) argument
/dovecot/src/lib/
H A Diostream-temp.c213 struct istream *instream,
218 if (!instream->readable_fd || i_stream_get_fd(instream) == -1)
221 if (i_stream_get_size(instream, TRUE, &in_size) <= 0) {
226 i_assert(instream->v_offset <= in_size);
229 outstream->dupstream = instream;
230 outstream->dupstream_start_offset = instream->v_offset;
233 if (outstream->dupstream != instream ||
234 outstream->dupstream_offset != instream->v_offset ||
238 i_stream_seek(instream, in_siz
212 o_stream_temp_dup_istream(struct temp_ostream *outstream, struct istream *instream, enum ostream_send_istream_result *res_r) argument
250 o_stream_temp_send_istream(struct ostream_private *_outstream, struct istream *instream) argument
[all...]
H A Dostream-private.h27 struct istream *instream);
58 io_stream_copy(struct ostream *outstream, struct istream *instream);
H A Dostream-file.c702 struct istream *instream, int in_fd,
710 if ((ret = i_stream_get_size(instream, TRUE, &in_size)) < 0) {
735 v_offset = instream->v_offset;
736 abs_start_offset = i_stream_get_absolute_offset(instream) - v_offset;
776 i_stream_seek(instream, v_offset);
778 instream->eof = TRUE;
794 struct istream *instream, uoff_t in_size)
805 buffer_size = instream->real_stream->buffer_size;
816 in_start_offset = instream->v_offset;
831 i_stream_seek(instream, in_offse
701 io_stream_sendfile(struct ostream_private *outstream, struct istream *instream, int in_fd, enum ostream_send_istream_result *res_r) argument
793 io_stream_copy_backwards(struct ostream_private *outstream, struct istream *instream, uoff_t in_size) argument
876 io_stream_copy_same_stream(struct ostream_private *outstream, struct istream *instream) argument
913 o_stream_file_send_istream(struct ostream_private *outstream, struct istream *instream) argument
[all...]
H A Dostream.c379 o_stream_send_istream(struct ostream *outstream, struct istream *instream) argument
383 uoff_t old_instream_offset = instream->v_offset;
386 if (unlikely(instream->closed || instream->stream_errno != 0)) {
387 errno = instream->stream_errno;
396 res = _outstream->send_istream(_outstream, instream);
399 i_assert(instream->stream_errno == 0);
401 i_assert(!i_stream_have_bytes_left(instream));
404 i_assert(!instream->blocking);
411 i_assert(instream
426 o_stream_nsend_istream(struct ostream *outstream, struct istream *instream) argument
480 io_stream_copy(struct ostream *outstream, struct istream *instream) argument
671 o_stream_default_send_istream(struct ostream_private *outstream, struct istream *instream) argument
[all...]
H A Dostream.h194 /* Send all of the instream to outstream.
196 On non-failure instream is skips over all data written to outstream.
198 the number of bytes skipped in instream.
204 o_stream_send_istream(struct ostream *outstream, struct istream *instream);
208 void o_stream_nsend_istream(struct ostream *outstream, struct istream *instream);

Completed in 746 milliseconds