Lines Matching defs:V3
913 std::shared_ptr<int> V3 = std::make_shared<int>(0);
914 std::shared_ptr<int> V4 = V3;
915 EXPECT_EQ(V3.get(), V4.get());
916 EXPECT_EQ(V3.get(), llvm::to_address(V3));
919 V3.reset(V1);
920 EXPECT_EQ(V1, llvm::to_address(V3));
945 const std::list<int> V3 = {1, 3, 5};
952 EXPECT_TRUE(hasNItems(V3.begin(), V3.end(), 3, [](int x) { return x < 10; }));
953 EXPECT_TRUE(hasNItems(V3.begin(), V3.end(), 0, [](int x) { return x > 10; }));
954 EXPECT_TRUE(hasNItems(V3.begin(), V3.end(), 2, [](int x) { return x < 5; }));
959 const std::list<int> V3 = {1, 3, 5};
968 EXPECT_TRUE(hasNItemsOrMore(V3, 3));
969 EXPECT_FALSE(hasNItemsOrMore(V3, 4));
972 hasNItemsOrMore(V3.begin(), V3.end(), 3, [](int x) { return x < 10; }));
974 hasNItemsOrMore(V3.begin(), V3.end(), 3, [](int x) { return x > 10; }));
976 hasNItemsOrMore(V3.begin(), V3.end(), 2, [](int x) { return x < 5; }));
981 const std::list<int> V3 = {1, 3, 5};
996 EXPECT_FALSE(hasNItemsOrLess(V3, 0));
997 EXPECT_FALSE(hasNItemsOrLess(V3, 1));
998 EXPECT_FALSE(hasNItemsOrLess(V3, 2));
999 EXPECT_TRUE(hasNItemsOrLess(V3, 3));
1000 EXPECT_TRUE(hasNItemsOrLess(V3, 4));
1003 hasNItemsOrLess(V3.begin(), V3.end(), 1, [](int x) { return x == 1; }));
1005 hasNItemsOrLess(V3.begin(), V3.end(), 2, [](int x) { return x < 5; }));
1007 hasNItemsOrLess(V3.begin(), V3.end(), 5, [](int x) { return x < 5; }));
1009 hasNItemsOrLess(V3.begin(), V3.end(), 2, [](int x) { return x < 10; }));
1030 SmallVector<Foo, 4U> V1, V2, V3, V4;
1051 llvm::move(std::move(V2), std::back_inserter(V3));
1054 EXPECT_EQ(V3.size(), 4U);
1055 EXPECT_TRUE(llvm::all_of(V3, HasVal));