Lines Matching refs:object_count
7 static Index object_count; member
15 if (Foo::object_count > Foo::object_limit) { std::cout << "\nThrow!\n"; throw Foo::Fail(); } in Foo()
18 ++Foo::object_count; in Foo()
24 --Foo::object_count; in ~Foo()
30 Index Foo::object_count = 0; member in Foo
40 Foo::object_count = 0; in test_ctorleak()
56 VERIFY_IS_EQUAL(Index(0), Foo::object_count); in test_ctorleak()
61 VERIFY_IS_EQUAL(Foo::object_count, rows*cols); in test_ctorleak()
63 VERIFY_IS_EQUAL(Foo::object_count, (rows+1)*cols); in test_ctorleak()
65 VERIFY_IS_EQUAL(Foo::object_count, rows*(cols+1)); in test_ctorleak()
67 VERIFY_IS_EQUAL(Index(0), Foo::object_count); in test_ctorleak()