Searched refs:mails (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-sync-rewrite.c331 struct mbox_sync_mail *mails,
349 mail_ctx->mail.body_size = mails[idx].body_size;
352 if (mails[idx].uid != 0) {
356 sync_ctx->next_uid = mails[idx].uid;
357 sync_ctx->prev_msg_uid = mails[idx].uid - 1;
360 i_assert(mails[idx].pseudo);
366 if (mails[idx].from_offset +
368 sync_ctx->dest_first_mail = mails[idx].from_offset == 0;
373 mails[idx].from_offset += first_mail_expunge_extra;
378 i_assert(mail_ctx->mail.pseudo == mails[id
329 mbox_sync_read_next(struct mbox_sync_context *sync_ctx, struct mbox_sync_mail_context *mail_ctx, struct mbox_sync_mail *mails, uint32_t seq, uint32_t idx, uoff_t expunged_space) argument
400 mbox_sync_read_and_move(struct mbox_sync_context *sync_ctx, struct mbox_sync_mail_context *mail_ctx, struct mbox_sync_mail *mails, uint32_t seq, uint32_t idx, uint32_t padding, off_t move_diff, uoff_t expunged_space, uoff_t end_offset, bool first_nonexpunged) argument
500 struct mbox_sync_mail *mails; local
[all...]
H A Dmbox-sync.c14 - Start reading the mails from the beginning
584 const struct mbox_sync_mail *mails; local
591 mails = array_get(&sync_ctx->mails, &count);
593 if (mails[i].idx_seq == 0 || mails[i].expunged)
597 offset = mails[i].from_offset;
598 mail_index_update_ext(sync_ctx->t, mails[i].idx_seq,
732 array_append(&sync_ctx->mails, &mail, 1);
758 array_append(&sync_ctx->mails,
[all...]
H A Dmbox-sync-private.h126 ARRAY(struct mbox_sync_mail) mails; member in struct:mbox_sync_context
131 /* used for mails[].keywords */
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-save.c44 ARRAY(struct dbox_save_mail) mails; member in struct:mdbox_save_context
73 const struct dbox_save_mail *mails, *mail; local
76 mails = array_get(&ctx->mails, &count);
78 i_assert(seq >= mails[0].seq);
80 mail = &mails[seq - mails[0].seq];
122 i_array_init(&ctx->mails, 32);
154 save_mail = array_append_space(&ctx->mails);
202 mail = array_idx_modifiable(&ctx->mails, array_coun
251 const struct dbox_save_mail *mails; local
329 const struct dbox_save_mail *mails; local
[all...]
/dovecot/src/lib-storage/index/
H A Dindex-search-private.h26 ARRAY(struct mail *) mails; member in struct:index_search_context
H A Dindex-search.c736 /* hdr_ctx.imail is different from imail for mails in
1300 i_array_init(&ctx->mails, ctx->max_mails);
1367 array_foreach_modifiable(&ctx->mails, mailp) {
1376 array_free(&ctx->mails);
1675 struct mail *const *mails, *mail; local
1681 mails = array_get(&ctx->mails, &count);
1683 return mails[ctx->unused_mail_idx];
1692 array_append(&ctx->mails, &mail, 1);
1699 struct mail *mail, *const *mails; local
[all...]
/dovecot/src/plugins/virtual/
H A Dvirtual-mail.c19 /* all allocated mails */
61 struct mail **mails; local
64 mails = array_get_modifiable(&vmail->backend_mails, &count);
66 struct mail_private *p = (struct mail_private *)mails[i];
68 p->v.close(mails[i]);
76 struct mail **mails; local
79 mails = array_get_modifiable(&vmail->backend_mails, &count);
81 mail_free(&mails[i]);
93 struct mail *const *mails; local
96 mails
[all...]
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-storage.h90 ARRAY(struct imapc_mail *) mails; member in struct:imapc_fetch_request
H A Dimapc-mail-fetch.c30 /* fetch-fix-broken-mails feature disabled -
31 fail any mails with missing replies */
63 array_foreach(&request->mails, mailp) {
83 array_free(&request->mails);
179 i_array_init(&mbox->pending_fetch_request->mails, 4);
183 array_append(&mbox->pending_fetch_request->mails, &mail, 1);
186 array_count(&mbox->pending_fetch_request->mails) >
188 /* we're now prefetching the maximum number of mails. this
503 array_foreach(&mbox->pending_fetch_request->mails, mailp)
H A Dimapc-mailbox.c506 array_foreach(&(*fetch_requestp)->mails, mailp) {
525 /* we're doing the initial full sync of mails. expunge any
526 mails that no longer exist. */
551 /* add keyword for mails that have GMail labels.

Completed in 202 milliseconds