Searched refs:ThreadLocalStorage (Results 1 – 11 of 11) sorted by relevance
34 return ThreadLocalStorage::HasBeenDestroyed(); in HasBeenDestroyed()51 ThreadLocalStorage::Slot& TLSSlot() { in TLSSlot()52 static NoDestructor<ThreadLocalStorage::Slot> slot( in TLSSlot()180 static base::ThreadLocalStorage::Slot slot_;187 base::ThreadLocalStorage::Slot UseTLSDuringDestructionRunner::slot_;201 ThreadLocalStorage::Slot slot; in TEST()253 ThreadLocalStorage::Slot slot(nullptr); in TEST()
121 base::ThreadLocalStorage::TLSDestructorFunc destructor;255 base::ThreadLocalStorage::TLSDestructorFunc destructor = in OnThreadExitInternal()318 bool ThreadLocalStorage::HasBeenDestroyed() { in HasBeenDestroyed()326 void ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize()360 void ThreadLocalStorage::Slot::Free() { in Free()372 void* ThreadLocalStorage::Slot::Get() const { in Get()387 void ThreadLocalStorage::Slot::Set(void* value) { in Set()400 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) { in Slot()404 ThreadLocalStorage::Slot::~Slot() { in ~Slot()
118 class BASE_EXPORT ThreadLocalStorage {179 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage);
24 ThreadLocalStorage::Slot& GetThreadNameTLS() { in GetThreadNameTLS()25 static base::NoDestructor<base::ThreadLocalStorage::Slot> thread_name_tls; in GetThreadNameTLS()
73 ThreadLocalStorage::Slot slot_;
142 class ThreadLocalStorage {144 ThreadLocalStorage() { in ThreadLocalStorage() function145 pthread_key_create(&key_, &ThreadLocalStorage::Delete); in ThreadLocalStorage()147 ~ThreadLocalStorage() { in ~ThreadLocalStorage()164 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ThreadLocalStorage);
162 ThreadLocalStorage::Slot& AccumulatedBytesTLS() { in AccumulatedBytesTLS()163 static base::NoDestructor<base::ThreadLocalStorage::Slot> in AccumulatedBytesTLS()294 if (UNLIKELY(base::ThreadLocalStorage::HasBeenDestroyed())) in RecordAlloc()385 if (UNLIKELY(base::ThreadLocalStorage::HasBeenDestroyed())) in DoRecordFree()
116 ThreadLocalStorage::Slot tls_acquired_locks_;
56 static internal::ThreadLocalStorage<ThreadCache>* thread_cache_ = in thread_cache()57 new internal::ThreadLocalStorage<ThreadCache>(); in thread_cache()
4 Subject: [PATCH] ThreadLocalStorage: Add a function to destroy pthread key
867 if (base::ThreadLocalStorage::HasBeenDestroyed()) in GetOrCreateTracker()1205 ThreadLocalStorage::Slot this_thread_tracker_;