Home
last modified time | relevance | path

Searched refs:InstanceCounter (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dallocexcept_test.cpp21 struct InstanceCounter struct
23 InstanceCounter(){++counter;} in InstanceCounter() argument
24 InstanceCounter(const InstanceCounter&){++counter;} in InstanceCounter() argument
25 ~InstanceCounter(){--counter;} in ~InstanceCounter() argument
29 std::size_t InstanceCounter::counter = 0; argument
46 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 …]
/third_party/boost/libs/circular_buffer/test/
Dconstant_erase_test.cpp12 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()
Dtest.hpp70 class InstanceCounter { class
72 InstanceCounter() { increment(); } in InstanceCounter() function in InstanceCounter
73 InstanceCounter(const InstanceCounter& y) { y.increment(); } in InstanceCounter() function in InstanceCounter
74 ~InstanceCounter() { decrement(); } in ~InstanceCounter()
Dcommon.ipp1940 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;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp964 class InstanceCounter class
967 InstanceCounter (bool (*predicate)(glu::DataType)) in InstanceCounter() function in deqp::gles31::Functional::__anonf9f73ab40111::InstanceCounter
1017 return accumulateComplexType(complexType, InstanceCounter(predicate)); in getNumTypeInstances()
1022 …lockStorageFilter(storage), VariableDeclarationStorageFilter(storage), InstanceCounter(predicate)); in getNumTypeInstances()