Lines Matching full:num_instances
30 static size_t num_instances() { return num_instances_; }
58 static size_t num_instances() { return num_instances_; }
241 ASSERT_EQ(0u, CopyableType::num_instances());
252 EXPECT_EQ(array.size(), CopyableType::num_instances());
261 EXPECT_EQ(array.size(), CopyableType::num_instances());
269 EXPECT_EQ(array.size(), CopyableType::num_instances());
279 EXPECT_EQ(array.size(), CopyableType::num_instances());
285 EXPECT_EQ(0u, CopyableType::num_instances());
288 EXPECT_EQ(0u, CopyableType::num_instances());
293 ASSERT_EQ(0u, MoveOnlyType::num_instances());
304 EXPECT_EQ(array.size(), MoveOnlyType::num_instances());
312 EXPECT_EQ(array.size(), MoveOnlyType::num_instances());
320 EXPECT_EQ(array.size(), MoveOnlyType::num_instances());
328 EXPECT_EQ(array.size(), MoveOnlyType::num_instances());
337 EXPECT_EQ(0u, MoveOnlyType::num_instances());
340 EXPECT_EQ(0u, MoveOnlyType::num_instances());
345 ASSERT_EQ(0u, CopyableType::num_instances());
356 EXPECT_EQ(array.size() + 1, CopyableType::num_instances());
366 EXPECT_EQ(array.size() + 1, CopyableType::num_instances());
369 EXPECT_EQ(array.size(), CopyableType::num_instances());
376 EXPECT_EQ(0u, CopyableType::num_instances());
380 ASSERT_EQ(0u, MoveOnlyType::num_instances());
391 EXPECT_EQ(array.size() + 1, MoveOnlyType::num_instances());
401 EXPECT_EQ(array.size() + 1, MoveOnlyType::num_instances());
404 EXPECT_EQ(array.size(), MoveOnlyType::num_instances());
411 EXPECT_EQ(0u, MoveOnlyType::num_instances());