Lines Matching refs:decompressed_size
589 size_t block_size_log2 = __builtin_ctz(blocks_.front().decompressed_size); in Init()
590 auto correct_size = [=](XzBlock& b) { return b.decompressed_size == (1 << block_size_log2); }; in Init()
592 blocks_.back().decompressed_size <= (1 << block_size_log2)) { in Init()
602 memcpy(data.get() + offset, block.decompressed_data.get(), block.decompressed_size); in Init()
603 offset += block.decompressed_size; in Init()
608 .decompressed_size = size_, in Init()
636 size_t copy_bytes = std::min<size_t>(size, block->decompressed_size - offset); in Read()
727 .decompressed_size = static_cast<uint32_t>(block.unpackSize), in ReadBlocks()
732 dst_offset += blocks_.back().decompressed_size; in ReadBlocks()
759 std::unique_ptr<uint8_t[]> decompressed_data(new uint8_t[block->decompressed_size]); in Decompress()
769 size_t decompressed_size = block->decompressed_size; in Decompress() local
772 XzUnpacker_SetOutBuf(&state, decompressed_data.get(), decompressed_size); in Decompress()
774 XzUnpacker_Code(&state, /*decompressed_data=*/nullptr, &decompressed_size, in Decompress()
782 used_ += block->decompressed_size; in Decompress()
783 total_used_ += block->decompressed_size; in Decompress()