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.cc95 brillo::Blob compressed_data(std::begin(kCompressedData), in TEST_F() local
115 brillo::Blob original_compressed_data = compressed_data; in TEST_F()
116 for (brillo::Blob::size_type i = 0; i < compressed_data.size(); in TEST_F()
118 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); in TEST_F()
119 EXPECT_TRUE(bzip_writer.Write(&compressed_data[i], this_chunk_size)); in TEST_F()
124 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F()
/system/extras/simpleperf/
Dutils.cpp204 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data) { in XzDecompress() argument
214 std::string dst(compressed_data.size(), ' '); in XzDecompress()
219 size_t src_remaining = compressed_data.size() - src_offset; in XzDecompress()
222 reinterpret_cast<const Byte*>(&compressed_data[src_offset]), in XzDecompress()
Dutils.h150 bool XzDecompress(const std::string& compressed_data, std::string* decompressed_data);