Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddeflate_utils_unittest.cc127 vector<BitExtent> in_deflates = ByteToBitExtent({{0, 0}, in TEST() local
140 out_deflates = FindDeflates(extents, in_deflates); in TEST()
146 vector<BitExtent> in_deflates = ByteToBitExtent({{0, 0}, {8100, 93}}); in TEST() local
149 out_deflates = FindDeflates(extents, in_deflates); in TEST()
153 in_deflates = {}; in TEST()
154 out_deflates = FindDeflates(extents, in_deflates); in TEST()
161 vector<BitExtent> in_deflates = in TEST() local
166 ASSERT_TRUE(CompactDeflates(extents, in_deflates, &out_deflates)); in TEST()
172 vector<BitExtent> in_deflates = ByteToBitExtent({{4096, 0}}); in TEST() local
175 EXPECT_FALSE(CompactDeflates(extents, in_deflates, &out_deflates)); in TEST()
[all …]
Ddeflate_utils.cc216 const vector<BitExtent>& in_deflates) { in FindDeflates() argument
219 for (const auto& deflate : in_deflates) { in FindDeflates()
231 const vector<BitExtent>& in_deflates, in CompactDeflates() argument
234 out_deflates->reserve(in_deflates.size()); in CompactDeflates()
237 for (const auto& deflate : in_deflates) { in CompactDeflates()
248 TEST_AND_RETURN_FALSE(in_deflates.size() == out_deflates->size()); in CompactDeflates()
261 const vector<BitExtent>& in_deflates, in FindAndCompactDeflates() argument
263 auto found_deflates = FindDeflates(extents, in_deflates); in FindAndCompactDeflates()
Ddeflate_utils.h85 const std::vector<puffin::BitExtent>& in_deflates,
90 const std::vector<puffin::BitExtent>& in_deflates,