Home
last modified time | relevance | path

Searched refs:DoesAdjoinOrIntersect (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DRangeTest.cpp224 TEST(RangeTest, DoesAdjoinOrIntersect) { in TEST() argument
227 EXPECT_FALSE(r.DoesAdjoinOrIntersect(RangeT(1, 1))); in TEST()
228 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(1, 2))); in TEST()
229 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(2, 2))); in TEST()
230 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(4, 2))); in TEST()
231 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(6, 2))); in TEST()
232 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(7, 2))); in TEST()
233 EXPECT_FALSE(r.DoesAdjoinOrIntersect(RangeT(8, 2))); in TEST()
/external/llvm-project/lldb/include/lldb/Utility/
DRangeMap.h53 if (DoesAdjoinOrIntersect(rhs)) { in Union()
91 bool DoesAdjoinOrIntersect(const Range &rhs) const { in DoesAdjoinOrIntersect() function
199 return a.DoesAdjoinOrIntersect(b); in CombineConsecutiveRanges()
210 if (back.DoesAdjoinOrIntersect(*pos)) in CombineConsecutiveRanges()