Searched refs:physical_size (Results 1 - 25 of 30) sorted by relevance

12

/dovecot/src/lib-mail/
H A Dmessage-size.h5 uoff_t physical_size; member in struct:message_size
H A Dmessage-size.c55 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 Dmessage-part-serialize.c59 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 Dtest-message-parser.c56 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 Dmessage-parser.c121 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 Distream-header-filter.c372 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 Dtest-message-header-parser.c146 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 Dmessage-header-parser.c208 ctx->hdr_size->physical_size += i + 1;
367 ctx->hdr_size->physical_size += skip;
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-mail.c351 } 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 Dimap-msgpart.c413 *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 Dimapc-mail.c163 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 Dimapc-mail-fetch.c345 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 Dcydir-mail.c89 data->physical_size = data->virtual_size = st.st_size;
90 *size_r = data->physical_size;
/dovecot/src/lib-storage/index/
H A Dindex-mail-binary.c151 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 Dindex-mail.c447 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 Dindex-mailbox-size.c400 metadata_r->physical_size = metadata_r->virtual_size;
416 metadata_r->physical_size = 0;
419 metadata_r->physical_size += size;
H A Dindex-mail.h78 uoff_t virtual_size, physical_size; member in struct:index_mail_data
/dovecot/src/lib-storage/index/pop3c/
H A Dpop3c-mail.c83 *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 Dquota.h134 uoff_t physical_size);
H A Dquota-count.c77 metadata.virtual_size : metadata.physical_size;
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-mail.c323 data->physical_size = hdr_size.physical_size + body_size;
324 *size_r = data->physical_size;
/dovecot/src/lib-storage/index/raw/
H A Draw-mail.c76 *size_r = mail->data.physical_size = mbox->size;
/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-mail.c89 data->physical_size = dbox_file_get_plaintext_size(file);
90 *size_r = data->physical_size;
/dovecot/src/doveadm/
H A Ddoveadm-mail-fetch.c129 input = i_stream_create_limit(input, hdr_size.physical_size);
236 i_stream_skip(input, hdr_size.physical_size);
H A Ddoveadm-dump-index.c482 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);

Completed in 76 milliseconds

12