Searched defs:root (Results 1 - 25 of 34) sorted by relevance

12

/dovecot/src/config/
H A Dconfig-parser.h9 const struct setting_parser_info *root; member in struct:config_module_parser
29 const struct setting_parser_info *root)
H A Dold-set-parser.c443 bool root; local
448 root = config_filter_match(&old_section->filter, &any_filter);
452 (listen_has_port(value) || !root))) {
478 if (root && *ssl == '\0') {
/dovecot/src/lib/
H A Dtest-json-tree.c60 const struct json_tree_node *root, *node, *node1, *node2; local
70 root = json_tree_root(tree);
71 i_assert(root != NULL);
72 test_assert(root->value_type == JSON_TYPE_OBJECT);
73 i_assert(root != NULL);
76 node = json_tree_find_key(root, test_input[i].value);
82 node = json_tree_find_key(root, "key-obj");
85 node = json_tree_find_key(root, "key-arr-empty");
89 node = json_tree_find_key(root, "key-arr");
H A Djson-tree.c8 struct json_tree_node *root, *cur, *cur_child; member in struct:json_tree
20 tree->root = tree->cur = p_new(tree->pool, struct json_tree_node, 1);
137 return tree->root;
H A Dpath-util.c56 /* absolute; initialize npath with root */
218 /* absolute symlink; start over at root */
259 int t_normpath_to(const char *path, const char *root, const char **npath_r, argument
263 i_assert(root != NULL);
269 return t_normpath(t_strconcat(root, "/", path, NULL), npath_r, error_r);
277 int t_realpath_to(const char *path, const char *root, const char **npath_r, argument
281 i_assert(root != NULL);
287 return t_realpath(t_strconcat(root, "/", path, NULL), npath_r, error_r);
311 const char *t_abspath_to(const char *path, const char *root) argument
314 i_assert(root !
[all...]
H A Dhash.c306 hash_table_compress(struct hash_table *table, struct hash_node *root) argument
313 for (node = root; node->next != NULL; ) {
324 /* update root */
325 if (root->key == NULL && root->next != NULL) {
326 next = root->next;
327 *root = *next;
/dovecot/src/lib-mail/
H A Dmessage-part.c32 const struct message_part *root; local
35 root = message_part_root(part);
36 if (!message_part_find(root, part, &n))
H A Dmessage-part-serialize.c9 root part
10 root's first children
13 root's next children
18 (not root part)
47 bool root = part->parent == NULL; local
53 if (root)
54 root = FALSE;
129 bool root = parent == NULL; local
144 if (root)
145 root
[all...]
/dovecot/src/doveadm/dsync/
H A Ddsync-mailbox-tree-private.h9 /* root node isn't part of the real mailbox tree. its name is "" and
11 struct dsync_mailbox_node root; member in struct:dsync_mailbox_tree
/dovecot/src/lib-storage/
H A Dmail-search-parser-imap.c16 struct imap_arg_stack root, *cur; member in struct:imap_mail_search_parser
119 parser->root.args = args;
120 parser->cur = &parser->root;
H A Dmail-search-mime-build.c136 struct mail_search_mime_arg *root; local
146 if ((ret=mail_search_mime_build_key(&ctx, NULL, &root)) < 0)
149 if (root->type == SEARCH_MIME_SUB && !root->match_not) {
150 /* simple SUB root */
151 mpart->args = root->value.subargs;
153 mpart->args = root;
H A Dmail-search-build.c141 struct mail_search_arg *root; local
155 ret = mail_search_build_list(&ctx, &root);
169 if (root->type == SEARCH_SUB && !root->match_not) {
170 /* simple SUB root */
171 args->args = root->value.subargs;
173 args->args = root;
H A Dmailbox-tree.c19 struct mailbox_node *root, *next_node; member in struct:mailbox_tree_iterate_context
177 struct mailbox_node *root, unsigned int flags_mask)
183 ctx->root = root != NULL ? root : tree->nodes;
188 ctx->next_node = ctx->root;
176 mailbox_tree_iterate_init(struct mailbox_tree_context *tree, struct mailbox_node *root, unsigned int flags_mask) argument
/dovecot/src/plugins/quota/
H A Ddoveadm-quota.c15 static int cmd_quota_get_root(struct quota_root *root) argument
23 res = quota_root_get_resources(root);
25 qret = quota_get_resource(root, "", *res, &value, &limit, &error);
26 doveadm_print(root->set->name);
56 struct quota_root *const *root; local
65 array_foreach(&quser->quota->roots, root)
66 if (cmd_quota_get_root(*root) < 0)
76 doveadm_print_header("root", "Quota name", 0);
103 struct quota_root *const *root; local
116 array_foreach(&quser->quota->roots, root) {
[all...]
H A Dquota-dirsize.c28 static int dirsize_quota_init(struct quota_root *root, const char *args, argument
31 root->auto_updating = TRUE;
32 return quota_root_default_init(root, args, error_r);
41 dirsize_quota_root_get_resources(struct quota_root *root ATTR_UNUSED)
158 get_quota_root_usage(struct quota_root *root, uint64_t *value_r, argument
169 namespaces = array_get(&root->quota->namespaces, &count);
171 if (!quota_root_is_namespace_visible(root, namespaces[i]))
213 dirsize_quota_update(struct quota_root *root ATTR_UNUSED,
H A Dquota-count.c9 struct quota_root root; member in struct:count_quota_root
16 struct quota_root *root; member in struct:quota_mailbox_iter
27 quota_count_mailbox(struct quota_root *root, struct mail_namespace *ns, argument
40 rule = quota_root_rule_find(root->set, vname);
51 } else if (mailbox_get_metadata(box, root->quota->set->vsizes ?
76 *bytes += root->quota->set->vsizes ?
85 quota_mailbox_iter_begin(struct quota_root *root) argument
90 iter->root = root;
132 namespaces = array_get(&iter->root
168 quota_count(struct quota_root *root, uint64_t *bytes_r, uint64_t *count_r, enum quota_get_result *error_result_r, const char **error_r) argument
204 quota_count_cached(struct count_quota_root *root, uint64_t *bytes_r, uint64_t *count_r, const char **error_r) argument
232 struct count_quota_root *root; local
238 count_quota_init(struct quota_root *root, const char *args, const char **error_r) argument
268 struct count_quota_root *root = (struct count_quota_root *)_root; local
338 quota_count_recalculate(struct quota_root *root, const char **error_r) argument
368 count_quota_update(struct quota_root *root, struct quota_transaction_context *ctx, const char **error_r) argument
[all...]
H A Dquota-dict.c17 struct quota_root root; member in struct:dict_quota_root
27 struct dict_quota_root *root; local
29 root = i_new(struct dict_quota_root, 1);
30 return &root->root;
41 struct dict_quota_root *root = (struct dict_quota_root *)_root; local
78 if (dict_init(args, &set, &root->dict, &error) < 0) {
87 struct dict_quota_root *root = (struct dict_quota_root *)_root; local
89 i_assert(root->to_update == NULL);
91 if (root
109 dict_quota_count(struct dict_quota_root *root, bool want_bytes, uint64_t *value_r, const char **error_r) argument
148 struct dict_quota_root *root = (struct dict_quota_root *)_root; local
184 dict_quota_recalc_timeout(struct dict_quota_root *root) argument
198 struct dict_quota_root *root = context; local
215 struct dict_quota_root *root = (struct dict_quota_root *) _root; local
242 struct dict_quota_root *root = (struct dict_quota_root *)_root; local
[all...]
H A Dquota-imapc.c26 struct quota_root root; member in struct:imapc_quota_root
43 struct imapc_quota_root *root; local
45 root = i_new(struct imapc_quota_root, 1);
46 return &root->root;
62 struct imapc_quota_root *root = (struct imapc_quota_root *)_root; local
65 {.param_name = "root=", .param_handler = handle_root_param},
75 if (root->box_name == NULL && root->root_name == NULL)
76 root
92 struct imapc_quota_root *root = (struct imapc_quota_root *)_root; local
112 struct imapc_quota_root *root = local
210 imapc_quota_client_init(struct imapc_quota_root *root) argument
264 struct imapc_quota_root *root = local
297 imapc_quota_refresh_mailbox(struct imapc_quota_root *root, const char **error_r) argument
330 imapc_quota_refresh_root(struct imapc_quota_root *root, const char **error_r) argument
367 imapc_quota_refresh(struct imapc_quota_root *root, const char **error_r) argument
408 struct imapc_quota_root *root = (struct imapc_quota_root *)_root; local
444 struct imapc_quota_root *root = (struct imapc_quota_root *)_root; local
[all...]
/dovecot/src/lib-settings/
H A Dsettings.c176 struct input_stack root, *input; local
198 i_zero(&root);
199 root.path = path;
200 input = &root;
/dovecot/src/plugins/imap-quota/
H A Dimap-quota-plugin.c23 struct quota_root *root)
27 name = quota_root_get_name(root);
36 struct mail_user *owner, struct quota_root *root)
45 name = imap_quota_root_get_name(user, owner, root);
50 list = quota_root_get_resources(root);
52 ret = quota_get_resource(root, "", *list, &value, &limit, &error);
67 /* this quota root doesn't have any quota actually enabled. */
82 struct quota_root *root; local
115 while ((root = quota_root_iter_next(iter)) != NULL) {
116 if (quota_root_is_hidden(root))
22 imap_quota_root_get_name(struct mail_user *user, struct mail_user *owner, struct quota_root *root) argument
35 quota_reply_write(string_t *str, struct mail_user *user, struct mail_user *owner, struct quota_root *root) argument
166 struct quota_root *root; local
192 struct quota_root *root; local
[all...]
/dovecot/src/plugins/quota-clone/
H A Dquota-clone-plugin.c48 struct quota_root *root; local
53 /* we'll clone the first quota root */
55 root = quota_root_iter_next(iter);
57 if (root == NULL) {
64 bytes_res = quota_get_resource(root, "", QUOTA_NAME_STORAGE_BYTES,
72 count_res = quota_get_resource(root, "", QUOTA_NAME_MESSAGES,
/dovecot/src/imap/
H A Dcmd-thread.c12 string_t *str, bool root)
23 if (count == 1 && !root) {
11 imap_thread_write(struct mail_thread_iterate_context *iter, string_t *str, bool root) argument
/dovecot/src/lib-storage/list/
H A Dmailbox-list-fs-iter.c108 const char *root, *src; local
110 root = mailbox_list_get_root_forced(ctx->ctx.list,
112 src = t_strconcat(root, "/", storage_name, NULL);
117 str_append(dest, root);
129 /* regular root */
132 /* full_filesystem_access=yes "/" root */
244 const char *root, *path = storage_name; local
249 b) mailbox is under our mail root, we changed
256 /* non-absolute path. add the mailbox root dir as prefix. */
261 if (!mailbox_list_get_root_path(ctx->ctx.list, type, &root))
404 const char *p, *last, *root, *prefix_vname; local
[all...]
/dovecot/src/plugins/fts-squat/
H A Dsquat-trie-private.h112 struct squat_node root; member in struct:squat_trie
/dovecot/src/lib-storage/index/
H A Dindex-thread-finish.c23 parent_root_idx points to root_idx1, or 0 for root. */
272 struct mail_thread_root_node *roots, *root, new_root; local
282 root = cur;
284 i_assert(root->parent_root_idx1 <= count);
285 root = &roots[root->parent_root_idx1 - 1];
286 } while (root->parent_root_idx1 != 0);
287 i_assert(!root->ignore);
295 i_assert(root->dummy);
300 thread_add_shadow_child(ctx, root
409 const struct mail_thread_root_node *root = value; local
419 struct mail_thread_root_node *roots, *root; local
463 struct mail_thread_root_node root; local
553 nodes_change_uids_to_seqs(struct mail_thread_iterate_context *iter, bool root) argument
[all...]

Completed in 572 milliseconds

12