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

/openbsd-current/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_posix.cpp28 static pthread_key_t tsd_key; member in namespace:__memprof
33 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
38 return pthread_getspecific(tsd_key);
43 pthread_setspecific(tsd_key, tsd);
50 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_posix.cpp78 struct tsd_key { struct in namespace:__asan
79 tsd_key() : key(nullptr) {} function in struct:__asan::tsd_key
80 ~tsd_key() {
88 static thread_local struct tsd_key key;
116 static pthread_key_t tsd_key; member in namespace:__asan
121 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
126 return pthread_getspecific(tsd_key);
131 pthread_setspecific(tsd_key, tsd);
138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/openbsd-current/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp99 static pthread_key_t tsd_key; member in namespace:__dfsan
105 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
118 pthread_setspecific(tsd_key, t);
125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/openbsd-current/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_linux.cpp183 struct tsd_key { struct in namespace:__msan
184 tsd_key() : key(nullptr) {} function in struct:__msan::tsd_key
185 ~tsd_key() {
193 static thread_local struct tsd_key key;
221 static pthread_key_t tsd_key; member in namespace:__msan
227 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor));
242 pthread_setspecific(tsd_key, (void *)t);
249 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd));
/openbsd-current/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp310 static pthread_key_t tsd_key; member in namespace:__hwasan
315 CHECK_EQ(0, pthread_setspecific(tsd_key,
322 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1)));
331 CHECK_EQ(0, pthread_key_create(&tsd_key, HwasanTSDDtor));

Completed in 183 milliseconds