Home
last modified time | relevance | path

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

/external/swiftshader/third_party/marl/src/
Dpool_test.cpp79 struct CtorDtorCounter { struct
80 CtorDtorCounter() { ctor_count++; } in CtorDtorCounter() function
81 ~CtorDtorCounter() { dtor_count++; } in ~CtorDtorCounter() argument
90 int CtorDtorCounter::ctor_count = -1; argument
91 int CtorDtorCounter::dtor_count = -1;
94 CtorDtorCounter::reset(); in TEST_P()
95 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Reconstruct> pool; in TEST_P()
96 ASSERT_EQ(CtorDtorCounter::ctor_count, 0); in TEST_P()
97 ASSERT_EQ(CtorDtorCounter::dtor_count, 0); in TEST_P()
100 ASSERT_EQ(CtorDtorCounter::ctor_count, 1); in TEST_P()
[all …]