Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dbzip_extent_writer_unittest.cc88 brillo::Blob compressed_data(std::begin(kCompressedData), in TEST_F() local
104 brillo::Blob original_compressed_data = compressed_data; in TEST_F()
105 for (brillo::Blob::size_type i = 0; i < compressed_data.size(); in TEST_F()
107 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); in TEST_F()
108 EXPECT_TRUE(bzip_writer.Write(&compressed_data[i], this_chunk_size)); in TEST_F()
112 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F()
/system/extras/simpleperf/
Dutils.cpp260 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data) { in XzDecompress() argument
270 std::string dst(compressed_data.size(), ' '); in XzDecompress()
275 size_t src_remaining = compressed_data.size() - src_offset; in XzDecompress()
278 reinterpret_cast<const Byte*>(&compressed_data[src_offset]), in XzDecompress()
Dutils.h142 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data);