Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DBitVectorTest.cpp320 EXPECT_EQ(-1, Vec.find_last_unset_in(0, 0)); in TEST()
321 EXPECT_EQ(-1, Vec.find_last_unset_in(23, 23)); in TEST()
322 EXPECT_EQ(-1, Vec.find_last_unset_in(24, 35)); in TEST()
324 EXPECT_EQ(9, Vec.find_last_unset_in(0, 10)); in TEST()
325 EXPECT_EQ(8, Vec.find_last_unset_in(0, 9)); in TEST()
326 EXPECT_EQ(2, Vec.find_last_unset_in(0, 7)); in TEST()
327 EXPECT_EQ(149, Vec.find_last_unset_in(100, 151)); in TEST()
328 EXPECT_EQ(151, Vec.find_last_unset_in(100, 152)); in TEST()
329 EXPECT_EQ(151, Vec.find_last_unset_in(100, 153)); in TEST()
330 EXPECT_EQ(153, Vec.find_last_unset_in(100, 154)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DBitVector.h299 int find_last_unset_in(unsigned Begin, unsigned End) const { in find_last_unset_in() function
358 int find_last_unset() const { return find_last_unset_in(0, Size); } in find_last_unset()
363 return find_last_unset_in(0, PriorTo); in find_prev_unset()