| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_posix.cpp | 43 pthread_setspecific(tsd_key, tsd); in TSDSet() 50 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/ |
| H A D | scudo_tsd_exclusive.cpp | 40 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread() 59 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
|
| H A D | scudo_tsd_shared.cpp | 56 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); in setCurrentTSD()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_posix.cpp | 130 pthread_setspecific(tsd_key, tsd); in AsanTSDSet() 137 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
| /freebsd-13.1/lib/libc/locale/ |
| H A D | xlocale.c | 124 pthread_setspecific(locale_info_key, (void*)42); in init_key() 126 pthread_setspecific(locale_info_key, 0); in init_key() 167 pthread_setspecific(locale_info_key, l); in set_thread_locale()
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | tsd_generic.h | 40 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) in tsd_cleanup_wrapper() 55 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) { in tsd_wrapper_set()
|
| H A D | tsd_tls.h | 54 if (pthread_setspecific(tsd_tsd, (void *)(&tsd_tls)) != 0) { in tsd_set()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cpp | 50 pthread_setspecific(key, data); in restore_tid_data() 66 pthread_setspecific(key, ptr); in get_tls_val()
|
| H A D | lsan_interceptors.cpp | 43 int pthread_setspecific(unsigned key, const void *v); 325 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize() 421 if (pthread_setspecific(g_thread_finalize_key, in __lsan_thread_start_func()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 130 pthread_setspecific(tsd_key, t); in SetCurrentThread() 137 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | tsd_exclusive.h | 109 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread() 142 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
|
| /freebsd-13.1/lib/libstdthreads/ |
| H A D | tss.c | 65 if (pthread_setspecific(key, val) != 0) in tss_set()
|
| /freebsd-13.1/contrib/ntp/lib/isc/pthreads/include/isc/ |
| H A D | thread.h | 55 #define isc_thread_key_setspecific pthread_setspecific
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack.cpp | 138 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start() 162 pthread_setspecific(thread_cleanup_key, NULL); in thread_cleanup_handler()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | jitprofiling.c | 185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent() 437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_linux.cpp | 242 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread() 249 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
|
| /freebsd-13.1/lib/libc/resolv/ |
| H A D | mtctxres.c | 85 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
|
| /freebsd-13.1/contrib/libcxxrt/ |
| H A D | exception.cc | 39 #pragma weak pthread_setspecific macro 392 (0 == pthread_setspecific) || in init_key() 399 pthread_setspecific(eh_key, reinterpret_cast<void *>(0x42)); in init_key() 401 pthread_setspecific(eh_key, 0); in init_key() 418 pthread_setspecific(eh_key, info); in thread_info()
|
| /freebsd-13.1/contrib/apr/threadproc/unix/ |
| H A D | threadpriv.c | 57 if ((stat = pthread_setspecific(key->key, priv)) == 0) { in apr_threadkey_private_set()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_linux.cpp | 271 CHECK_EQ(0, pthread_setspecific(tsd_key, in HwasanTSDThreadInit() 278 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1))); in HwasanTSDDtor()
|
| /freebsd-13.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 139 if (pthread_setspecific(*key, val) != 0) in CRYPTO_THREAD_set_local()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | ThreadLocal.inc | 46 int errorcode = pthread_setspecific(*key, d);
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libuutil/ |
| H A D | uu_misc.c | 97 (void) pthread_setspecific(uu_error_key, in uu_set_error()
|
| /freebsd-13.1/crypto/heimdal/include/ |
| H A D | heim_threads.h | 107 #define HEIMDAL_setspecific(k,s,r) do { r = pthread_setspecific(k,s); } while(0)
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_spec.c | 56 __weak_reference(_thr_setspecific, pthread_setspecific);
|