Lines Matching defs:fd_input
30 struct istream *fd_input;
42 i_stream_close(sstream->fd_input);
58 i_stream_unref(&sstream->fd_input);
75 if (sstream->fd_input != NULL)
76 i_stream_set_max_buffer_size(sstream->fd_input, max_size);
105 sstream->fd_input = i_stream_create_fd_autoclose(&fd,
107 i_stream_set_name(sstream->fd_input, t_strdup_printf(
112 buffer = i_stream_get_data(sstream->fd_input, &size);
117 if ((ret = i_stream_read_memarea(sstream->fd_input)) <= 0) {
123 i_stream_get_error(sstream->fd_input));
124 i_stream_destroy(&sstream->fd_input);
132 i_stream_set_max_buffer_size(sstream->fd_input,
245 i_stream_destroy(&sstream->fd_input);
301 i_stream_sync(sstream->fd_input);
306 i_stream_seek(sstream->fd_input, stream->istream.v_offset);
307 ret = i_stream_read_memarea(sstream->fd_input);
309 stream->istream.eof = sstream->fd_input->eof;
311 sstream->fd_input->stream_errno;
316 stream->buffer = i_stream_get_data(sstream->fd_input, &pos);
360 if (sstream->fd_input != NULL) {
362 if (i_stream_stat(sstream->fd_input, exact, &st) < 0)
400 /* using the fd_input stream */
401 return sstream->fd_input->real_stream->
402 snapshot(sstream->fd_input->real_stream, prev_snapshot);