Searched refs:TLS_OUT_OF_INDEXES (Results 1 – 20 of 20) sorted by relevance
35 static DWORD tlsIndex = TLS_OUT_OF_INDEXES;64 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_init()177 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_init_thread()196 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_cleanup_thread()216 if (tlsIndex != TLS_OUT_OF_INDEXES) { in stw_tls_cleanup()229 tlsIndex = TLS_OUT_OF_INDEXES; in stw_tls_cleanup()268 if (tlsIndex == TLS_OUT_OF_INDEXES) { in stw_tls_get_data()
28 #define TLS_OUT_OF_INDEXES (pthread_key_t)(~0) macro157 if(key != TLS_OUT_OF_INDEXES) // Avoid undefined behavior. in setLocalStorage()169 if(key == TLS_OUT_OF_INDEXES) // Avoid undefined behavior. in getLocalStorage()
38 Atomic32 ScreenCapturerWinMagnifier::tls_index_(TLS_OUT_OF_INDEXES);240 assert(tls_index_.Value() != static_cast<int32_t>(TLS_OUT_OF_INDEXES)); 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()
25 static sw::Thread::LocalStorageKey currentTLS = TLS_OUT_OF_INDEXES;79 if(currentTLS == TLS_OUT_OF_INDEXES) in glAttachProcess()
31 if (dwIndex == TLS_OUT_OF_INDEXES) { in OS_AllocTLSIndex()
53 #define OS_INVALID_TLS_INDEX (TLS_OUT_OF_INDEXES)
37 if (handle == TLS_OUT_OF_INDEXES) in deThreadLocal_create()
144 static DWORD globalkey = TLS_OUT_OF_INDEXES;918 if (globalkey != TLS_OUT_OF_INDEXES) { in xmlCleanupThreads()933 globalkey = TLS_OUT_OF_INDEXES; in xmlCleanupThreads()1020 if (globalkey != TLS_OUT_OF_INDEXES) {
31 enum : unsigned { TLS_KEY_OUT_OF_INDEXES = TLS_OUT_OF_INDEXES };
75 if (tls_index == TLS_OUT_OF_INDEXES) in gl_msvc_inval_current()
28 assert(*tls != TLS_OUT_OF_INDEXES);
29 assert(*tls != TLS_OUT_OF_INDEXES);
92 return(*key != TLS_OUT_OF_INDEXES ? MagickTrue : MagickFalse); in CreateMagickThreadKey()
98 g_thread_local_failed = (g_thread_local_key == TLS_OUT_OF_INDEXES); in thread_local_init()
229 if (*key == TLS_OUT_OF_INDEXES) in usbi_tls_key_create()
150 if ((cups_globals_key = TlsAlloc()) == TLS_OUT_OF_INDEXES) in DllMain()
30 static sw::Thread::LocalStorageKey currentTLS = TLS_OUT_OF_INDEXES;46 if(currentTLS == TLS_OUT_OF_INDEXES) in attachThread()
367 if (a_name##tsd_tsd == TLS_OUT_OF_INDEXES) \
774 if (result == TLS_OUT_OF_INDEXES) in dng_pthread_key_create()
1388 DCHECK(result != TLS_OUT_OF_INDEXES); in CreateThreadLocalKey()