Home
last modified time | relevance | path

Searched refs:tls_index_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_magnifier.cc38 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()
Dscreen_capturer_win_magnifier.h102 static Atomic32 tls_index_; variable
/external/libchrome/base/
Dtracked_objects.cc285 base::ThreadLocalStorage::StaticSlot ThreadData::tls_index_ = TLS_INITIALIZER; member in tracked_objects::ThreadData
363 reinterpret_cast<ThreadData*>(tls_index_.Get()); in InitializeThreadContext()
367 tls_index_.Set(current_thread_data); in InitializeThreadContext()
372 if (!tls_index_.initialized()) in Get()
374 ThreadData* registered = reinterpret_cast<ThreadData*>(tls_index_.Get()); in Get()
399 tls_index_.Set(worker_thread_data); in Get()
690 if (!tls_index_.initialized()) { // Testing may have initialized this. in EnsureTlsInitialization()
692 tls_index_.Initialize(&ThreadData::OnThreadTermination); in EnsureTlsInitialization()
693 DCHECK(tls_index_.initialized()); in EnsureTlsInitialization()
786 tls_index_.Set(NULL); in ShutdownSingleThreadedCleanup()
Dtracked_objects.h636 static base::ThreadLocalStorage::StaticSlot tls_index_; variable