/dovecot/src/stats/ |
H A D | stats-event-category.h | 5 parent may be NULL. */ 7 struct event_category *parent);
|
H A D | stats-event-category.c | 9 struct event_category *parent) 13 category->parent = parent; 8 stats_event_category_register(const char *name, struct event_category *parent) argument
|
/dovecot/src/lib-fs/ |
H A D | fs-wrapper.c | 9 struct fs_iter *parent; member in struct:wrapper_fs_iter 14 return fs_get_properties(fs->parent); 19 fs_file_close(file->parent); 24 return fs_file_path(file->parent); 31 fs_file_set_async_callback(file->parent, callback, context); 36 fs_wait_async(fs->parent); 42 fs_set_metadata(file->parent, key, value); 48 return fs_get_metadata(file->parent, metadata_r); 53 return fs_prefetch(file->parent, length); 58 return fs_read(file->parent, bu [all...] |
H A D | fs-sis-queue.c | 37 /* <queue_dir>:<parent fs>[:<args>] */ 53 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) { 64 if (_fs->parent != NULL) 65 fs_deinit(&_fs->parent); 89 file->file.parent = fs_file_init_parent(_file, path, mode | flags); 96 if (_file->parent != NULL) 97 fs_file_deinit(&_file->parent); 126 if (_file->parent == NULL) 128 if (fs_write(_file->parent, data, size) < 0) 140 if (_file->parent [all...] |
H A D | fs-sis.c | 58 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) { 62 props = fs_get_properties(_fs->parent); 75 if (_fs->parent != NULL) 76 fs_deinit(&_fs->parent); 122 file->file.parent = fs_file_init_parent(_file, path, mode | flags); 130 fs_file_deinit(&_file->parent); 143 fs_file_close(_file->parent); 155 if (fs_copy(file->hash_file, file->file.parent) < 0) { 163 if (fs_stat(file->file.parent, &st2) < 0) { 165 fs_file_last_error(file->file.parent)); [all...] |
H A D | istream-metawrap.c | 22 while ((line = i_stream_read_next_line(mstream->istream.parent)) != NULL) { 38 if (mstream->istream.parent->eof) { 39 if (mstream->istream.parent->stream_errno != 0) { 41 mstream->istream.parent->stream_errno; 52 i_assert(!mstream->istream.parent->blocking); 61 i_stream_seek(stream->parent, mstream->start_offset + 65 size_t prev_max_size = i_stream_get_max_buffer_size(stream->parent); 67 i_stream_set_max_buffer_size(stream->parent, METAWRAP_MAX_METADATA_LINE_LEN); 69 i_stream_set_max_buffer_size(stream->parent, prev_max_size); 72 mstream->start_offset = stream->parent [all...] |
H A D | fs-metawrap.c | 65 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) { 69 if ((fs_get_properties(_fs->parent) & FS_PROPERTY_METADATA) == 0) 78 if (_fs->parent != NULL) 79 fs_deinit(&_fs->parent); 88 props = fs_get_properties(_fs->parent); 119 file->file.parent = fs_file_init_parent(_file, path, mode | flags); 122 /* use async stream for parent, so fs_read_stream() won't create 127 file->super_read = file->file.parent; 136 if (file->super_read != _file->parent && file->super_read != NULL) 139 fs_file_deinit(&_file->parent); [all...] |
H A D | fs-randomfail.c | 191 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) { 202 if (_fs->parent != NULL) 203 fs_deinit(&_fs->parent); 209 return fs_get_properties(_fs->parent); 225 file->file.parent = fs_file_init_parent(_file, path, mode | flags); 232 fs_file_deinit(&file->file.parent); 294 ret = fs_get_metadata(_file->parent, metadata_r); 302 return fs_prefetch(_file->parent, length); 312 ret = fs_read(_file->parent, buf, size); 324 input = fs_read_stream(_file->parent, max_buffer_siz [all...] |
/dovecot/src/lib/ |
H A D | istream-multiplex.h | 4 struct istream *i_stream_create_multiplex(struct istream *parent, size_t bufsize);
|
H A D | ostream-multiplex.h | 4 struct ostream *o_stream_create_multiplex(struct ostream *parent, size_t bufsize);
|
H A D | test-istream.c | 8 struct istream *parent, *child1, *child2; local 14 parent = test_istream_create_data("123456789", 9); 15 test_istream_set_max_buffer_size(parent, 3); 17 child1 = i_stream_create_limit(parent, (uoff_t)-1); 18 child2 = i_stream_create_limit(parent, (uoff_t)-1); 33 /* child1 check middle again.. the parent has been modified, 54 i_stream_destroy(&parent);
|
H A D | istream-limit.c | 19 if (lstream->istream.parent->seekable || 20 v_offset > lstream->istream.parent->v_offset) { 21 /* get to same position in parent stream */ 22 i_stream_seek(lstream->istream.parent, v_offset); 33 i_stream_seek(stream->parent, lstream->istream.parent_start_offset + 45 stream->buffer = i_stream_get_data(stream->parent, &pos); 49 if ((ret = i_stream_read_memarea(stream->parent)) == -2) 52 stream->istream.stream_errno = stream->parent->stream_errno; 53 stream->istream.eof = stream->parent->eof; 54 stream->buffer = i_stream_get_data(stream->parent, [all...] |
H A D | istream-multiplex.c | 22 struct istream *parent; member in struct:multiplex_istream 80 if (mstream->parent == NULL) { 85 (void)i_stream_get_data(mstream->parent, &len); 87 if (len == 0 && mstream->parent->closed) { 94 (ret = i_stream_read_memarea(mstream->parent)) <= 0) { 95 propagate_error(mstream, mstream->parent->stream_errno); 96 if (mstream->parent->eof) 102 data = i_stream_get_data(mstream->parent, &len); 150 i_stream_skip(mstream->parent, used); 166 i_stream_skip(mstream->parent, 271 i_stream_create_multiplex(struct istream *parent, size_t bufsize) argument [all...] |
H A D | istream-base64-decoder.c | 19 size = i_stream_get_data_size(stream->parent); 25 ret = i_stream_read_memarea(stream->parent); 27 stream->istream.stream_errno = stream->parent->stream_errno; 28 stream->istream.eof = stream->parent->eof; 31 size = i_stream_get_data_size(stream->parent); 44 data = i_stream_get_data(stream->parent, &size); 70 i_stream_skip(stream->parent, pos); 80 data = i_stream_get_data(stream->parent, &size); 109 i_stream_get_data_size(stream->parent) > 0) 137 i_stream_seek(stream->parent, [all...] |
H A D | istream-rawlog.c | 21 i_stream_close(rstream->istream.parent); 31 if (rstream->istream.parent->seekable || 32 v_offset > rstream->istream.parent->v_offset) { 33 /* get to same position in parent stream */ 34 i_stream_seek(rstream->istream.parent, v_offset); 44 i_stream_seek(stream->parent, rstream->istream.parent_start_offset + 50 stream->buffer = i_stream_get_data(stream->parent, &pos); 54 if ((ret = i_stream_read_memarea(stream->parent)) == -2) 57 stream->istream.stream_errno = stream->parent->stream_errno; 58 stream->istream.eof = stream->parent [all...] |
H A D | istream-base64-encoder.c | 24 size = i_stream_get_data_size(stream->parent); 30 ret = i_stream_read_memarea(stream->parent); 32 stream->istream.stream_errno = stream->parent->stream_errno; 33 stream->istream.eof = stream->parent->eof; 36 size = i_stream_get_data_size(stream->parent); 49 data = i_stream_get_data(stream->parent, &size); 50 if (size == 0 || (size < 3 && !stream->parent->eof)) 73 } else if (!stream->parent->eof && size % 3 != 0) { 93 i_stream_skip(stream->parent, size); 109 if (i_stream_get_data_size(stream->parent) [all...] |
/dovecot/src/lib-fts/ |
H A D | fts-filter.c | 54 struct fts_filter *parent, 83 fp->parent = parent; 84 if (parent != NULL) { 85 fts_filter_ref(parent); 107 if (fp->parent != NULL) 108 fts_filter_unref(&fp->parent); 125 /* Recurse to parent. */ 126 if (filter->parent != NULL) 127 ret = fts_filter_filter(filter->parent, toke 53 fts_filter_create(const struct fts_filter *filter_class, struct fts_filter *parent, const struct fts_language *lang, const char *const *settings, struct fts_filter **filter_r, const char **error_r) argument [all...] |
H A D | fts-filter-private.h | 29 struct fts_filter *parent; member in struct:fts_filter
|
/dovecot/src/lib-mail/ |
H A D | istream-nonuls.c | 16 if (i_stream_get_data_size(stream->parent) > 0) 19 ret = i_stream_read_memarea(stream->parent); 21 stream->istream.stream_errno = stream->parent->stream_errno; 22 stream->istream.eof = stream->parent->eof; 25 i_assert(i_stream_get_data_size(stream->parent) != 0); 39 data = i_stream_get_data(stream->parent, &size); 59 i_stream_skip(stream->parent, size);
|
H A D | ostream-dot.c | 31 if (o_stream_get_buffer_avail_size(stream->parent) < 5) { 33 if ((ret = o_stream_flush(stream->parent)) <= 0) { 42 ret = o_stream_send(stream->parent, ".\r\n", 3); 45 ret = o_stream_send(stream->parent, "\r\n.\r\n", 5); 71 o_stream_close(dstream->ostream.parent); 87 if ((ret=o_stream_flush(stream->parent)) <= 0) { 89 parent stream. */ 96 max_bytes = o_stream_get_buffer_avail_size(stream->parent); 201 } else if ((ret=o_stream_sendv(stream->parent, iov_new, count)) <= 0) {
|
H A D | message-part.c | 9 while (part->parent != NULL) 10 part = part->parent; 58 i_assert(parts->parent == NULL);
|
/dovecot/src/lib-storage/ |
H A D | mail-search-mime-build.h | 15 struct mail_search_mime_arg *parent; member in struct:mail_search_mime_build_context 41 struct mail_search_mime_arg *parent,
|
H A D | mail-search-build.h | 16 struct mail_search_arg *parent; member in struct:mail_search_build_context 55 struct mail_search_arg *parent,
|
H A D | mail-search-mime-build.c | 41 struct mail_search_mime_arg *parent, 45 struct mail_search_mime_arg *old_parent = ctx->parent; 50 ctx->parent = parent; 63 ctx->parent = old_parent; 78 ctx->parent = old_parent; 84 struct mail_search_mime_arg *parent, 89 ret = mail_search_mime_build_key_int(ctx, parent, arg_r); 40 mail_search_mime_build_key_int(struct mail_search_mime_build_context *ctx, struct mail_search_mime_arg *parent, struct mail_search_mime_arg **arg_r) argument 83 mail_search_mime_build_key(struct mail_search_mime_build_context *ctx, struct mail_search_mime_arg *parent, struct mail_search_mime_arg **arg_r) argument
|
/dovecot/src/plugins/fs-compress/ |
H A D | fs-compress.c | 93 if (fs_init(parent_name, parent_args, set, &_fs->parent, &error) < 0) { 104 if (_fs->parent != NULL) 105 fs_deinit(&_fs->parent); 129 file->file.parent = fs_file_init_parent(_file, path, mode | flags); 132 /* use async stream for parent, so fs_read_stream() won't create 137 file->super_read = file->file.parent; 145 if (file->super_read != _file->parent && file->super_read != NULL) 147 fs_file_deinit(&_file->parent); 159 if (_file->parent != NULL) 160 fs_file_close(_file->parent); [all...] |