Home
last modified time | relevance | path

Searched refs:compressed_data (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_consumer/
Dbzip_extent_writer_unittest.cc86 brillo::Blob compressed_data(std::begin(kCompressedData), in TEST_F() local
101 brillo::Blob original_compressed_data = compressed_data; in TEST_F()
102 for (brillo::Blob::size_type i = 0; i < compressed_data.size(); in TEST_F()
104 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); in TEST_F()
105 EXPECT_TRUE(bzip_writer.Write(&compressed_data[i], this_chunk_size)); in TEST_F()
109 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F()
/system/unwinding/libunwindstack/
DMemory.cpp654 std::unique_ptr<uint8_t[]> compressed_data(new (std::nothrow) uint8_t[compressed_size_]); in ReadBlocks() local
655 if (compressed_data.get() == nullptr) { in ReadBlocks()
658 if (!compressed_memory_->ReadFully(compressed_addr_, compressed_data.get(), compressed_size_)) { in ReadBlocks()
710 callbacks.data = compressed_data.get(); in ReadBlocks()
749 std::unique_ptr<uint8_t[]> compressed_data(new (std::nothrow) uint8_t[block->compressed_size]); in Decompress() local
750 if (compressed_data.get() == nullptr) { in Decompress()
754 compressed_data.get(), block->compressed_size)) { in Decompress()
775 compressed_data.get(), &compressed_size, true, CODER_FINISH_END, &status); in Decompress()
/system/extras/simpleperf/
Dutils.cpp268 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data) { in XzDecompress() argument
278 std::string dst(compressed_data.size(), ' '); in XzDecompress()
283 size_t src_remaining = compressed_data.size() - src_offset; in XzDecompress()
286 reinterpret_cast<const Byte*>(&compressed_data[src_offset]), in XzDecompress()
Dutils.h163 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data);