Searched defs:startpos (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib-mail/
H A Dmessage-size.c12 size_t i, size, startpos, missing_cr_count; local
18 missing_cr_count = 0; startpos = 0;
19 while ((ret = i_stream_read_bytes(input, &msg, &size, startpos + 1)) > 0) {
20 for (i = startpos; i < size; i++) {
47 startpos = i+1;
52 startpos = size == 1 ? 1 : 2;
53 i_stream_skip(input, i - startpos);
55 hdr->physical_size += i - startpos;
60 i_stream_skip(input, startpos);
61 hdr->physical_size += startpos;
[all...]
H A Dmessage-header-parser.c60 size_t i, size, startpos, colon_pos, parse_size, skip = 0; local
83 for (startpos = 0;;) {
84 ret = i_stream_read_bytes(ctx->input, &msg, &size, startpos+2);
93 if (ret <= 0 && startpos == parse_size) {
95 if (startpos > 0) {
98 skip = startpos;
167 for (i = startpos; i < parse_size; i++) {
186 i = startpos;
218 startpos = 0;
240 startpos
[all...]
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-sync-update.c155 size_t startpos)
165 if (str_len(dest) - startpos < KEYWORD_WRAP_LINE_LENGTH)
166 last_break = startpos;
190 size_t new_hdr_size, startpos; local
205 /* startpos must start from identical position as when
207 startpos = str_len(ctx->header);
217 keywords_append_all(ctx, ctx->header, startpos);
154 keywords_append_all(struct mbox_sync_mail_context *ctx, string_t *dest, size_t startpos) argument
/dovecot/src/lib-storage/index/
H A Dindex-attachment.c304 unsigned int startpos; local
314 startpos = str_len(str);
322 if (startpos == str_len(str)) {

Completed in 24 milliseconds