Searched refs:var_expand (Results 1 - 21 of 21) sorted by relevance

/dovecot/src/plugins/var-expand-crypt/
H A Dtest-var-expand-crypt.c50 int ret = var_expand(dest, test_cases[i].input, table, &error);
53 i_info("Expected: var_expand(%s): %s", test_cases[i].input, error);
55 i_error("var_expand(%s): %s", test_cases[i].input, error);
73 test_assert_idx(var_expand(input, "%{encrypt;algo=aes-128-cbc,key=%{key}:decrypted}", table, &error) == 1, i);
75 test_assert_idx(var_expand(output, "%{decrypt;algo=aes-128-cbc,key=%{key}:encrypted2}", table, &error) == 1, i);
/dovecot/src/auth/
H A Dtest-auth-request-var-expand.c78 test_assert(var_expand(str, input, tab, &error) == 1);
102 test_assert(var_expand(str, test_input_short, tab, &error) == 1);
106 test_assert(var_expand(str, test_input_long, tab, &error) == 1);
127 test_assert(var_expand(str, test_input,
137 test_assert(var_expand(str, test_input,
163 test_assert(var_expand(str, test_input,
191 test_assert(var_expand(str, test_input,
H A Dtest-auth-cache.c27 int ret = var_expand(dest, str, auth_request_var_expand_static_tab, error_r);
H A Duserdb-vpopmail.c72 if (var_expand(quota, template, tab, error_r) < 0)
H A Ddb-passwd-file.c351 if (var_expand(dest, path, empty_table, &error) <= 0)
H A Ddb-oauth2.c464 var_expand(username_val, req->db->set.username_format, table, &error) < 0) {
465 *error_r = t_strdup_printf("var_expand(%s) failed: %s",
/dovecot/src/lib-mail/
H A Dmail-user-hash.c36 ret = var_expand(str, format, tab, &error);
/dovecot/src/lib/
H A Dvar-expand.h23 int var_expand(string_t *dest, const char *str,
26 /* Like var_expand(), but support also callback functions for
H A Dtest-var-expand.c40 test_begin("var_expand - ranges");
43 test_assert(var_expand(str, tests[i].in, table, &error) == tests[i].ret);
76 test_begin("var_expand - builtin");
79 test_assert_idx(var_expand(str, tests[i].in, table, &error) == tests[i].ret, i);
417 ret = var_expand(dest, tests[i].in, table, &error);
H A Dvar-expand.c628 int var_expand(string_t *dest, const char *str, function
/dovecot/src/doveadm/
H A Ddoveadm-print-formatted.c67 if (var_expand(ctx.buf, ctx.format, array_idx(&ctx.headers,0), &error) <= 0) {
H A Ddoveadm-dsync.c263 if (var_expand(str, *args, tab, &error) <= 0 ||
264 var_expand(str2, *args, static_tab, &error) <= 0) {
/dovecot/src/plugins/acl/
H A Dacl-shared-storage.c57 if (var_expand(str, sstorage->ns_prefix_pattern, tab, &error) <= 0) {
/dovecot/src/lib-lda/
H A Dmail-send.c126 if (var_expand(str, ctx->set->rejection_subject,
143 if (var_expand(str, ctx->set->rejection_reason,
H A Dmail-deliver.c176 if (var_expand(str, ctx->set->deliver_log_format, tab, &error) <= 0) {
/dovecot/src/lib-storage/index/shared/
H A Dshared-storage.c237 if (var_expand(prefix, storage->ns_prefix_pattern, tab, &error) <= 0) {
282 var_expand(location, storage->location, tab, &error) <= 0) {
/dovecot/src/plugins/notify-status/
H A Dnotify-status-plugin.c177 if (var_expand(dest, nuser->value_template, values, &error)<0) {
178 i_error("notify-status: var_expand(%s) failed: %s",
/dovecot/src/lib-dict-backend/
H A Ddict-ldap.c225 if (var_expand(query_r, template, array_idx(&exp, 0), &error) <= 0) {
/dovecot/src/login-common/
H A Dclient-common.c878 if (var_expand(str2, *e, login_var_expand_empty_tab,
904 if (var_expand(str, client->set->login_log_format, tab, &error) <= 0) {
/dovecot/src/pop3/
H A Dpop3-commands.c645 if (var_expand(str, client->mail_set->pop3_uidl_format,
/dovecot/src/director/
H A Ddirector.c857 if (var_expand(s_sock, dir->set->director_flush_socket, tab, &error) <= 0) {

Completed in 65 milliseconds