Home | Sort by: relevance | last modified time | path |
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ | |
asan_posix.cc | 50 struct tsd_key { struct in namespace:__asan 51 tsd_key() : key(nullptr) {} function in struct:__asan::tsd_key 52 ~tsd_key() { 60 static thread_local struct tsd_key key; 88 static pthread_key_t tsd_key; variable in namespace:__asan 93 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); 98 return pthread_getspecific(tsd_key); 103 pthread_setspecific(tsd_key, tsd); 110 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); |
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ | |
msan_linux.cc | 185 struct tsd_key { struct in namespace:__msan 186 tsd_key() : key(nullptr) {} function in struct:__msan::tsd_key 187 ~tsd_key() { 195 static thread_local struct tsd_key key; 223 static pthread_key_t tsd_key; variable in namespace:__msan 229 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); 244 pthread_setspecific(tsd_key, (void *)t); 251 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); |