Home
last modified time | relevance | path

Searched refs:TLSKey (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/threading/
Dthread_local_storage.h55 typedef unsigned long TLSKey; typedef
58 typedef pthread_key_t TLSKey;
73 static bool AllocTLS(TLSKey* key);
77 static void FreeTLS(TLSKey key);
78 static void SetTLSValue(TLSKey key, void* value);
79 static void* GetTLSValue(TLSKey key) { in GetTLSValue()
Dthread_local_storage.cc150 PlatformThreadLocalStorage::TLSKey key = in ConstructTlsVector()
161 PlatformThreadLocalStorage::TLSKey tmp = key; in ConstructTlsVector()
170 static_cast<PlatformThreadLocalStorage::TLSKey>( in ConstructTlsVector()
208 PlatformThreadLocalStorage::TLSKey key = in OnThreadExitInternal()
227 PlatformThreadLocalStorage::TLSKey key = in OnThreadExitInternal()
284 PlatformThreadLocalStorage::TLSKey key = in OnThreadExit()
306 PlatformThreadLocalStorage::TLSKey key =
319 PlatformThreadLocalStorage::TLSKey key = in HasBeenDestroyed()
327 PlatformThreadLocalStorage::TLSKey key = in Initialize()
Dthread_local_storage_posix.cc13 bool PlatformThreadLocalStorage::AllocTLS(TLSKey* key) { in AllocTLS()
18 void PlatformThreadLocalStorage::FreeTLS(TLSKey key) { in FreeTLS()
23 void PlatformThreadLocalStorage::SetTLSValue(TLSKey key, void* value) { in SetTLSValue()
/external/pdfium/third_party/libopenjpeg20/
Dthread.c109 static DWORD TLSKey = 0; variable
130 TLSKey = TlsAlloc(); in opj_cond_create()
140 if (TLSKey == TLS_OUT_OF_INDEXES) { in opj_cond_create()
156 HANDLE hEvent = (HANDLE) TlsGetValue(TLSKey); in opj_cond_wait()
164 TlsSetValue(TLSKey, hEvent); in opj_cond_wait()
239 hEvent = (HANDLE) TlsGetValue(TLSKey); in opj_thread_callback_adapter()
/external/libchrome/libchrome_tools/patch/
DThreadLocalStorage-Add-a-function-to-destroy-pthread.patch32 + PlatformThreadLocalStorage::TLSKey key =