Lines Matching refs:seq
28 dbox_sync_verify_expunge_guid(struct mdbox_sync_context *ctx, uint32_t seq,
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,
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;
84 for (seq = seq1; seq <= seq2; seq++) {
85 if (mdbox_sync_expunge(ctx, seq, sync_rec->guid_128) < 0)
100 uint32_t seq, uid;
106 while (seq_range_array_iter_nth(&iter, n++, &seq)) {
107 mail_index_lookup_uid(ctx->sync_view, seq, &uid);
108 mail_index_lookup_ext(ctx->sync_view, seq,
110 mail_index_expunge_guid(trans, seq, data);
119 while (seq_range_array_iter_nth(&iter, n++, &seq)) {
120 mail_index_lookup_uid(ctx->sync_view, seq, &uid);