Searched refs:tsd_key (Results 1 – 3 of 3) sorted by relevance
/external/compiler-rt/lib/asan/ |
D | asan_posix.cc | 58 static pthread_key_t tsd_key; variable 63 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in AsanTSDInit() 68 return pthread_getspecific(tsd_key); in AsanTSDGet() 73 pthread_setspecific(tsd_key, tsd); in AsanTSDSet() 80 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
/external/compiler-rt/lib/msan/ |
D | msan_linux.cc | 107 static pthread_key_t tsd_key; variable 112 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in MsanTSDInit() 117 return pthread_getspecific(tsd_key); in MsanTSDGet() 122 pthread_setspecific(tsd_key, tsd); in MsanTSDSet() 129 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | tsd_dtor_leak.cc | 11 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()
|