Home
last modified time | relevance | path

Searched refs:out_deflates (Results 1 – 4 of 4) 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.cc248 vector<BitExtent>* out_deflates) { in CompactDeflates() argument
250 out_deflates->reserve(in_deflates.size()); in CompactDeflates()
255 out_deflates->emplace_back(deflate.offset - (gap_bytes * 8), in CompactDeflates()
264 TEST_EQ(in_deflates.size(), out_deflates->size()); in CompactDeflates()
265 Dedup(out_deflates); in CompactDeflates()
268 auto result = std::adjacent_find(out_deflates->begin(), in CompactDeflates()
269 out_deflates->end(), in CompactDeflates()
273 if (result != out_deflates->end()) { in CompactDeflates()
283 vector<BitExtent>* out_deflates) { in FindAndCompactDeflates() argument
285 TEST_AND_RETURN_FALSE(CompactDeflates(extents, found_deflates, out_deflates)); in FindAndCompactDeflates()
Ddeflate_utils.h88 std::vector<puffin::BitExtent>* out_deflates);
93 std::vector<puffin::BitExtent>* out_deflates);
Ddelta_diff_utils_unittest.cc860 std::vector<puffin::BitExtent> out_deflates; in TEST_F() local
862 extents, bit_extents, &out_deflates)); in TEST_F()