Home
last modified time | relevance | path

Searched refs:tsd_key (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_posix.cc97 static pthread_key_t tsd_key; variable
102 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in AsanTSDInit()
107 return pthread_getspecific(tsd_key); in AsanTSDGet()
112 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
119 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/external/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cc11 static pthread_key_t tsd_key; variable
14 pthread_setspecific(tsd_key, malloc(10)); in Thread()
27 assert(0 == pthread_key_create(&tsd_key, Dtor)); in main()
/external/compiler-rt/lib/msan/
Dmsan_linux.cc176 static pthread_key_t tsd_key; variable
182 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in MsanTSDInit()
197 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread()
204 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()