Searched refs:g_tls_index (Results 1 – 8 of 8) sorted by relevance
67 volatile DWORD g_tls_index = TLS_OUT_OF_INDEXES; variable211 if (g_tls_index == TLS_OUT_OF_INDEXES) { in CanIgnoreRequest()214 if ((::TlsGetValue(g_tls_index) == nullptr) && in CanIgnoreRequest()228 if (g_tls_index == TLS_OUT_OF_INDEXES) { in EnsureUIThreadInitialized()231 if (::TlsGetValue(g_tls_index) != nullptr) { in EnsureUIThreadInitialized()252 g_tls_index = ::TlsAlloc(); in OnModuleLoaded()256 if (g_tls_index != TLS_OUT_OF_INDEXES) { in OnModuleUnloaded()257 ::TlsFree(g_tls_index); in OnModuleUnloaded()268 if (g_tls_index == TLS_OUT_OF_INDEXES) { in OnUIThreadUninitialized()271 if (::TlsGetValue(g_tls_index) == nullptr) { in OnUIThreadUninitialized()[all …]
25 DWORD g_tls_index = TLS_OUT_OF_INDEXES; variable29 LPVOID data = ::TlsGetValue(g_tls_index); in getGlobalError()34 char *data = reinterpret_cast<char *>(::TlsGetValue(g_tls_index)); in setGlobalError()52 if ((g_tls_index = ::TlsAlloc()) == TLS_OUT_OF_INDEXES) { in DllMain()59 ::TlsSetValue(g_tls_index, data); in DllMain()63 data = ::TlsGetValue(g_tls_index); in DllMain()69 data = ::TlsGetValue(g_tls_index); in DllMain()73 ::TlsFree(g_tls_index); in DllMain()74 g_tls_index = TLS_OUT_OF_INDEXES; in DllMain()
25 DWORD g_tls_index = TLS_OUT_OF_INDEXES; variable28 LPVOID data = ::TlsGetValue(g_tls_index); in getGlobalError()33 char *data = reinterpret_cast<char *>(::TlsGetValue(g_tls_index)); in setGlobalError()51 if ((g_tls_index = ::TlsAlloc()) == TLS_OUT_OF_INDEXES) { in DllMain()58 ::TlsSetValue(g_tls_index, data); in DllMain()62 data = ::TlsGetValue(g_tls_index); in DllMain()68 data = ::TlsGetValue(g_tls_index); in DllMain()72 ::TlsFree(g_tls_index); in DllMain()73 g_tls_index = TLS_OUT_OF_INDEXES; in DllMain()