/dovecot/src/lib/ |
H A D | test-istream-sized.c | 56 static void test_istream_sized_full(bool exact) argument 68 if (exact) 85 else if (i < sizeof(test_data) && exact)
|
H A D | istream-limit.c | 74 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 D | istream-private.h | 20 int (*stat)(struct istream_private *stream, bool exact); 21 int (*get_size)(struct istream_private *stream, bool exact, uoff_t *size_r);
|
H A D | istream.h | 165 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 D | istream.c | 500 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 D | istream-base64-encoder.c | 148 bool exact ATTR_UNUSED) 155 if (i_stream_stat(stream->parent, exact, &st) < 0) {
|
H A D | istream-tee.c | 176 i_stream_tee_stat(struct istream_private *stream, bool exact) argument 181 if (i_stream_stat(tstream->tee->input, exact, &st) < 0)
|
H A D | istream-file.c | 154 i_stream_file_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
|
H A D | istream-mmap.c | 200 i_stream_mmap_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
|
H A D | istream-sized.c | 136 i_stream_sized_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
|
H A D | istream-seekable.c | 326 i_stream_seekable_stat(struct istream_private *stream, bool exact) argument 362 if (i_stream_stat(sstream->fd_input, exact, &st) < 0)
|
H A D | istream-concat.c | 308 i_stream_concat_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
|
/dovecot/src/lib-fs/ |
H A D | istream-metawrap.c | 105 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 D | istream-ext-filter.c | 134 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 D | istream-bzlib.c | 252 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 D | istream-lz4.c | 235 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 D | istream-lzma.c | 261 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 D | istream-zlib.c | 424 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 D | istream-header-filter.c | 566 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 D | program-client-remote.c | 160 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 D | istream-raw-mbox.c | 414 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 ?
|