Searched refs:over_extents (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_generator/ |
D | deflate_utils_unittest.cc | 55 vector<Extent> over_extents = {ExtentForRange(2, 2), in TEST() local 70 EXPECT_TRUE(ShiftExtentsOverExtents(base_extents, &over_extents)); in TEST() 71 EXPECT_EQ(over_extents, out_over_extents); in TEST() 75 over_extents = {ExtentForRange(2, 12)}; in TEST() 76 EXPECT_FALSE(ShiftExtentsOverExtents(base_extents, &over_extents)); in TEST() 85 vector<BitExtent> over_extents = in TEST() local 89 ASSERT_TRUE(ShiftBitExtentsOverExtents(base_extents, &over_extents)); in TEST() 90 EXPECT_EQ(over_extents, out_over_extents); in TEST() 95 vector<BitExtent> over_extents = ByteToBitExtent({{2, 4096}}); in TEST() local 97 EXPECT_FALSE(ShiftBitExtentsOverExtents(base_extents, &over_extents)); in TEST() [all …]
|
D | deflate_utils.cc | 132 vector<Extent>* over_extents) { in ShiftExtentsOverExtents() argument 134 utils::BlocksInExtents(*over_extents)) { in ShiftExtentsOverExtents() 138 for (size_t idx = 0; idx < over_extents->size(); idx++) { in ShiftExtentsOverExtents() 139 auto over_ext = &over_extents->at(idx); in ShiftExtentsOverExtents() 163 over_extents->insert(std::next(over_extents->begin(), idx + 1), in ShiftExtentsOverExtents() 174 vector<BitExtent>* over_extents) { in ShiftBitExtentsOverExtents() argument 175 if (over_extents->empty()) { in ShiftBitExtentsOverExtents() 181 auto last_extent = ExpandToByteExtent(over_extents->back()); in ShiftBitExtentsOverExtents() 185 for (auto o_ext = over_extents->begin(); o_ext != over_extents->end();) { in ShiftBitExtentsOverExtents() 204 o_ext = over_extents->erase(o_ext); in ShiftBitExtentsOverExtents()
|
D | deflate_utils.h | 48 std::vector<Extent>* over_extents); 63 std::vector<puffin::BitExtent>* over_extents);
|