Searched refs:key_r (Results 1 - 25 of 37) sorted by relevance

12

/dovecot/src/lib-storage/
H A Dmail-search-parser.c15 const char **key_r)
19 if ((ret = parser->v.parse_key(parser, key_r)) <= 0)
22 parser->cur_key = *key_r;
14 mail_search_parse_key(struct mail_search_parser *parser, const char **key_r) argument
H A Dmail-search-parser-cmdline.c14 const char **key_r)
30 *key_r = MAIL_SEARCH_PARSER_KEY_LIST;
39 *key_r = MAIL_SEARCH_PARSER_KEY_LIST;
42 *key_r = parser->args[0];
13 cmdline_search_parse_key(struct mail_search_parser *_parser, const char **key_r) argument
H A Dmail-search-parser-private.h7 int (*parse_key)(struct mail_search_parser *parser, const char **key_r);
H A Dmail-search-parser.h22 const char **key_r);
H A Dmail-search-parser-imap.c20 const char **key_r)
30 *key_r = imap_arg_as_astring(arg);
46 *key_r = MAIL_SEARCH_PARSER_KEY_LIST;
19 imap_search_parse_key(struct mail_search_parser *_parser, const char **key_r) argument
/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-key.h35 struct dcrypt_private_key **key_r,
38 struct dcrypt_private_key **key_r,
41 struct dcrypt_private_key **key_r,
47 struct dcrypt_public_key **key_r,
50 struct dcrypt_public_key **key_r,
54 struct dcrypt_private_key **key_r,
H A Dmail-crypt-key.c170 struct dcrypt_private_key **key_r,
187 *key_r = key;
211 struct dcrypt_private_key **key_r,
290 *key_r = key;
297 struct dcrypt_private_key **key_r,
304 if (mail_crypt_get_key_cache(muser->key_cache, pubid, key_r, NULL) > 0) {
336 *key_r = key;
342 struct dcrypt_private_key **key_r,
379 key_r, error_r);
385 struct dcrypt_private_key **key_r,
169 mail_crypt_env_get_private_key(struct mail_user *user, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument
209 mail_crypt_decrypt_private_key(struct mailbox *box, const char *pubid, const char *data, struct dcrypt_private_key **key_r, const char **error_r) argument
295 mail_crypt_get_private_key(struct mailbox *box, const char *pubid, bool user_key, bool shared, struct dcrypt_private_key **key_r, const char **error_r) argument
341 mail_crypt_user_get_private_key(struct mail_user *user, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument
384 mail_crypt_box_get_private_key(struct mailbox *box, struct dcrypt_private_key **key_r, const char **error_r) argument
539 mail_crypt_get_public_key(struct mailbox *box, const char *pubid, bool user_key, struct dcrypt_public_key **key_r, const char **error_r) argument
607 mail_crypt_user_get_public_key(struct mail_user *user, struct dcrypt_public_key **key_r, const char **error_r) argument
642 mail_crypt_box_get_public_key(struct mailbox *box, struct dcrypt_public_key **key_r, const char **error_r) argument
819 mail_crypt_box_get_shared_key(struct mailbox *box, const char *pubid, struct dcrypt_private_key **key_r, const char **error_r) argument
[all...]
/dovecot/src/lib-smtp/
H A Dsmtp-syntax.h42 const char **key_r, const char *const **params_r,
H A Dsmtp-syntax.c169 const char **key_r, const char *const **params_r)
196 if (key_r != NULL)
197 *key_r = p_strdup_until(parser->pool, pbegin, parser->cur);
238 int smtp_ehlo_line_parse(const char *ehlo_line, const char **key_r, argument
252 if ((ret=smtp_parse_ehlo_line(&parser, key_r, params_r)) <= 0) {
168 smtp_parse_ehlo_line(struct smtp_parser *parser, const char **key_r, const char *const **params_r) argument
/dovecot/src/auth/
H A Dpassword-scheme-pbkdf2.c18 unsigned int rounds, unsigned char key_r[PBKDF2_KEY_SIZE_SHA1])
20 memset(key_r, 0, PBKDF2_KEY_SIZE_SHA1);
22 buffer_create_from_data(&buf, key_r, PBKDF2_KEY_SIZE_SHA1);
17 pbkdf_run(const char *plaintext, const char *salt, unsigned int rounds, unsigned char key_r[PBKDF2_KEY_SIZE_SHA1]) argument
H A Ddb-dict.h70 const char **key_r, const char **value_r);
H A Ddb-dict.c496 const char **key_r, const char **value_r)
522 *key_r = str_c(tmpstr);
541 const char **key_r, const char **value_r)
547 return db_dict_value_iter_json_next(iter, iter->tmpstr, key_r, value_r);
560 return db_dict_value_iter_json_next(iter, iter->tmpstr, key_r, value_r);
607 const char **key_r, const char **value_r)
617 return db_dict_value_iter_object_next(iter, key_r, value_r);
629 *key_r = field->name;
494 db_dict_value_iter_json_next(struct db_dict_value_iter *iter, string_t *tmpstr, const char **key_r, const char **value_r) argument
540 db_dict_value_iter_object_next(struct db_dict_value_iter *iter, const char **key_r, const char **value_r) argument
606 db_dict_value_iter_next(struct db_dict_value_iter *iter, const char **key_r, const char **value_r) argument
/dovecot/src/lib-imap-storage/
H A Dimap-metadata.c79 const char **key_r)
89 *key_r = entry + strlen(IMAP_METADATA_PRIVATE_PREFIX);
94 *key_r = entry + strlen(IMAP_METADATA_SHARED_PREFIX);
97 if ((*key_r)[0] == '\0') {
100 i_assert((*key_r)[0] == '/');
101 *key_r += 1;
103 if (strncmp(*key_r, MAILBOX_ATTRIBUTE_PREFIX_DOVECOT_PVT,
112 *key_r = t_strconcat(key_prefix, *key_r, NULL);
77 imap_metadata_entry2key(struct imap_metadata_transaction *imtrans, const char *entry, enum mail_attribute_type *type_r, const char **key_r) argument
/dovecot/src/lib/
H A Dhash.h138 void **key_r, void **value_r);
140 # define hash_table_iterate(ctx, table, key_r, value_r) \
142 (void *)((key_r) + \
143 COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE((table)._keyp, key_r) + \
144 COMPILE_ERROR_IF_TRUE(sizeof(*(key_r)) != sizeof(void *)) + \
150 # define hash_table_iterate(ctx, table, key_r, value_r) \
151 hash_table_iterate(ctx, key_r, value_r)
/dovecot/src/lib-mail/
H A Drfc822-parser.h52 const char **key_r, const char **value_r);
H A Drfc822-parser.c375 const char **key_r, const char **value_r)
386 *key_r = NULL;
425 *key_r = str_c(tmp);
426 *value_r = *key_r + value_pos;
374 rfc822_parse_content_param(struct rfc822_parser_context *ctx, const char **key_r, const char **value_r) argument
/dovecot/src/lib-dict-extra/
H A Ddict-fs.c148 const char **key_r, const char **value_r)
159 *key_r = fs_iter_next(iter->fs_iter);
160 if (*key_r == NULL) {
169 return fs_dict_iterate(ctx, key_r, value_r);
176 path = t_strconcat(iter->paths[iter->path_idx], *key_r, NULL);
183 return fs_dict_iterate(ctx, key_r, value_r);
147 fs_dict_iterate(struct dict_iterate_context *ctx, const char **key_r, const char **value_r) argument
/dovecot/src/lib-dict-backend/
H A Ddict-cdb.c149 cdb_dict_next(struct cdb_dict_iterate_context *ctx, const char **key_r) argument
175 *key_r = data;
181 const char **key_r, const char **value_r)
213 *key_r = key;
180 cdb_dict_iterate(struct dict_iterate_context *_ctx, const char **key_r, const char **value_r) argument
H A Ddict-db.c33 const char **key_r, const char **value_r);
200 const char **key_r, const char **value_r)
211 *key_r = p_strndup(ctx->pool, ctx->pkey.data, ctx->pkey.size);
265 const char **key_r, const char **value_r)
297 return db_dict_iterate_set(ctx, ret, key_r, value_r);
301 const char **key_r, const char **value_r)
322 return db_dict_iterate_set(ctx, ret, key_r, value_r);
325 return db_dict_iterate_next(ctx, key_r, value_r);
347 const char **key_r, const char **value_r)
353 ret = ctx->iterate_next(ctx, key_r, value_
199 db_dict_iterate_set(struct db_dict_iterate_context *ctx, int ret, const char **key_r, const char **value_r) argument
264 db_dict_iterate_next(struct db_dict_iterate_context *ctx, const char **key_r, const char **value_r) argument
300 db_dict_iterate_first(struct db_dict_iterate_context *ctx, const char **key_r, const char **value_r) argument
346 db_dict_iterate(struct dict_iterate_context *_ctx, const char **key_r, const char **value_r) argument
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-mail-mailbox-metadata.c103 const char **key_r)
109 *key_r = arg + 9;
112 *key_r = arg + 8;
115 *key_r = "";
118 *key_r = "";
101 cmd_mailbox_metadata_parse_key(const char *arg, enum mail_attribute_type *type_r, const char **key_r) argument
/dovecot/src/lib-dcrypt/
H A Ddcrypt-openssl.c863 bool dcrypt_openssl_load_private_key_dovecot_v1(struct dcrypt_private_key **key_r, argument
968 *key_r = i_new(struct dcrypt_private_key, 1);
969 (*key_r)->key = key;
970 (*key_r)->ref++;
1027 bool dcrypt_openssl_load_private_key_dovecot_v2(struct dcrypt_private_key **key_r, argument
1172 *key_r = i_new(struct dcrypt_private_key, 1);
1173 (*key_r)->key = pkey;
1174 (*key_r)->ref++;
1214 *key_r = i_new(struct dcrypt_private_key, 1);
1215 (*key_r)
1239 dcrypt_openssl_load_private_key_dovecot(struct dcrypt_private_key **key_r, const char *data, const char *password, struct dcrypt_private_key *key, enum dcrypt_key_version version, const char **error_r) argument
1260 dcrypt_openssl_load_public_key_dovecot_v1(struct dcrypt_public_key **key_r, int len, const char **input, const char **error_r) argument
1321 dcrypt_openssl_load_public_key_dovecot_v2(struct dcrypt_public_key **key_r, int len, const char **input, const char **error_r) argument
1357 dcrypt_openssl_load_public_key_dovecot(struct dcrypt_public_key **key_r, const char *data, enum dcrypt_key_version version, const char **error_r) argument
1577 dcrypt_openssl_load_private_key(struct dcrypt_private_key **key_r, const char *data, const char *password, struct dcrypt_private_key *dec_key, const char **error_r) argument
1626 dcrypt_openssl_load_public_key(struct dcrypt_public_key **key_r, const char *data, const char **error_r) argument
[all...]
H A Ddcrypt-private.h66 bool (*load_private_key)(struct dcrypt_private_key **key_r, const char *data,
68 bool (*load_public_key)(struct dcrypt_public_key **key_r,
H A Ddcrypt.c238 bool dcrypt_key_load_private(struct dcrypt_private_key **key_r, const char *data, argument
242 return dcrypt_vfs->load_private_key(key_r, data, password, dec_key, error_r);
244 bool dcrypt_key_load_public(struct dcrypt_public_key **key_r, const char *data, const char **error_r) argument
247 return dcrypt_vfs->load_public_key(key_r, data, error_r);
/dovecot/src/lib-dict/
H A Ddict-private.h22 const char **key_r, const char **value_r);
H A Ddict-fail.c50 const char **key_r ATTR_UNUSED, const char **value_r ATTR_UNUSED)

Completed in 76 milliseconds

12