Searched refs:tls_index_ (Results 1 – 4 of 4) sorted by relevance
38 Atomic32 ScreenCapturerWinMagnifier::tls_index_(TLS_OUT_OF_INDEXES);240 assert(tls_index_.Value() != static_cast<int32_t>(TLS_OUT_OF_INDEXES)); in OnMagImageScalingCallback()244 TlsGetValue(tls_index_.Value())); in OnMagImageScalingCallback()373 if (tls_index_.Value() == static_cast<int32_t>(TLS_OUT_OF_INDEXES)) { in InitializeMagnifier()377 if (!tls_index_.CompareExchange(new_tls_index, TLS_OUT_OF_INDEXES)) in InitializeMagnifier()381 assert(tls_index_.Value() != static_cast<int32_t>(TLS_OUT_OF_INDEXES)); in InitializeMagnifier()382 TlsSetValue(tls_index_.Value(), this); in InitializeMagnifier()
102 static Atomic32 tls_index_; variable
296 base::ThreadLocalStorage::StaticSlot ThreadData::tls_index_ = TLS_INITIALIZER; member in tracked_objects::ThreadData372 reinterpret_cast<ThreadData*>(tls_index_.Get()); in InitializeThreadContext()376 tls_index_.Set(current_thread_data); in InitializeThreadContext()381 if (!tls_index_.initialized()) in Get()383 ThreadData* registered = reinterpret_cast<ThreadData*>(tls_index_.Get()); in Get()408 tls_index_.Set(worker_thread_data); in Get()722 if (!tls_index_.initialized()) { // Testing may have initialized this. in Initialize()724 tls_index_.Initialize(&ThreadData::OnThreadTermination); in Initialize()725 DCHECK(tls_index_.initialized()); in Initialize()826 tls_index_.Set(NULL); in ShutdownSingleThreadedCleanup()
645 static base::ThreadLocalStorage::StaticSlot tls_index_; variable