Home
last modified time | relevance | path

Searched refs:PThreadKey (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_tsd_exclusive.cpp20 static pthread_key_t PThreadKey; variable
40 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread()
50 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread), 0); in initOnce()
59 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
Dscudo_tsd_shared.cpp20 pthread_key_t PThreadKey; variable
34 CHECK_EQ(pthread_key_create(&PThreadKey, NULL), 0); in initOnce()
56 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); in setCurrentTSD()
Dscudo_tsd_shared.inc19 extern pthread_key_t PThreadKey;
32 return reinterpret_cast<ScudoTSD *>(pthread_getspecific(PThreadKey));
/external/scudo/standalone/
Dtsd_exclusive.h30 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread<Allocator>), 0); in initLinkerInitialized()
48 reinterpret_cast<Allocator *>(pthread_getspecific(PThreadKey)); in unmapTestOnly()
105 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
111 pthread_key_t PThreadKey = {}; member
138 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dtsd_exclusive.h30 CHECK_EQ(pthread_key_create(&PThreadKey, teardownThread<Allocator>), 0); in initLinkerInitialized()
98 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
104 pthread_key_t PThreadKey; member
131 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_basic_logging.cpp74 static pthread_key_t PThreadKey; variable
132 pthread_setspecific(PThreadKey, &TLD); in getThreadLocalData()
385 pthread_key_create(&PThreadKey, TLDDestructor); in basicLoggingInit()