Searched defs:next_offset (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/lib-index/
H A Dtest-mail-transaction-log-file.c301 #define MODSEQ_MATCH(modseq, next_offset) \
302 ((next_offset) == modseq_next_offset[modseq] || \
303 (next_offset) == modseq_alt_next_offset[modseq])
307 uoff_t next_offset; local
309 test_assert(mail_transaction_log_file_get_modseq_next_offset(file, 1, &next_offset) == 0);
310 test_assert(next_offset == modseq_next_offset[1]);
313 test_assert(mail_transaction_log_file_get_modseq_next_offset(file, max_modseq, &next_offset) == 0);
314 test_assert(next_offset == file->sync_offset);
315 test_assert(next_offset != modseq_next_offset[max_modseq]);
319 test_assert(mail_transaction_log_file_get_modseq_next_offset(file, 2, &next_offset)
392 uoff_t next_offset; local
[all...]
H A Dmail-index-fsck.c275 unsigned int offset, next_offset, i; local
284 next_offset = offset;
285 if (mail_index_map_ext_get_next(map, &next_offset,
310 &next_offset);
313 offset = next_offset;
318 hdr->header_size -= next_offset - offset;
320 map->hdr_copy_buf, next_offset, (size_t)-1);
H A Dmail-cache-fields.c217 uint32_t offset = 0, next_offset, field_hdr_size; local
230 next_offset = cache->last_field_header_offset != 0 ?
233 while (next_offset != 0) {
234 if (next_offset == offset) {
236 "next_offset in field header loops");
240 so next_offset must always be larger than current offset.
243 if (next_offset < offset && cache->hdr->minor_version != 0) {
245 "next_offset in field header decreases");
248 offset = next_offset;
257 "header field next_offset point
[all...]
H A Dmail-cache-private.h40 uint32_t next_offset; member in struct:mail_cache_header_fields
H A Dmail-index-view-sync.c679 uoff_t offset, next_offset; local
682 next_offset = offset + sizeof(*hdr) + hdr->size;
712 view->log_file_head_offset = next_offset;
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-mail.c293 uoff_t old_offset, body_offset, body_size, next_offset; local
311 if (mbox_mail_get_next_offset(mail, &next_offset) > 0)
312 body_size = next_offset - body_offset;
334 uoff_t hdr_offset, next_offset; local
340 ret = mbox_mail_get_next_offset(mail, &next_offset);
344 ret = mbox_mail_get_next_offset(mail, &next_offset);
360 if (next_offset != (uoff_t)-1)
361 istream_raw_mbox_set_next_offset(raw_stream, next_offset);

Completed in 664 milliseconds