Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DBitVectorTest.cpp289 EXPECT_EQ(-1, Vec.find_last_in(0, 0)); in TEST()
290 EXPECT_EQ(-1, Vec.find_last_in(24, 24)); in TEST()
291 EXPECT_EQ(-1, Vec.find_last_in(7, 24)); in TEST()
293 EXPECT_EQ(6, Vec.find_last_in(0, 10)); in TEST()
294 EXPECT_EQ(5, Vec.find_last_in(0, 6)); in TEST()
295 EXPECT_EQ(154, Vec.find_last_in(100, 155)); in TEST()
296 EXPECT_EQ(152, Vec.find_last_in(100, 154)); in TEST()
297 EXPECT_EQ(150, Vec.find_last_in(100, 152)); in TEST()
298 EXPECT_EQ(-1, Vec.find_last_in(100, 150)); in TEST()
300 EXPECT_EQ(199, Vec.find_last_in(199, 200)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DBitVector.h237 int find_last_in(unsigned Begin, unsigned End) const { in find_last_in() function
336 int find_last() const { return find_last_in(0, Size); } in find_last()
344 int find_prev(unsigned PriorTo) const { return find_last_in(0, PriorTo); } in find_prev()