/system/update_engine/lz4diff/ |
D | lz4diff_compress.cc | 127 size_t compressed_size = 0; in TryCompressBlob() local 132 compressed_size += block.compressed_length; in TryCompressBlob() 136 output.reserve(utils::RoundUp(compressed_size, kBlockSize)); in TryCompressBlob() 158 size_t compressed_size = 0; in TryDecompressBlob() local 164 compressed_size += block.compressed_length; in TryDecompressBlob() 166 if (blob.size() < compressed_size) { in TryDecompressBlob() 168 << compressed_size << ", actual size: " << blob.size(); in TryDecompressBlob()
|
D | lz4patch.cc | 205 size_t compressed_size = 0; in GetCompressedSize() local 207 compressed_size += block.compressed_length(); in GetCompressedSize() 209 return compressed_size; in GetCompressedSize()
|
/system/update_engine/payload_generator/ |
D | erofs_filesystem_unittest.cc | 113 size_t compressed_size = 0; in TEST_F() local 116 compressed_size += block.compressed_length; in TEST_F() 124 ASSERT_EQ(compressed_size, total_blocks * kBlockSize); in TEST_F()
|
D | erofs_filesystem.cc | 219 erofs_off_t compressed_size = 0; in GetFiles() local 223 err = GetOccupiedSize(&inode, &compressed_size); in GetFiles() 241 file.is_compressed = compressed_size != uncompressed_size; in GetFiles()
|
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | cow_compress.cpp | 83 const auto compressed_size = LZ4_compress_default( in Compress() local 86 if (compressed_size <= 0) { in Compress() 88 << ", compression bound: " << bound << ", ret: " << compressed_size; in Compress() 92 if (compressed_size >= length) { in Compress() 96 buffer.resize(compressed_size); in Compress()
|
/system/unwinding/libunwindstack/ |
D | MemoryXz.cpp | 204 .compressed_size = static_cast<uint32_t>((block.totalSize + 3) & ~3u), in ReadBlocks() 208 src_offset += blocks_.back().compressed_size; in ReadBlocks() 224 std::unique_ptr<uint8_t[]> compressed_data(new (std::nothrow) uint8_t[block->compressed_size]); in Decompress() 229 compressed_data.get(), block->compressed_size)) { in Decompress() 245 size_t compressed_size = block->compressed_size; in Decompress() local 250 compressed_data.get(), &compressed_size, true, CODER_FINISH_END, &status); in Decompress()
|
D | MemoryXz.h | 48 uint32_t compressed_size; member
|
/system/libziparchive/ |
D | zip_archive_common.h | 97 uint32_t compressed_size; member 149 uint32_t compressed_size; member 180 uint64_t compressed_size; member
|
D | zip_writer.cc | 185 dst->compressed_size = 0u; in CopyFromFileEntry() 189 dst->compressed_size = src.compressed_size; in CopyFromFileEntry() 381 file->compressed_size += len; in StoreBytes() 409 file->compressed_size += write_bytes; in CompressBytes() 436 file->compressed_size += write_bytes; in FlushCompressedBytes() 452 file->compressed_size += write_bytes; in FlushCompressedBytes() 483 current_file_entry_.compressed_size, current_file_entry_.uncompressed_size}; in FinishEntry() 528 cdr.compressed_size = file.compressed_size; in Finish()
|
D | zip_archive.cc | 592 extra_field, extra_length, cdr->uncompressed_size, cdr->compressed_size, in ParseZipArchive() 756 descriptor.compressed_size = ConsumeUnaligned<uint64_t>(&ddReadPtr); in ValidateDataDescriptor() 759 descriptor.compressed_size = ConsumeUnaligned<uint32_t>(&ddReadPtr); in ValidateDataDescriptor() 765 if (entry->compressed_length != descriptor.compressed_size || in ValidateDataDescriptor() 771 descriptor.compressed_size, descriptor.uncompressed_size, descriptor.crc32); in ValidateDataDescriptor() 814 data->compressed_length = cdr->compressed_size; in FindEntry() 823 if (cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX || in FindEntry() 828 extra_field, cdr->extra_field_length, cdr->uncompressed_size, cdr->compressed_size, in FindEntry() 835 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry() 838 cdr->uncompressed_size == UINT32_MAX || cdr->compressed_size == UINT32_MAX; in FindEntry() [all …]
|
D | zip_archive_test.cc | 1029 uint32_t uncompressed_size, uint32_t compressed_size) { in ConstructLocalFileHeader() argument 1032 lfh.compressed_size = compressed_size; in ConstructLocalFileHeader() 1058 uint32_t compressed_size, uint32_t local_offset, in ConstructCentralDirectoryRecord() argument 1062 cdr.compressed_size = uncompressed_size; in ConstructCentralDirectoryRecord() 1063 cdr.uncompressed_size = compressed_size; in ConstructCentralDirectoryRecord() 1077 auto compressed_size = static_cast<uint32_t>(content.size()); in AddEntry() local 1090 zip64_fields.push_back(compressed_size); in AddEntry() 1091 compressed_size = UINT32_MAX; in AddEntry() 1100 compressed_size); in AddEntry() 1128 ConstructCentralDirectoryRecord(name, uncompressed_size, compressed_size, in AddEntry()
|
/system/logging/logd/ |
D | CompressionEngine.cpp | 53 uint32_t compressed_size = strm.total_out; in Compress() local 56 out.Resize(compressed_size); in Compress()
|
/system/libziparchive/include/ziparchive/ |
D | zip_writer.h | 83 uint32_t compressed_size; member
|