Searched defs:from_offset (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Distream-raw-mbox.c15 uoff_t from_offset, hdr_offset, body_offset, mail_size; member in struct:raw_mbox_istream
51 /* from_offset points to "\nFrom ", so unless we're at the beginning
53 if (rstream->from_offset == 0)
93 if (rstream->istream.istream.v_offset == rstream->from_offset) {
173 i_assert(stream->istream.v_offset >= rstream->from_offset);
235 if (stream->istream.v_offset == rstream->from_offset) {
247 if (stream->istream.v_offset == rstream->from_offset) {
511 return rstream->from_offset;
522 if (rstream->hdr_offset == rstream->from_offset)
528 rstream->from_offset);
[all...]
H A Dmbox-sync-private.h58 uoff_t from_offset; member in struct:mbox_sync_mail
173 int mbox_sync_seek(struct mbox_sync_context *sync_ctx, uoff_t from_offset);
H A Dmbox-sync.c86 int mbox_sync_seek(struct mbox_sync_context *sync_ctx, uoff_t from_offset) argument
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);
[all...]

Completed in 15 milliseconds