Searched refs:hdr_pos (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-sync-update.c48 if (ctx->hdr_pos[i] > pos &&
49 ctx->hdr_pos[i] != (size_t)-1)
50 ctx->hdr_pos[i] += diff;
200 ctx->hdr_pos[MBOX_HDR_X_IMAPBASE] == (size_t)-1) {
204 ctx->hdr_pos[MBOX_HDR_X_IMAPBASE] = str_len(ctx->header);
213 ctx->hdr_pos[MBOX_HDR_X_IMAPBASE];
221 if (ctx->hdr_pos[MBOX_HDR_X_UID] == (size_t)-1 && !ctx->mail.pseudo) {
223 ctx->hdr_pos[MBOX_HDR_X_UID] = str_len(ctx->header);
229 if (ctx->hdr_pos[MBOX_HDR_STATUS] == (size_t)-1 &&
232 ctx->hdr_pos[MBOX_HDR_STATU
[all...]
H A Dmbox-sync-rewrite.c103 start_pos = ctx->hdr_pos[MBOX_HDR_X_IMAPBASE];
112 start_pos = ctx->hdr_pos[MBOX_HDR_X_KEYWORDS] != (size_t)-1 ?
113 ctx->hdr_pos[MBOX_HDR_X_KEYWORDS] :
114 ctx->hdr_pos[MBOX_HDR_X_UID];
223 if (ctx->hdr_pos[pos] != (size_t)-1) {
224 mbox_sync_header_remove_space(ctx, ctx->hdr_pos[pos],
238 i_assert(ctx->hdr_pos[MBOX_HDR_X_IMAPBASE] != (size_t)-1);
241 ctx->hdr_pos[MBOX_HDR_X_IMAPBASE] +
H A Dmbox-sync-parse.c106 ctx->hdr_pos[MBOX_HDR_STATUS] = str_len(ctx->header);
115 ctx->hdr_pos[MBOX_HDR_X_STATUS] = str_len(ctx->header);
233 ctx->hdr_pos[MBOX_HDR_X_IMAPBASE] = str_len(ctx->header);
317 ctx->hdr_pos[MBOX_HDR_X_KEYWORDS] = str_len(ctx->header);
403 ctx->hdr_pos[MBOX_HDR_X_UID] = str_len(ctx->header);
473 ctx->hdr_pos[i] = (size_t)-1;
H A Dmbox-sync-private.h88 size_t hdr_pos[MBOX_HDR_COUNT]; member in struct:mbox_sync_mail_context

Completed in 16 milliseconds