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

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_posix.cpp49 struct tsd_key { struct in namespace:__asan
50 tsd_key() : key(nullptr) {} function in struct:__asan::tsd_key
51 ~tsd_key() {
59 static thread_local struct tsd_key key;
87 static pthread_key_t tsd_key; member in namespace:__asan
92 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
97 return pthread_getspecific(tsd_key);
102 pthread_setspecific(tsd_key, tsd);
109 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_linux.cpp184 struct tsd_key { struct in namespace:__msan
185 tsd_key() : key(nullptr) {} function in struct:__msan::tsd_key
186 ~tsd_key() {
194 static thread_local struct tsd_key key;
222 static pthread_key_t tsd_key; member in namespace:__msan
228 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
243 pthread_setspecific(tsd_key, (void *)t);
250 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp299 static pthread_key_t tsd_key; member in namespace:__hwasan
304 CHECK_EQ(0, pthread_setspecific(tsd_key,
311 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1)));
320 CHECK_EQ(0, pthread_key_create(&tsd_key, HwasanTSDDtor));

Completed in 155 milliseconds