Searched refs:StaticCounter (Results 1 – 2 of 2) sorted by relevance
27 class StaticCounter { class33 StaticCounter() { in StaticCounter() function in emugl::__anon25785ff70111::StaticCounter40 ~StaticCounter() { in ~StaticCounter()70 static StaticCounter* mInstances[kMaxInstances];73 Mutex StaticCounter::mMutex;74 size_t StaticCounter::mCreationCount = 0;75 size_t StaticCounter::mDestructionCount = 0;76 StaticCounter* StaticCounter::mInstances[kMaxInstances];92 delete (StaticCounter*) value; in simplyDestroy()97 store->set(new StaticCounter()); in simpleThreadFunc()[all …]
36 class StaticCounter { class38 StaticCounter() { in StaticCounter() function in emugl::__anone42ca5470111::StaticCounter56 Mutex StaticCounter::mMutex;57 int StaticCounter::mCounter = 0;91 MultiState(LazyInstance<StaticCounter>* staticCounter) : in MultiState()99 LazyInstance<StaticCounter>* mStaticCounter;118 LazyInstance<StaticCounter> counter_instance = LAZY_INSTANCE_INIT; in TEST()136 StaticCounter* expectedValue = counter_instance.ptr(); in TEST()