Lines Matching defs:from_offset
86 int mbox_sync_seek(struct mbox_sync_context *sync_ctx, uoff_t from_offset)
88 if (istream_raw_mbox_seek(sync_ctx->input, from_offset) < 0) {
91 from_offset);
145 mail_ctx->mail.from_offset =
158 i_assert(sync_ctx->input->v_offset != mail_ctx->mail.from_offset ||
290 /* see if from_offset needs updating */
295 *((const uint64_t *)data) == mail->from_offset)
299 offset = mail->from_offset;
493 from_line_size = ctx->hdr_offset - ctx->mail.from_offset;
495 i_stream_seek(input, ctx->mail.from_offset);
573 ctx->mail.from_offset) < 0) {
597 offset = mails[i].from_offset;
615 mail_ctx->mail.offset = mail_ctx->mail.from_offset;
617 mail_ctx->body_offset - mail_ctx->mail.from_offset +
649 orig_from_offset = mail_ctx->mail.from_offset;
654 mail_ctx->mail.from_offset++;
656 mail_ctx->mail.from_offset++;
658 postlf_from_offset = mail_ctx->mail.from_offset;
663 i_assert(mail_ctx->mail.from_offset + move_diff != 1 &&
664 mail_ctx->mail.from_offset + move_diff != 2);
674 i_assert((off_t)mail_ctx->mail.from_offset >=
676 mail_ctx->mail.from_offset += move_diff;
684 mail_ctx->mail.from_offset = orig_from_offset;
714 from_offset to point to the beginning of the
718 mail_ctx->mail.from_offset = postlf_from_offset;
722 mail.offset = mail.from_offset =
723 mail_ctx->mail.from_offset -
793 end_offset = mail_ctx->mail.from_offset;