Searched refs:OverlapsWith (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 1010 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 10})); in TEST_F() 1011 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{50, 0, 10})); in TEST_F() 1012 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{20, 0, 30})); in TEST_F() 1013 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{10, 0, 0})); in TEST_F() 1014 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 0})); in TEST_F() 1015 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{40, 0, 0})); in TEST_F() 1016 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 15})); in TEST_F() 1018 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{20, 1, 0})); in TEST_F() 1019 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{50, 1, 10})); in TEST_F() 1020 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{40, 1, 0})); in TEST_F() [all …]
|
D | builder.cpp | 71 bool LinearExtent::OverlapsWith(const LinearExtent& other) const { in OverlapsWith() function in android::fs_mgr::LinearExtent 78 bool LinearExtent::OverlapsWith(const Interval& interval) const { in OverlapsWith() function in android::fs_mgr::LinearExtent 854 if (candidate.OverlapsWith(region)) { in IsAnyRegionCovered() 868 if (linear->OverlapsWith(candidate)) { in IsAnyRegionAllocated()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 88 bool OverlapsWith(const LinearExtent& other) const; 89 bool OverlapsWith(const Interval& interval) const;
|