Searched defs:tab (Results 1 - 24 of 24) sorted by relevance

/dovecot/src/lib-mail/
H A Dmail-user-hash.c27 const struct var_expand_table tab[] = { local
36 ret = var_expand(str, format, tab, &error);
/dovecot/src/lib-lda/
H A Dmail-send.c42 struct var_expand_table *tab; local
44 tab = t_malloc_no0(sizeof(stack_tab));
45 memcpy(tab, stack_tab, sizeof(stack_tab));
46 return tab;
H A Dmail-deliver.c165 const struct var_expand_table *tab; local
175 tab = mail_deliver_ctx_get_log_var_expand_table(ctx, msg);
176 if (var_expand(str, ctx->set->deliver_log_format, tab, &error) <= 0) {
/dovecot/src/plugins/acl/
H A Dacl-shared-storage.c49 const struct var_expand_table tab[] = { local
57 if (var_expand(str, sstorage->ns_prefix_pattern, tab, &error) <= 0) {
/dovecot/src/login-common/
H A Dlogin-settings.c128 struct var_expand_table *tab; local
130 tab = t_malloc_no0(sizeof(stack_tab));
131 memcpy(tab, stack_tab, sizeof(stack_tab));
132 return tab;
H A Dclient-common.c729 get_var_expand_users(struct var_expand_table *tab, const char *user) argument
733 tab[0].value = user;
734 tab[1].value = t_strcut(user, '@');
735 tab[2].value = i_strchr_to_next(user, '@');
738 tab[i].value = str_sanitize(tab[i].value, 80);
744 struct var_expand_table *tab; local
746 tab = t_malloc_no0(sizeof(login_var_expand_empty_tab));
747 memcpy(tab, login_var_expand_empty_tab,
751 get_var_expand_users(tab, clien
897 const struct var_expand_table tab[3] = { local
[all...]
/dovecot/src/auth/
H A Dauth-request-var-expand.c75 struct var_expand_table *tab, *ret_tab; local
83 tab = ret_tab = t_new(struct var_expand_table,
85 tab += *count;
88 memcpy(tab, auth_request_var_expand_static_tab,
89 auth_count * sizeof(*tab));
92 tab[0].value = escape_func(username, auth_request);
93 tab[1].value = escape_func(t_strcut(username, '@'),
95 tab[2].value = i_strchr_to_next(username, '@');
96 if (tab[2].value != NULL)
97 tab[
[all...]
H A Dtest-auth-request-var-expand.c73 const struct var_expand_table *tab = local
78 test_assert(var_expand(str, input, tab, &error) == 1);
95 const struct var_expand_table *tab; local
101 tab = auth_request_get_var_expand_table(&test_request, test_escape);
102 test_assert(var_expand(str, test_input_short, tab, &error) == 1);
106 test_assert(var_expand(str, test_input_long, tab, &error) == 1);
H A Duserdb-vpopmail.c58 struct var_expand_table *tab; local
67 tab = t_new(struct var_expand_table, 2);
68 tab[0].key = 'q';
69 tab[0].value = format_maildirquota(vpop_str);
72 if (var_expand(quota, template, tab, error_r) < 0)
H A Ddb-checkpassword.c213 const struct var_expand_table *tab; local
216 tab = auth_request_get_var_expand_table(request, NULL);
217 for (i = 0; tab[i].key != '\0' || tab[i].long_key != NULL; i++) {
228 if (tab[i].long_key != NULL && tab[i].value != NULL &&
229 strcasecmp(tab[i].long_key, "password") != 0) {
231 t_str_ucase(tab[i].long_key),
232 tab[i].value));
H A Dauth-cache.c30 const struct var_expand_table *tab = auth_request_var_expand_static_tab; local
33 for (i = 0; tab[i].key != '\0' || tab[i].long_key != NULL; i++) {
35 if (key[0] == tab[i].key) {
39 } else if (tab[i].long_key != NULL) {
40 if (strncmp(key, tab[i].long_key, size) == 0 &&
41 tab[i].long_key[size] == '\0') {
67 const struct var_expand_table *tab = local
73 if (tab->key != '\0')
74 str_append_c(str, tab
[all...]
H A Ddb-ldap.c1765 const struct var_expand_table *tab; local
1796 tab = auth_request_get_var_expand_table(
1798 if (var_expand_with_funcs(ctx->var, field->name, tab,
/dovecot/src/lib-storage/index/shared/
H A Dshared-storage.c227 struct var_expand_table tab[] = { local
237 if (var_expand(prefix, storage->ns_prefix_pattern, tab, &error) <= 0) {
271 if ((ret = mail_user_get_home(owner, &tab[3].value)) < 0) {
282 var_expand(location, storage->location, tab, &error) <= 0) {
/dovecot/src/lmtp/
H A Dclient.c115 const struct var_expand_table *tab = local
118 client->pool, tab, &error) <= 0)
/dovecot/src/submission/
H A Dsubmission-client.c354 const struct var_expand_table *tab = local
361 tab, mail_user_var_expand_func_table,
/dovecot/src/pop3/
H A Dpop3-commands.c635 const struct var_expand_table tab[] = { local
646 tab, &error) <= 0) {
H A Dpop3-client.c546 const struct var_expand_table *tab = local
553 tab, mail_user_var_expand_func_table,
/dovecot/src/lib-storage/
H A Dmail-user.c317 struct var_expand_table *tab; local
319 tab = p_malloc(user->pool, sizeof(stack_tab));
320 memcpy(tab, stack_tab, sizeof(stack_tab));
322 user->var_expand_table = tab;
H A Dmail-storage-service.c437 struct var_expand_table *tab; local
439 tab = t_malloc_no0(sizeof(stack_tab));
440 memcpy(tab, stack_tab, sizeof(stack_tab));
441 return tab;
/dovecot/src/director/
H A Ddirector.c831 struct var_expand_table tab[] = { local
857 if (var_expand(s_sock, dir->set->director_flush_socket, tab, &error) <= 0) {
/dovecot/src/imap/
H A Dimap-client.c286 const struct var_expand_table *tab = local
293 tab, mail_user_var_expand_func_table,
/dovecot/src/imap-hibernate/
H A Dimap-client.c476 struct var_expand_table *tab; local
478 tab = t_malloc_no0(sizeof(stack_tab));
479 memcpy(tab, stack_tab, sizeof(stack_tab));
480 return tab;
/dovecot/src/doveadm/
H A Ddoveadm-dsync.c238 struct var_expand_table *tab; local
243 tab = t_malloc_no0(sizeof(static_tab));
244 memcpy(tab, static_tab, sizeof(static_tab));
246 tab[0].value = mail_user;
247 tab[1].value = login;
248 tab[2].value = host;
263 if (var_expand(str, *args, tab, &error) <= 0 ||
/dovecot/src/lib-sql/
H A Ddriver-cassandra.c646 struct var_expand_table tab[] = { local
654 if (var_expand(path, db->metrics_path, tab, &error) <= 0) {

Completed in 82 milliseconds