Lines Matching refs:Traits
144 // The Singleton<Type, Traits, DifferentiatingType> class manages a single
193 // On every platform, if Traits::RAE is true, the singleton will be destroyed at
199 // If Traits::RAE is false, the singleton will not be freed at process exit,
200 // thus the singleton will be leaked if it is ever accessed. Traits::RAE
214 typename Traits = DefaultSingletonTraits<Type>,
232 if (!Traits::kAllowedToAccessOnNonjoinableThread)
251 Type* newval = Traits::New();
261 if (newval != NULL && Traits::kRegisterAtExit)
281 Traits::Delete(
288 template <typename Type, typename Traits, typename DifferentiatingType>
289 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::