Searched refs:PThreadKey (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_tsd_exclusive.cpp | 20 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()
|
D | scudo_tsd_shared.cpp | 20 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()
|
D | scudo_tsd_shared.inc | 19 extern pthread_key_t PThreadKey; 32 return reinterpret_cast<ScudoTSD *>(pthread_getspecific(PThreadKey));
|
/external/scudo/standalone/ |
D | tsd_exclusive.h | 30 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/ |
D | tsd_exclusive.h | 30 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/ |
D | xray_basic_logging.cpp | 74 static pthread_key_t PThreadKey; variable 132 pthread_setspecific(PThreadKey, &TLD); in getThreadLocalData() 385 pthread_key_create(&PThreadKey, TLDDestructor); in basicLoggingInit()
|