Searched defs:new_pos (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/lib/
H A Distream-failure-at.c47 size_t new_pos = fstream->failure_offset - local
49 i_assert(new_pos >= stream->skip &&
50 stream->pos >= new_pos);
51 ret -= stream->pos - new_pos;
52 stream->pos = new_pos;
H A Distream-chain.c201 size_t data_size, cur_data_pos, new_pos; local
259 new_pos = data_size;
268 new_pos = stream->pos + new_bytes_count;
271 i_assert(new_pos > stream->pos);
272 ret = (ssize_t)(new_pos - stream->pos);
273 stream->pos = new_pos;
H A Distream-concat.c143 size_t size, data_size, cur_data_pos, new_pos; local
202 new_pos = data_size;
221 new_pos = stream->pos + new_bytes_count;
224 i_assert(new_pos > stream->pos);
225 ret = (ssize_t)(new_pos - stream->pos);
226 stream->pos = new_pos;
/dovecot/src/lib-mail/
H A Distream-qp-encoder.c56 size_t new_pos, bytes; local
61 new_pos = bstream->buf->used;
65 new_pos = bstream->istream.max_buffer_size;
68 bytes = new_pos - stream->pos;
69 stream->pos = new_pos;
H A Distream-qp-decoder.c59 size_t new_pos, bytes; local
63 new_pos = I_MIN(bstream->buf->used, max_buffer_size);
64 bytes = new_pos - stream->pos;
65 stream->pos = new_pos;
/dovecot/src/lib-storage/index/mbox/
H A Distream-raw-mbox.c167 size_t i, pos, new_pos, from_start_pos, from_after_pos; local
349 new_pos = from_start_pos;
352 new_pos = i - (fromp - mbox_from);
353 if (new_pos > 0)
354 new_pos--;
358 rstream->hdr_offset + new_pos > rstream->mail_size) {
376 if (new_pos == stream->pos) {
379 i_assert(new_pos > 0);
382 i_assert(new_pos > stream->pos);
383 ret = new_pos
[all...]
/dovecot/src/lib-dcrypt/
H A Distream-decrypt.c662 size_t new_pos, bytes; local
667 new_pos = dstream->buf->used;
671 new_pos = dstream->istream.max_buffer_size;
674 bytes = new_pos - stream->pos;
675 stream->pos = new_pos;

Completed in 13 milliseconds