Searched defs:glob (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/plugins/expire/
H A Dexpire-set.c17 struct imap_match_glob *glob; local
27 glob = imap_match_init(set->pool, *pattern, TRUE, '/');
28 array_append(&set->globs, &glob, 1);
H A Ddoveadm-expire.c25 struct imap_match_glob *glob; member in struct:expire_query
62 if (query->glob == NULL) {
66 if (imap_match(query->glob, mailbox) == IMAP_MATCH_YES)
205 query.glob = imap_match_init(ctx->pool, arg->value.str,
243 query.glob = imap_match_init(ctx->pool, arg->value.str,
/dovecot/src/lib-imap/
H A Dtest-imap-match.c51 struct imap_match_glob *glob, *glob2; local
60 glob = imap_match_init(pool, test[i].pattern,
62 test_assert(imap_match(glob, test[i].input) == test[i].result);
64 glob2 = imap_match_dup(default_pool, glob);
65 test_assert(imap_match_globs_equal(glob, glob2));
75 glob = imap_match_init(pool, inbox_test[i].pattern,
77 test_assert(imap_match(glob, inbox_test[i].input) == inbox_test[i].result);
79 glob2 = imap_match_dup(default_pool, glob);
80 test_assert(imap_match_globs_equal(glob, glob2));
93 struct imap_match_glob *glob; local
[all...]
H A Dimap-match.c115 struct imap_match_glob *glob; local
136 glob = p_malloc(pool, sizeof(struct imap_match_glob) +
138 glob->pool = pool;
139 glob->sep = separator;
147 memcpy(glob->patterns_data + pos,
149 match_patterns[i].pattern = glob->patterns_data + pos;
152 glob->patterns = match_patterns;
153 return glob;
160 struct imap_match_glob *glob; local
167 glob
173 imap_match_deinit(struct imap_match_glob **glob) argument
183 imap_match_dup_real(pool_t pool, const struct imap_match_glob *glob) argument
201 imap_match_dup(pool_t pool, const struct imap_match_glob *glob) argument
363 imap_match(struct imap_match_glob *glob, const char *data) argument
[all...]
/dovecot/src/lib-storage/list/
H A Dmailbox-list-maildir-iter.c48 struct imap_match_glob *glob, bool update_only,
60 if (imap_match(glob, vname) != IMAP_MATCH_YES)
113 struct imap_match_glob *glob, const char *inbox_name,
142 match = imap_match(glob, inbox_name);
144 maildir_fill_parents(ctx, glob, FALSE, inbox_name);
268 struct imap_match_glob *glob, const struct dirent *d,
318 match = imap_match(glob, vname);
343 maildir_fill_parents(ctx, glob, update_only, vname);
369 struct imap_match_glob *glob, bool update_only)
393 ret = maildir_fill_readdir_entry(ctx, glob,
47 maildir_fill_parents(struct maildir_list_iterate_context *ctx, struct imap_match_glob *glob, bool update_only, const char *vname) argument
112 maildir_fill_inbox(struct maildir_list_iterate_context *ctx, struct imap_match_glob *glob, const char *inbox_name, bool update_only) argument
267 maildir_fill_readdir_entry(struct maildir_list_iterate_context *ctx, struct imap_match_glob *glob, const struct dirent *d, bool update_only) argument
368 maildir_fill_readdir(struct maildir_list_iterate_context *ctx, struct imap_match_glob *glob, bool update_only) argument
[all...]
H A Dmailbox-list-iter.c244 struct imap_match_glob *glob; local
272 glob = imap_match_init(pool_datastack_create(), pattern,
274 result = imap_match(glob, prefix_without_sep);
307 struct imap_match_glob *glob; local
321 glob = imap_match_init(pool_datastack_create(), pattern,
323 result = imap_match(glob, prefix_without_sep);
711 struct imap_match_glob *glob; local
713 glob = imap_match_init_multiple(pool_datastack_create(), patterns,
715 return imap_match(glob, "INBOX") == IMAP_MATCH_YES;
947 match = imap_match(ctx->glob, act
[all...]
/dovecot/src/lib-storage/
H A Dmail-search.c562 struct imap_match_glob *glob; local
564 glob = imap_match_init(pool_datastack_create(),
566 ret = imap_match(glob, vname) == IMAP_MATCH_YES;
H A Dmailbox-list-private.h162 struct imap_match_glob *glob; member in struct:mailbox_list_iterate_context
173 struct imap_match_glob *glob; member in struct:mailbox_list_iter_update_context
/dovecot/src/plugins/notify-status/
H A Dnotify-status-plugin.c76 struct imap_match_glob **glob; local
84 glob = array_append_space(patterns);
85 *glob = imap_match_init(user->pool, value, TRUE, sep);
93 struct imap_match_glob **glob; local
102 array_foreach_modifiable(&nuser->patterns, glob) {
103 if ((imap_match(*glob, mailbox_get_vname(box)) & IMAP_MATCH_YES) != 0)
/dovecot/src/plugins/virtual/
H A Dvirtual-storage.h101 /* name contains a wildcard, this is a glob for it */
102 struct imap_match_glob *glob; member in struct:virtual_backend_box

Completed in 18 milliseconds