Lines Matching refs:block
94 } block; member
232 s->block.compressed += b->in_pos - s->in_start; in dec_block()
233 s->block.uncompressed += b->out_pos - s->out_start; in dec_block()
239 if (s->block.compressed > s->block_header.compressed in dec_block()
240 || s->block.uncompressed in dec_block()
251 != s->block.compressed) in dec_block()
256 != s->block.uncompressed) in dec_block()
259 s->block.hash.unpadded += s->block_header.size in dec_block()
260 + s->block.compressed; in dec_block()
263 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block()
266 s->block.hash.unpadded += 4; in dec_block()
269 s->block.hash.uncompressed += s->block.uncompressed; in dec_block()
270 s->block.hash.crc32 = xz_crc32( in dec_block()
271 (const uint8_t *)&s->block.hash, in dec_block()
272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block()
274 ++s->block.count; in dec_block()
316 if (s->index.count != s->block.count) in dec_index()
543 s->block.compressed = 0; in dec_block_header()
544 s->block.uncompressed = 0; in dec_block_header()
634 while (s->block.compressed & 3) { in dec_main()
641 ++s->block.compressed; in dec_main()
684 if (!memeq(&s->block.hash, &s->index.hash, in dec_main()
685 sizeof(s->block.hash))) in dec_main()
806 memzero(&s->block, sizeof(s->block)); in xz_dec_reset()