Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddeflate_utils_unittest.cc139 vector<BitExtent> out_deflates; in TEST() local
140 out_deflates = FindDeflates(extents, in_deflates); in TEST()
141 EXPECT_EQ(out_deflates, expected_out_deflates); in TEST()
148 vector<BitExtent> out_deflates; in TEST() local
149 out_deflates = FindDeflates(extents, in_deflates); in TEST()
150 EXPECT_EQ(out_deflates, expected_out_deflates); in TEST()
154 out_deflates = FindDeflates(extents, in_deflates); in TEST()
155 EXPECT_EQ(out_deflates, expected_out_deflates); in TEST()
165 vector<BitExtent> out_deflates; in TEST() local
166 ASSERT_TRUE(CompactDeflates(extents, in_deflates, &out_deflates)); in TEST()
[all …]
Ddeflate_utils.cc232 vector<BitExtent>* out_deflates) { in CompactDeflates() argument
234 out_deflates->reserve(in_deflates.size()); in CompactDeflates()
239 out_deflates->emplace_back(deflate.offset - (gap_bytes * 8), in CompactDeflates()
248 TEST_AND_RETURN_FALSE(in_deflates.size() == out_deflates->size()); in CompactDeflates()
251 auto result = std::adjacent_find(out_deflates->begin(), in CompactDeflates()
252 out_deflates->end(), in CompactDeflates()
256 TEST_AND_RETURN_FALSE(result == out_deflates->end()); in CompactDeflates()
262 vector<BitExtent>* out_deflates) { in FindAndCompactDeflates() argument
264 TEST_AND_RETURN_FALSE(CompactDeflates(extents, found_deflates, out_deflates)); in FindAndCompactDeflates()
Ddeflate_utils.h86 std::vector<puffin::BitExtent>* out_deflates);
91 std::vector<puffin::BitExtent>* out_deflates);