reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/BitVector.h
  347   int find_first_unset() const { return find_first_unset_in(0, Size); }
  352     return find_first_unset_in(Prev + 1, Size);
unittests/ADT/BitVectorTest.cpp
  348   EXPECT_EQ(-1, Vec.find_first_unset_in(0, 0));
  349   EXPECT_EQ(-1, Vec.find_first_unset_in(23, 23));
  350   EXPECT_EQ(-1, Vec.find_first_unset_in(24, 35));
  352   EXPECT_EQ(0, Vec.find_first_unset_in(0, 10));
  353   EXPECT_EQ(1, Vec.find_first_unset_in(1, 10));
  354   EXPECT_EQ(7, Vec.find_first_unset_in(5, 25));
  355   EXPECT_EQ(151, Vec.find_first_unset_in(150, 200));
  356   EXPECT_EQ(151, Vec.find_first_unset_in(151, 200));
  357   EXPECT_EQ(153, Vec.find_first_unset_in(152, 200));
  358   EXPECT_EQ(153, Vec.find_first_unset_in(153, 200));
  359   EXPECT_EQ(155, Vec.find_first_unset_in(154, 200));
  360   EXPECT_EQ(155, Vec.find_first_unset_in(155, 200));
  361   EXPECT_EQ(199, Vec.find_first_unset_in(199, 200));
  419   EXPECT_EQ(-1, Vec.find_first_unset_in(0, 0));
  420   EXPECT_EQ(-1, Vec.find_first_unset_in(23, 23));
  421   EXPECT_EQ(-1, Vec.find_first_unset_in(6, 9));
  423   EXPECT_EQ(0, Vec.find_first_unset_in(0, 6));
  424   EXPECT_EQ(1, Vec.find_first_unset_in(1, 6));
  425   EXPECT_EQ(9, Vec.find_first_unset_in(7, 13));
  426   EXPECT_EQ(18, Vec.find_first_unset_in(18, 25));
  427   EXPECT_EQ(20, Vec.find_first_unset_in(19, 25));
  428   EXPECT_EQ(20, Vec.find_first_unset_in(20, 25));
  429   EXPECT_EQ(22, Vec.find_first_unset_in(21, 25));
  430   EXPECT_EQ(22, Vec.find_first_unset_in(22, 25));
  431   EXPECT_EQ(24, Vec.find_first_unset_in(23, 25));
  432   EXPECT_EQ(24, Vec.find_first_unset_in(24, 25));