Searched refs:exact (Results 1 - 21 of 21) sorted by relevance

/dovecot/src/lib/
H A Dtest-istream-sized.c56 static void test_istream_sized_full(bool exact) argument
68 if (exact)
85 else if (i < sizeof(test_data) && exact)
H A Distream-limit.c74 i_stream_limit_stat(struct istream_private *stream, bool exact) argument
79 if (i_stream_stat(stream->parent, exact, &st) < 0) {
91 bool exact, uoff_t *size_r)
101 if (i_stream_stat(&stream->istream, exact, &st) < 0)
90 i_stream_limit_get_size(struct istream_private *stream, bool exact, uoff_t *size_r) argument
H A Distream-private.h20 int (*stat)(struct istream_private *stream, bool exact);
21 int (*get_size)(struct istream_private *stream, bool exact, uoff_t *size_r);
H A Distream.h165 If exact=FALSE, the stream may not return exactly correct values, but the
168 int i_stream_stat(struct istream *stream, bool exact, const struct stat **st_r);
171 int i_stream_get_size(struct istream *stream, bool exact, uoff_t *size_r);
H A Distream.c500 int i_stream_stat(struct istream *stream, bool exact, const struct stat **st_r) argument
507 if (_stream->stat(_stream, exact) < 0) {
515 int i_stream_get_size(struct istream *stream, bool exact, uoff_t *size_r) argument
523 if ((ret = _stream->get_size(_stream, exact, size_r)) < 0)
1034 i_stream_default_stat(struct istream_private *stream, bool exact) argument
1041 if (i_stream_stat(stream->parent, exact, &st) < 0) {
1046 if (exact && !stream->stream_size_passthrough) {
1047 /* exact size is not known, even if parent returned something */
1055 bool exact, uoff_t *size_r)
1057 if (stream->stat(stream, exact) <
1054 i_stream_default_get_size(struct istream_private *stream, bool exact, uoff_t *size_r) argument
[all...]
H A Distream-base64-encoder.c148 bool exact ATTR_UNUSED)
155 if (i_stream_stat(stream->parent, exact, &st) < 0) {
H A Distream-tee.c176 i_stream_tee_stat(struct istream_private *stream, bool exact) argument
181 if (i_stream_stat(tstream->tee->input, exact, &st) < 0)
H A Distream-file.c154 i_stream_file_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
H A Distream-mmap.c200 i_stream_mmap_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
H A Distream-sized.c136 i_stream_sized_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
H A Distream-seekable.c326 i_stream_seekable_stat(struct istream_private *stream, bool exact) argument
362 if (i_stream_stat(sstream->fd_input, exact, &st) < 0)
H A Distream-concat.c308 i_stream_concat_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
/dovecot/src/lib-fs/
H A Distream-metawrap.c105 static int i_stream_metawrap_stat(struct istream_private *stream, bool exact) argument
111 if (i_stream_stat(stream->parent, exact, &st) < 0) {
/dovecot/src/plugins/mail-filter/
H A Distream-ext-filter.c134 i_stream_mail_filter_stat(struct istream_private *stream, bool exact) argument
138 i_assert(!exact);
140 if (i_stream_stat(stream->parent, exact, &st) < 0) {
/dovecot/src/lib-compression/
H A Distream-bzlib.c252 i_stream_bzlib_stat(struct istream_private *stream, bool exact) argument
258 if (i_stream_stat(stream->parent, exact, &st) < 0) {
264 /* when exact=FALSE always return the parent stat's size, even if we
265 know the exact value. this is necessary because otherwise e.g. mbox
268 if (!exact)
H A Distream-lz4.c235 i_stream_lz4_stat(struct istream_private *stream, bool exact) argument
241 if (i_stream_stat(stream->parent, exact, &st) < 0) {
247 /* when exact=FALSE always return the parent stat's size, even if we
248 know the exact value. this is necessary because otherwise e.g. mbox
251 if (!exact)
H A Distream-lzma.c261 i_stream_lzma_stat(struct istream_private *stream, bool exact) argument
267 if (i_stream_stat(stream->parent, exact, &st) < 0) {
273 /* when exact=FALSE always return the parent stat's size, even if we
274 know the exact value. this is necessary because otherwise e.g. mbox
277 if (!exact)
H A Distream-zlib.c424 i_stream_zlib_stat(struct istream_private *stream, bool exact) argument
430 if (i_stream_stat(stream->parent, exact, &st) < 0) {
436 /* when exact=FALSE always return the parent stat's size, even if we
437 know the exact value. this is necessary because otherwise e.g. mbox
440 if (!exact)
/dovecot/src/lib-mail/
H A Distream-header-filter.c566 i_stream_header_filter_stat(struct istream_private *stream, bool exact) argument
573 if (i_stream_stat(stream->parent, exact, &st) < 0) {
578 if (stream->statbuf.st_size == -1 || !exact)
/dovecot/src/lib-program-client/
H A Dprogram-client-remote.c160 int program_client_istream_stat(struct istream_private *stream, bool exact) argument
168 ret = i_stream_stat(stream->parent, exact, &st);
169 if (ret < 0 || st->st_size == -1 || !exact)
/dovecot/src/lib-storage/index/mbox/
H A Distream-raw-mbox.c414 i_stream_raw_mbox_stat(struct istream_private *stream, bool exact) argument
419 if (i_stream_stat(stream->parent, exact, &st) < 0) {
426 !exact && rstream->seeked && rstream->mail_size != (uoff_t)-1 ?

Completed in 43 milliseconds