/dovecot/src/lib-mail/ |
H A D | message-size.h | 5 uoff_t physical_size; member in struct:message_size
|
H A D | message-size.c | 55 hdr->physical_size += i - startpos; 61 hdr->physical_size += startpos; 63 hdr->virtual_size = hdr->physical_size + missing_cr_count; 64 i_assert(hdr->virtual_size >= hdr->physical_size); 108 body->physical_size += i - 1; 115 body->physical_size++; 117 body->virtual_size = body->physical_size + missing_cr_count; 118 i_assert(body->virtual_size >= body->physical_size); 126 dest->physical_size += src->physical_size; [all...] |
H A D | message-part-serialize.c | 59 buffer_append(dest, &part->header_size.physical_size, 60 sizeof(part->header_size.physical_size)); 63 buffer_append(dest, &part->body_size.physical_size, 64 sizeof(part->body_size.physical_size)); 157 if (!read_next(ctx, &part->header_size.physical_size, 158 sizeof(part->header_size.physical_size))) 166 part->header_size.physical_size) { 171 if (!read_next(ctx, &part->body_size.physical_size, 172 sizeof(part->body_size.physical_size))) 187 part->body_size.physical_size) { [all...] |
H A D | test-message-parser.c | 56 p1->header_size.physical_size != p2->header_size.physical_size || 59 p1->body_size.physical_size != p2->body_size.physical_size || 201 test_assert(parts->header_size.physical_size == 48); 204 test_assert(parts->body_size.physical_size == 112); 207 test_assert(parts->children->header_size.physical_size == 0); 208 test_assert(parts->children->body_size.physical_size == 0); 211 test_assert(parts->children->next->header_size.physical_size == 24); 215 test_assert(parts->children->next->next->header_size.physical_size [all...] |
H A D | message-parser.c | 121 ctx->part->body_size.physical_size += block->size; 188 parent->body_size.physical_size + 189 parent->header_size.physical_size; 591 ctx->part->header_size.physical_size -= 596 ctx->part->parent->body_size.physical_size += 714 ctx->part->header_size.physical_size + 715 ctx->part->body_size.physical_size; 717 ctx->part->parent->header_size.physical_size + 718 ctx->part->parent->body_size.physical_size; 756 ctx->part->header_size.physical_size [all...] |
H A D | istream-header-filter.c | 372 mstream->header_size.physical_size = 456 mstream->header_size.physical_size; 552 v_offset += mstream->header_size.physical_size - 588 stream->statbuf.st_size = mstream->header_size.physical_size; 612 (off_t)mstream->header_size.physical_size -
|
H A D | test-message-header-parser.c | 146 test_assert(hdr_size.physical_size == strlen(test1_msg)-TEST1_MSG_BODY_LEN); 232 test_assert(hdr_size.physical_size == len); 238 test_assert(hdr_size.physical_size == len);
|
H A D | message-header-parser.c | 208 ctx->hdr_size->physical_size += i + 1; 367 ctx->hdr_size->physical_size += skip;
|
/dovecot/src/lib-storage/index/maildir/ |
H A D | maildir-mail.c | 351 } else if (!vsize && mail->data.physical_size != size) { 355 mail->data.physical_size, size); 356 mail->data.physical_size = size; 369 mail->data.physical_size; 437 &data->physical_size) < 0) 441 if (data->physical_size == (uoff_t)-1) { 443 i_assert(mail->data.physical_size != (uoff_t)-1); 448 &data->physical_size) < 0) 451 if (data->physical_size != (uoff_t)-1) { 453 *size_r = data->physical_size; 653 uoff_t physical_size; member in struct:maildir_size_fix_ctx [all...] |
/dovecot/src/lib-imap-storage/ |
H A D | imap-msgpart.c | 413 *have_crlfs_r = hdr_size.physical_size == hdr_size.virtual_size; 598 if (mail_get_physical_size(mail, &body_size.physical_size) < 0) 642 part_size.physical_size += body_size.physical_size; 647 part_size.physical_size += hdr_size.physical_size; 655 i_stream_skip(input, hdr_size.physical_size); 656 part_size.physical_size += body_size.physical_size; 665 part_size.virtual_size == part_size.physical_size; [all...] |
/dovecot/src/lib-storage/index/imapc/ |
H A D | imapc-mail.c | 163 if (data->physical_size == (uoff_t)-1) 165 if (data->physical_size != (uoff_t)-1) { 166 *size_r = data->physical_size; 175 if (data->physical_size == (uoff_t)-1) { 180 data->physical_size = 0; 182 *size_r = data->physical_size; 193 &data->physical_size); 200 *size_r = data->physical_size; 211 data->virtual_size = data->physical_size;
|
H A D | imapc-mail-fetch.c | 345 data->physical_size == (uoff_t)-1 && 419 if (imail->imail.data.physical_size == (uoff_t)-1) 586 imail->data.physical_size = size; 837 mail->imail.data.physical_size = size;
|
/dovecot/src/lib-storage/index/cydir/ |
H A D | cydir-mail.c | 89 data->physical_size = data->virtual_size = st.st_size; 90 *size_r = data->physical_size;
|
/dovecot/src/lib-storage/index/ |
H A D | index-mail-binary.c | 151 part->header_size.physical_size); 154 part->header_size.physical_size; 156 part->header_size.physical_size + 157 part->body_size.physical_size; 169 if (part->body_size.physical_size == 0) { 180 part->header_size.physical_size); 181 linput = i_stream_create_limit(ctx->input, part->body_size.physical_size); 587 part->header_size.physical_size));
|
H A D | index-mail.c | 447 data->physical_size = data->parts->header_size.physical_size + 448 data->body_size.physical_size; 491 if (data->hdr_size_set && data->physical_size != (uoff_t)-1) { 492 data->body_size.physical_size = data->physical_size - 493 data->hdr_size.physical_size; 570 if (data->physical_size == (uoff_t)-1) { 574 data->physical_size = size; 578 *size_r = data->physical_size; [all...] |
H A D | index-mailbox-size.c | 400 metadata_r->physical_size = metadata_r->virtual_size; 416 metadata_r->physical_size = 0; 419 metadata_r->physical_size += size;
|
H A D | index-mail.h | 78 uoff_t virtual_size, physical_size; member in struct:index_mail_data
|
/dovecot/src/lib-storage/index/pop3c/ |
H A D | pop3c-mail.c | 83 *size_r = mail->data.physical_size; 105 i_assert(mail->data.physical_size != (uoff_t)-1); 106 *size_r = mail->data.physical_size;
|
/dovecot/src/plugins/quota/ |
H A D | quota.h | 134 uoff_t physical_size);
|
H A D | quota-count.c | 77 metadata.virtual_size : metadata.physical_size;
|
/dovecot/src/lib-storage/index/mbox/ |
H A D | mbox-mail.c | 323 data->physical_size = hdr_size.physical_size + body_size; 324 *size_r = data->physical_size;
|
/dovecot/src/lib-storage/index/raw/ |
H A D | raw-mail.c | 76 *size_r = mail->data.physical_size = mbox->size;
|
/dovecot/src/lib-storage/index/dbox-common/ |
H A D | dbox-mail.c | 89 data->physical_size = dbox_file_get_plaintext_size(file); 90 *size_r = data->physical_size;
|
/dovecot/src/doveadm/ |
H A D | doveadm-mail-fetch.c | 129 input = i_stream_create_limit(input, hdr_size.physical_size); 236 i_stream_skip(input, hdr_size.physical_size);
|
H A D | doveadm-dump-index.c | 482 str_printfa(str, "hdr.p=%"PRIuUOFF_T" ", part->header_size.physical_size); 484 str_printfa(str, "body.p=%"PRIuUOFF_T" ", part->body_size.physical_size);
|