Lines Matching refs:subtle
34 static const subtle::AtomicWord kBeingCreatedMarker = 1;
38 BASE_EXPORT subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance);
114 if (subtle::NoBarrier_AtomicExchange(&dead_, 1)) in New()
129 static void Resurrect() { subtle::NoBarrier_Store(&dead_, 0); } in Resurrect()
134 static subtle::Atomic32 dead_;
141 subtle::Atomic32 StaticMemorySingletonTraits<Type>::dead_ = 0;
238 subtle::AtomicWord value = subtle::Acquire_Load(&instance_); in get()
244 if (subtle::Acquire_CompareAndSwap(&instance_, 0, in get()
252 subtle::Release_Store(&instance_, in get()
253 reinterpret_cast<subtle::AtomicWord>(newval)); in get()
273 Traits::Delete(reinterpret_cast<Type*>(subtle::NoBarrier_Load(&instance_))); in OnExit()
276 static subtle::AtomicWord instance_;
280 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0;