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

References

unittests/ADT/SmallPtrSetTest.cpp
  173   a.insert(&buf[0]);
  174   a.insert(&buf[1]);
  175   b.insert(&buf[2]);
  179   EXPECT_TRUE(a.count(&buf[0]));
  180   EXPECT_TRUE(a.count(&buf[1]));
  181   EXPECT_FALSE(a.count(&buf[2]));
  182   EXPECT_FALSE(a.count(&buf[3]));
  183   EXPECT_FALSE(b.count(&buf[0]));
  184   EXPECT_FALSE(b.count(&buf[1]));
  185   EXPECT_TRUE(b.count(&buf[2]));
  186   EXPECT_FALSE(b.count(&buf[3]));
  192   EXPECT_FALSE(a.count(&buf[0]));
  193   EXPECT_FALSE(a.count(&buf[1]));
  194   EXPECT_TRUE(a.count(&buf[2]));
  195   EXPECT_FALSE(a.count(&buf[3]));
  196   EXPECT_TRUE(b.count(&buf[0]));
  197   EXPECT_TRUE(b.count(&buf[1]));
  198   EXPECT_FALSE(b.count(&buf[2]));
  199   EXPECT_FALSE(b.count(&buf[3]));
  201   b.insert(&buf[3]);
  206   EXPECT_TRUE(a.count(&buf[0]));
  207   EXPECT_TRUE(a.count(&buf[1]));
  208   EXPECT_FALSE(a.count(&buf[2]));
  209   EXPECT_TRUE(a.count(&buf[3]));
  210   EXPECT_FALSE(b.count(&buf[0]));
  211   EXPECT_FALSE(b.count(&buf[1]));
  212   EXPECT_TRUE(b.count(&buf[2]));
  213   EXPECT_FALSE(b.count(&buf[3]));
  219   EXPECT_FALSE(a.count(&buf[0]));
  220   EXPECT_FALSE(a.count(&buf[1]));
  221   EXPECT_TRUE(a.count(&buf[2]));
  222   EXPECT_FALSE(a.count(&buf[3]));
  223   EXPECT_TRUE(b.count(&buf[0]));
  224   EXPECT_TRUE(b.count(&buf[1]));
  225   EXPECT_FALSE(b.count(&buf[2]));
  226   EXPECT_TRUE(b.count(&buf[3]));
  228   a.insert(&buf[4]);
  229   a.insert(&buf[5]);
  230   a.insert(&buf[6]);
  236   EXPECT_TRUE(b.count(&buf[2]));
  237   EXPECT_TRUE(b.count(&buf[4]));
  238   EXPECT_TRUE(b.count(&buf[5]));
  239   EXPECT_TRUE(b.count(&buf[6]));
  240   EXPECT_TRUE(a.count(&buf[0]));
  241   EXPECT_TRUE(a.count(&buf[1]));
  242   EXPECT_TRUE(a.count(&buf[3]));