Searched refs:recs (Results 1 - 11 of 11) sorted by relevance

/dovecot/src/lib-index/
H A Dtest-mail-index-transaction-finish.c11 static struct mail_index_record recs[20]; variable in typeref:struct:mail_index_record
12 static uint64_t modseqs[N_ELEMENTS(recs)];
35 i_assert(seq < N_ELEMENTS(recs));
36 return &recs[seq];
43 i_assert(seq < N_ELEMENTS(recs));
44 return &recs[seq];
101 recs[1].flags = MAIL_SEEN;
102 recs[2].flags = MAIL_SEEN;
103 recs[4].flags = MAIL_SEEN;
104 recs[
[all...]
H A Dmail-index-strmap.c33 ARRAY_TYPE(mail_index_strmap_rec) recs;
202 i_array_init(&view->recs, 64);
207 *recs_r = &view->recs;
217 array_free(&view->recs);
231 array_clear(&view->recs);
695 array_append(&ctx->view->recs, &ctx->rec, 1);
783 array_append(&view->recs, rec, 1);
804 array_append(&view->recs, &rec, 1);
815 array_append_zero(&view->recs);
816 array_delete(&view->recs, array_coun
822 struct mail_index_strmap_rec *recs, *hash_rec; local
891 const struct mail_index_strmap_rec *recs; local
[all...]
H A Dmail-index-transaction-sort-appends.c127 struct mail_index_record *recs, *sorted_recs; local
134 recs = array_get_modifiable(&t->appends, &count);
138 i_assert(recs[0].uid != 0);
141 i_assert(recs[i-1].uid < recs[i].uid);
149 i_assert(recs[i].uid != 0);
151 new_uid_map[i].uid = recs[i].uid;
159 sorted_recs[0] = recs[new_uid_map[0].idx];
161 sorted_recs[i] = recs[new_uid_map[i].idx];
H A Dmail-cache-transaction.c293 const struct mail_cache_transaction_rec *recs; local
305 recs = array_get(&ctx->cache_data_seq, &count);
307 if (recs[i].seq == seq) {
310 recs[i].cache_data_pos);
330 const struct mail_cache_transaction_rec *recs; local
339 recs = array_get(&ctx->cache_data_seq, &seq_count);
341 mail_index_update_ext(ctx->trans, recs[i].seq, cache->ext_id,
356 const struct mail_cache_transaction_rec *recs; local
365 recs = array_get(&ctx->cache_data_seq, &seq_count);
369 recs[
478 struct mail_cache_transaction_rec *recs; local
[all...]
H A Dmail-index-transaction-view.c24 void *recs; member in struct:mail_index_view_transaction
33 void **recs; local
41 recs = array_get_modifiable(&tview->all_recs, &count);
43 i_free(recs[i]);
115 tview->recs = i_malloc(MALLOC_MULTIPLY(tview->record_size,
117 array_append(&tview->all_recs, &tview->recs, 1);
122 trec = PTR_OFFSET(tview->recs, (seq-1) * tview->record_size);
H A Dmail-index-transaction-update.c198 struct mail_index_record *recs; local
209 recs = array_get_modifiable(&t->appends, &count);
214 if (next_uid <= recs[i].uid)
215 next_uid = recs[i].uid + 1;
221 if (recs[i].uid == 0 || recs[i].uid < first_uid) {
223 recs[i].uid = next_uid++;
224 if (t->highest_append_uid < recs[i].uid)
225 t->highest_append_uid = recs[i].uid;
235 range->seq1 = range->seq2 = recs[
[all...]
H A Dmail-transaction-log-view.c621 const struct mail_transaction_expunge_guid *recs = data; local
624 if ((rec_size % sizeof(*recs)) != 0) {
629 count = rec_size / sizeof(*recs);
631 if (recs[i].uid == 0) {
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-uidlist.c387 struct maildir_uidlist_rec *const *recs, *const *pos; local
390 recs = array_get(&uidlist->records, &count);
394 idx = pos - recs;
397 if (recs[idx]->uid == rec->uid)
450 struct maildir_uidlist_rec *rec, *old_rec, *const *recs; local
557 recs = array_get(&uidlist->records, &count);
558 if (count > 0 && recs[count-1]->uid > uid) {
1333 struct maildir_uidlist_rec *const *recs; local
1356 recs = array_get(&uidlist->records, &count);
1359 if (recs[
1572 struct maildir_uidlist_rec **recs; local
1672 struct maildir_uidlist_rec *rec, *const *recs; local
1938 struct maildir_uidlist_rec **recs; local
[all...]
/dovecot/src/plugins/virtual/
H A Dvirtual-search.c184 const struct virtual_search_record *recs; local
187 recs = array_get(&vctx->records, &count);
190 ctx->seq = recs[vctx->next_record_idx++].virtual_seq - 1;
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-map.h69 ARRAY_TYPE(mdbox_map_file_msg) *recs);
H A Dmdbox-map.c406 ARRAY_TYPE(mdbox_map_file_msg) *recs)
426 array_append(recs, &msg, 1);
405 mdbox_map_get_file_msgs(struct mdbox_map *map, uint32_t file_id, ARRAY_TYPE(mdbox_map_file_msg) *recs) argument

Completed in 26 milliseconds