Searched defs:seq (Results 1 - 25 of 109) sorted by relevance

12345

/dovecot/src/lib-index/
H A Dmail-index-util.h15 uint32_t seq, unsigned int *idx_r); variable
18 bool mail_index_seq_array_add(ARRAY_TYPE(seq_array) *array, uint32_t seq, variable
H A Dtest-mail-index-map.c14 uint32_t seq, first_uid, last_uid, first_seq, last_seq, max_uid; local
24 for (seq = 1; seq <= map.hdr.messages_count; seq++)
25 MAIL_INDEX_REC_AT_SEQ(&map, seq)->uid = seq*2;
26 max_uid = (seq-1)*2;
44 test_begin("mail index map lookup seq range");
H A Dtest-mail-index-modseq.c31 uint32_t seq, uid; local
55 mail_index_append(trans, uid, &seq);
63 mail_index_append(trans, uid, &seq);
H A Dmail-cache-decisions.c74 uint32_t seq, unsigned int field)
106 mail_index_lookup_uid(view->view, seq, &uid);
129 void mail_cache_decision_add(struct mail_cache_view *view, uint32_t seq, argument
151 mail_index_lookup_uid(view->view, seq, &uid);
73 mail_cache_decision_state_update(struct mail_cache_view *view, uint32_t seq, unsigned int field) argument
H A Dmail-index-transaction-sort-appends.c5 #include "seq-range-array.h"
33 uint32_t seq; local
51 seq = *ext_rec < first_new_seq ? *ext_rec :
53 (void)mail_index_seq_array_add(&new_array, seq, ext_rec+1,
H A Dmail-index-map-hdr.c226 uint32_t seq; local
228 for (seq = 1; seq <= map->hdr.messages_count; seq++) {
229 rec = MAIL_INDEX_REC_AT_SEQ(map, seq);
H A Dtest-mail-index-transaction-finish.c23 uint32_t seq ATTR_UNUSED) { return TRUE; }
25 uint32_t seq ATTR_UNUSED) { return TRUE; }
29 void mail_index_update_modseq(struct mail_index_transaction *t ATTR_UNUSED, uint32_t seq ATTR_UNUSED,
33 mail_index_lookup(struct mail_index_view *view ATTR_UNUSED, uint32_t seq) argument
35 i_assert(seq < N_ELEMENTS(recs));
36 return &recs[seq];
41 uint32_t seq)
43 i_assert(seq < N_ELEMENTS(recs));
44 return &recs[seq];
48 uint32_t seq)
40 mail_index_transaction_lookup(struct mail_index_transaction *t ATTR_UNUSED, uint32_t seq) argument
47 mail_index_modseq_lookup(struct mail_index_view *view ATTR_UNUSED, uint32_t seq) argument
[all...]
H A Dtest-mail-transaction-log-file.c276 uint32_t seq; local
281 mail_index_append(trans, modseq, &seq);
289 mail_index_update_flags(trans, seq, MODIFY_ADD,
379 uint32_t seq; local
385 mail_index_append(trans, 1, &seq);
H A Dtest-mail-transaction-log-view.c135 uint32_t seq; local
169 mail_transaction_log_view_get_prev_pos(view, &seq, &offset);
170 test_assert(seq == 1 && offset == sizeof(struct mail_transaction_log_header));
177 mail_transaction_log_view_get_prev_pos(view, &seq, &offset);
178 test_assert(seq == 3 && offset == last_log_size);
183 mail_transaction_log_view_get_prev_pos(view, &seq, &offset);
184 test_assert(seq == 1 && offset == sizeof(struct mail_transaction_log_header));
186 mail_transaction_log_view_get_prev_pos(view, &seq, &offset);
187 test_assert(seq == 1 && offset == sizeof(struct mail_transaction_log_header));
192 mail_transaction_log_view_get_prev_pos(view, &seq,
[all...]
/dovecot/src/plugins/push-notification/
H A Dpush-notification-txn-msg.h20 unsigned int seq; member in struct:push_notification_txn_msg
/dovecot/src/lib-otp/
H A Dotp.h12 int seq; member in struct:otp_state
/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-save.h11 uint32_t seq; member in struct:dbox_save_context
/dovecot/src/lib-storage/index/raw/
H A Draw-sync.c15 uint32_t seq, uid_validity = ioloop_time; local
45 mail_index_append(trans, 1, &seq);
/dovecot/src/lib-storage/index/
H A Dindex-sync-search.c5 #include "seq-range-array.h"
26 uint32_t seq, uid; local
29 for (seq = range->seq1; seq <= range->seq2; seq++) {
30 mail_index_lookup_uid(ctx->ctx.box->view, seq, &uid);
H A Dindex-search-result.c5 #include "seq-range-array.h"
183 uint32_t seq, uid; local
189 for (seq = seqs->seq1; seq <= seqs->seq2; seq++) {
190 mail_index_lookup_uid(box->view, seq, &uid);
H A Dindex-status.c15 uint32_t seq; local
23 for (seq = hdr->messages_count; seq > 0; seq--) {
24 if (mail_cache_field_exists_any(cache_view, seq)) {
25 *last_cached_seq_r = seq;
276 uint32_t seq; local
287 for (seq = 1; seq <= hdr->messages_count; seq
[all...]
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-file.c143 uint32_t seq, uoff_t *offset_r)
148 mail_index_lookup_ext(view, seq, mbox->mbox_ext_idx, &data, &deleted);
154 "Cached message offset lost for seq %u in mbox", seq);
165 uint32_t seq, bool *deleted_r)
170 ret = mbox_file_lookup_offset(mbox, view, seq, &offset);
199 if (!mbox_sync_parse_match_mail(mbox, view, seq))
141 mbox_file_lookup_offset(struct mbox_mailbox *mbox, struct mail_index_view *view, uint32_t seq, uoff_t *offset_r) argument
164 mbox_file_seek(struct mbox_mailbox *mbox, struct mail_index_view *view, uint32_t seq, bool *deleted_r) argument
H A Dmbox-sync-list-index.c23 uint32_t seq, bool quick)
34 ret = index_storage_list_index_has_changed(box, list_view, seq, quick);
39 mail_index_lookup_ext(list_view, seq, ext_id, &data, &expunged);
64 uint32_t seq)
75 index_storage_list_index_update_sync(box, trans, seq);
80 mail_index_lookup_ext(list_view, seq, ext_id, &data, &expunged);
91 mail_index_update_ext(trans, seq, ext_id, &new_rec, NULL);
21 mbox_list_index_has_changed(struct mailbox *box, struct mail_index_view *list_view, uint32_t seq, bool quick) argument
62 mbox_list_index_update_sync(struct mailbox *box, struct mail_index_transaction *trans, uint32_t seq) argument
/dovecot/src/lib/
H A Dseq-range-array.h23 seq_range_array_add(ARRAY_TYPE(seq_range) *array, uint32_t seq); variable
27 unsigned int init_count, uint32_t seq); variable
36 seq_range_array_remove(ARRAY_TYPE(seq_range) *array, uint32_t seq); variable
53 uint32_t seq) ATTR_PURE;
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-sync-rebuild.c31 uint32_t seq; local
60 mail_index_append(ctx->trans, uid, &seq);
62 index_rebuild_index_metadata(ctx, seq, uid);
/dovecot/src/lib-storage/list/
H A Dmailbox-list-notify-tree.c24 uint32_t seq; local
26 if (!mail_index_lookup_seq(tree->view, nnode->index_uid, &seq))
30 (void)mailbox_list_index_status(tree->list, tree->view, seq,
/dovecot/src/imap/
H A Dimap-sync-private.h30 uint32_t seq; member in struct:imap_sync_context
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-mail.c17 uint32_t seq, uint32_t *map_uid_r)
25 mail_index_lookup_ext(view, seq, mbox->ext_id, &data, NULL);
28 mail_index_lookup_uid(view, seq, &uid);
61 if (mail_index_is_expunged(_mail->transaction->view, _mail->seq)) {
113 _mail->seq, &map_uid) < 0)
121 _mail->seq,
156 mail_index_lookup_ext(mail->transaction->view, mail->seq,
181 _mail->seq, &map_uid) < 0)
16 mdbox_mail_lookup(struct mdbox_mailbox *mbox, struct mail_index_view *view, uint32_t seq, uint32_t *map_uid_r) argument
H A Dmdbox-sync.c28 dbox_sync_verify_expunge_guid(struct mdbox_sync_context *ctx, uint32_t seq, argument
34 mail_index_lookup_uid(ctx->sync_view, seq, &uid);
35 mail_index_lookup_ext(ctx->sync_view, seq,
48 static int mdbox_sync_expunge(struct mdbox_sync_context *ctx, uint32_t seq, argument
53 if (seq_range_array_add(&ctx->expunged_seqs, seq)) {
58 if (dbox_sync_verify_expunge_guid(ctx, seq, guid_128) < 0)
60 if (mdbox_mail_lookup(ctx->mbox, ctx->sync_view, seq, &map_uid) < 0)
70 uint32_t seq, seq1, seq2; local
84 for (seq = seq1; seq <
100 uint32_t seq, uid; local
[all...]
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-util.c37 uint32_t seq; local
39 if (view == NULL || !mail_index_lookup_seq(view, uid, &seq)) {
45 mail_index_lookup_view_flags(view, seq, &flags, &keywords);

Completed in 332 milliseconds

12345