Searched refs:overlapsWith (Results 1 – 8 of 8) sorted by relevance
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | RangeTest.java | 134 assertTrue(r1.overlapsWith(r2)); in rangesOverlap() 135 assertTrue(r2.overlapsWith(r1)); in rangesOverlap() 142 assertFalse(r1.overlapsWith(r2)); in rangesDoNotOverlap() 143 assertFalse(r2.overlapsWith(r1)); in rangesDoNotOverlap() 150 assertTrue(r1.overlapsWith(r2)); in strictlyContainedRangesOverlap() 151 assertTrue(r2.overlapsWith(r1)); in strictlyContainedRangesOverlap()
|
/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 440 EXPECT_TRUE(Range(10, 10).overlapsWith(Range(0, 11))); in TEST() 441 EXPECT_TRUE(Range(0, 11).overlapsWith(Range(10, 10))); in TEST() 442 EXPECT_FALSE(Range(10, 10).overlapsWith(Range(0, 10))); in TEST() 443 EXPECT_FALSE(Range(0, 10).overlapsWith(Range(10, 10))); in TEST() 444 EXPECT_TRUE(Range(0, 10).overlapsWith(Range(2, 6))); in TEST() 445 EXPECT_TRUE(Range(2, 6).overlapsWith(Range(0, 10))); in TEST()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Range.java | 109 public boolean overlapsWith(Range other) { in overlapsWith() method in Range
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 52 bool overlapsWith(Range RHS) const { in overlapsWith() function
|
/external/llvm-project/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 58 bool overlapsWith(Range RHS) const { in overlapsWith() function
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 772 EXPECT_TRUE(Range(10, 10).overlapsWith(Range(0, 11))); in TEST() 773 EXPECT_TRUE(Range(0, 11).overlapsWith(Range(10, 10))); in TEST() 774 EXPECT_FALSE(Range(10, 10).overlapsWith(Range(0, 10))); in TEST() 775 EXPECT_FALSE(Range(0, 10).overlapsWith(Range(10, 10))); in TEST() 776 EXPECT_TRUE(Range(0, 10).overlapsWith(Range(2, 6))); in TEST() 777 EXPECT_TRUE(Range(2, 6).overlapsWith(Range(0, 10))); in TEST()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 201 if (ConflictRange.overlapsWith(Current)) { in deduplicate()
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 307 .overlapsWith(Range(R2.getOffset(), R2.getLength())); in add()
|