Searched refs:OverlapsWith (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 1005 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 10})); in TEST_F() 1006 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{50, 0, 10})); in TEST_F() 1007 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{20, 0, 30})); in TEST_F() 1008 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{10, 0, 0})); in TEST_F() 1009 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 0})); in TEST_F() 1010 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{40, 0, 0})); in TEST_F() 1011 EXPECT_TRUE(extent.OverlapsWith(LinearExtent{20, 0, 15})); in TEST_F() 1013 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{20, 1, 0})); in TEST_F() 1014 EXPECT_FALSE(extent.OverlapsWith(LinearExtent{50, 1, 10})); in TEST_F() 1015 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 849 if (candidate.OverlapsWith(region)) { in IsAnyRegionCovered() 863 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;
|