Searched refs:rangesMatch (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/llvm/unittests/ADT/ |
D | CoalescingBitVectorTest.cpp | 34 bool rangesMatch(iterator_range<UBitVec::const_iterator> R, in rangesMatch() function 502 EXPECT_TRUE(rangesMatch(BV.half_open_range(0, 5), {1, 2, 3})); in TEST() 503 EXPECT_TRUE(rangesMatch(BV.half_open_range(1, 4), {1, 2, 3})); in TEST() 504 EXPECT_TRUE(rangesMatch(BV.half_open_range(1, 3), {1, 2})); in TEST() 505 EXPECT_TRUE(rangesMatch(BV.half_open_range(2, 3), {2})); in TEST() 506 EXPECT_TRUE(rangesMatch(BV.half_open_range(2, 4), {2, 3})); in TEST() 507 EXPECT_TRUE(rangesMatch(BV.half_open_range(4, 5), {})); in TEST() 514 EXPECT_TRUE(rangesMatch(BV.half_open_range(0, 15), {1, 2, 11, 12})); in TEST() 515 EXPECT_TRUE(rangesMatch(BV.half_open_range(1, 13), {1, 2, 11, 12})); in TEST() 516 EXPECT_TRUE(rangesMatch(BV.half_open_range(1, 12), {1, 2, 11})); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SymbolCollectorTests.cpp | 73 bool rangesMatch(const SymbolLocation &Loc, const Range &R) { in rangesMatch() function 80 return rangesMatch(arg.CanonicalDeclaration, Pos); 82 MATCHER_P(DefRange, Pos, "") { return rangesMatch(arg.Definition, Pos); } 98 return rangesMatch(Pos.Location, Range); 764 if (rangesMatch(Ref.Location, R)) in TEST_F()
|