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

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-sync-rewrite.c153 size_t data_size, pos, last_line_pos; local
159 for (pos = last_line_pos = start_pos; pos < data_size; pos++) {
166 last_line_pos = pos+1;
168 start_pos = last_line_pos = pos+1;
191 if (last_line_pos <= start_pos + *size)
192 last_line_pos = start_pos;
194 last_line_pos -= *size;
199 if (ctx->mail.space < (off_t)(data_size - last_line_pos)) {
200 ctx->mail.space = data_size - last_line_pos;
203 ctx->mail.offset += last_line_pos;
[all...]

Completed in 10 milliseconds