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

/dovecot/src/lib-index/
H A Dmail-cache-lookup.c239 unsigned int field_idx; local
282 field_idx = cache->file_field_map[file_field];
283 data_size = cache->fields[field_idx].field.field_size;
298 field_r->field_idx = field_idx;
323 buffer_write(view->cached_exists_buf, field.field_idx,
368 mail_cache_field_get_decision(struct mail_cache *cache, unsigned int field_idx) argument
370 i_assert(field_idx < cache->fields_count);
372 return cache->fields[field_idx].field.decision;
377 unsigned int field_idx, unsigne
376 mail_cache_lookup_bitmask(struct mail_cache_lookup_iterate_ctx *iter, unsigned int field_idx, unsigned int field_size, buffer_t *dest_buf) argument
404 mail_cache_lookup_field(struct mail_cache_view *view, buffer_t *dest_buf, uint32_t seq, unsigned int field_idx) argument
[all...]
H A Dmail-cache-fields.c15 #define CACHE_FIELD_IS_NEWLY_WANTED(cache, field_idx) \
16 ((cache)->field_file_map[field_idx] == (uint32_t)-1 && \
17 (cache)->fields[field_idx].used)
181 mail_cache_register_get_field(struct mail_cache *cache, unsigned int field_idx) argument
183 i_assert(field_idx < cache->fields_count);
185 return &cache->fields[field_idx].field;
H A Dmail-cache-private.h181 unsigned int field_idx; member in struct:mail_cache_iterate_field
H A Dmail-cache-transaction.c638 unsigned int field_idx)
644 if (cache->file_fields_count <= field_idx) {
649 field_idx+1);
650 cache->file_fields_count = field_idx+1;
652 cache->file_field_map[field_idx] = field_idx;
653 cache->field_file_map[field_idx] = field_idx;
664 if (cache->field_file_map[field_idx] != (uint32_t)-1)
678 if (cache->field_file_map[field_idx] !
637 mail_cache_header_add_field(struct mail_cache_transaction_ctx *ctx, unsigned int field_idx) argument
710 mail_cache_add(struct mail_cache_transaction_ctx *ctx, uint32_t seq, unsigned int field_idx, const void *data, size_t data_size) argument
815 mail_cache_field_want_add(struct mail_cache_transaction_ctx *ctx, uint32_t seq, unsigned int field_idx) argument
844 mail_cache_field_can_add(struct mail_cache_transaction_ctx *ctx, uint32_t seq, unsigned int field_idx) argument
[all...]
/dovecot/src/lib-storage/index/
H A Dindex-mail-binary.c441 const unsigned int field_idx = local
450 ret = index_mail_cache_lookup_field(mail, part_buf, field_idx);
H A Dindex-mail-headers.c30 diff = (int)l1->field_idx - (int)l2->field_idx;
58 while (match_idx < lines[i].field_idx &&
74 i_assert(match_idx == lines[i].field_idx);
81 _mail->seq, lines[i].field_idx)) {
85 if (lines[j].field_idx != lines[i].field_idx)
99 if (lines[j].field_idx != lines[i].field_idx)
121 index_mail_cache_add_idx(mail, lines[i].field_idx,
194 unsigned int i, field_idx, match_count; local
286 unsigned int field_idx, count; local
549 index_mail_header_is_parsed(struct index_mail *mail, unsigned int field_idx) argument
583 index_mail_get_parsed_header(struct index_mail *mail, unsigned int field_idx) argument
628 unsigned int field_idx; local
[all...]
H A Dindex-mail.h69 unsigned int field_idx; member in struct:index_mail_line
262 void index_mail_cache_add_idx(struct index_mail *mail, unsigned int field_idx,
272 unsigned int field_idx);
H A Dindex-mail.c78 unsigned int field_idx)
83 buf, mail->data.seq, field_idx);
91 const unsigned int field_idx = local
95 return index_mail_cache_lookup_field(mail, *part_buf_r, field_idx);
173 const unsigned int field_idx = mail->ibox->cache_fields[field].idx; local
178 if (index_mail_cache_lookup_field(mail, &buf, field_idx) <= 0)
589 void index_mail_cache_add_idx(struct index_mail *mail, unsigned int field_idx, argument
605 mail->data.dont_cache_field_idx != field_idx &&
608 field_idx, data, data_size);
77 index_mail_cache_lookup_field(struct index_mail *mail, buffer_t *buf, unsigned int field_idx) argument
/dovecot/src/auth/
H A Ddb-dict.c45 unsigned int field_idx; member in struct:db_dict_value_iter
616 if (iter->field_idx == array_count(iter->fields))
618 field = array_idx(iter->fields, iter->field_idx++);
/dovecot/src/plugins/pop3-migration/
H A Dpop3-migration-plugin.c806 unsigned int field_idx; local
811 field_idx = imail->ibox->cache_fields[MAIL_CACHE_POP3_UIDL].idx;
820 if (mail_cache_field_can_add(t->cache_trans, mail->seq, field_idx)) {
821 index_mail_cache_add_idx(imail, field_idx,

Completed in 105 milliseconds