Searched refs:InstanceCounter (Results 1 – 5 of 5) sorted by relevance
21 struct InstanceCounter struct23 InstanceCounter(){++counter;} in InstanceCounter() argument24 InstanceCounter(const InstanceCounter&){++counter;} in InstanceCounter() argument25 ~InstanceCounter(){--counter;} in ~InstanceCounter() argument29 std::size_t InstanceCounter::counter = 0; argument46 typedef allocator<InstanceCounter, in main()51 typedef vector<InstanceCounter, inst_allocator_t> MyVect; in main()59 myvec.push_back(InstanceCounter()); in main()63 if(InstanceCounter::counter != 0) in main()72 InstanceCounter ic; in main()[all …]
12 int InstanceCounter::ms_count = 0;48 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in erase_begin_test()51 BOOST_TEST(InstanceCounter::count() == 5); in erase_begin_test()56 BOOST_TEST(InstanceCounter::count() == 3); in erase_begin_test()107 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in erase_end_test()110 BOOST_TEST(InstanceCounter::count() == 5); in erase_end_test()115 BOOST_TEST(InstanceCounter::count() == 3); in erase_end_test()153 circular_buffer<InstanceCounter> cb2(5, InstanceCounter()); in clear_test()156 BOOST_TEST(InstanceCounter::count() == 5); in clear_test()161 BOOST_TEST(InstanceCounter::count() == 0); in clear_test()
70 class InstanceCounter { class72 InstanceCounter() { increment(); } in InstanceCounter() function in InstanceCounter73 InstanceCounter(const InstanceCounter& y) { y.increment(); } in InstanceCounter() function in InstanceCounter74 ~InstanceCounter() { decrement(); } in ~InstanceCounter()
1940 CB_CONTAINER<InstanceCounter> cb(5);1941 cb.push_back(InstanceCounter());1942 cb.push_back(InstanceCounter());1943 cb.push_back(InstanceCounter());1944 int prevCount = InstanceCounter::count();1949 BOOST_TEST(InstanceCounter::count() == 0);2089 int InstanceCounter::ms_count = 0;
964 class InstanceCounter class967 InstanceCounter (bool (*predicate)(glu::DataType)) in InstanceCounter() function in deqp::gles31::Functional::__anonf9f73ab40111::InstanceCounter1017 return accumulateComplexType(complexType, InstanceCounter(predicate)); in getNumTypeInstances()1022 …lockStorageFilter(storage), VariableDeclarationStorageFilter(storage), InstanceCounter(predicate)); in getNumTypeInstances()