| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_tsd_exclusive.cpp | 41 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread() 60 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
|
| H A D | scudo_tsd_shared.cpp | 57 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); in setCurrentTSD()
|
| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_posix.cc | 103 pthread_setspecific(tsd_key, tsd); in AsanTSDSet() 110 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-posix.h | 84 __gthrw3(pthread_setspecific) 94 __gthrw(pthread_setspecific) 397 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 604 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
|
| H A D | gthr-dce.h | 71 __gthrw(pthread_setspecific) in __gthrw() 273 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 467 return __gthrw_(pthread_setspecific) (key, (void *) ptr); in __gthread_setspecific()
|
| H A D | gthr-tpf.h | 85 __gthrw(pthread_setspecific) in __gthrw() 142 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
|
| H A D | gthr-posix95.h | 72 __gthrw(pthread_setspecific) 363 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 570 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
|
| H A D | gthr-lynx.h | 42 #undef pthread_setspecific
|
| H A D | gthr-posix.c | 63 pthread_setspecific (pthread_key_t key ATTRIBUTE_UNUSED, in pthread_setspecific() function
|
| /freebsd-12.1/lib/libc/locale/ |
| H A D | xlocale.c | 123 pthread_setspecific(locale_info_key, (void*)42); in init_key() 125 pthread_setspecific(locale_info_key, 0); in init_key() 173 pthread_setspecific(locale_info_key, l); in set_thread_locale()
|
| /freebsd-12.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 | 53 if (pthread_setspecific(tsd_tsd, (void *)(&tsd_tls)) != 0) { in tsd_set()
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_common_mac.cc | 51 pthread_setspecific(key, data); in restore_tid_data() 67 pthread_setspecific(key, ptr); in get_tls_val()
|
| H A D | lsan_interceptors.cc | 42 int pthread_setspecific(unsigned key, const void *v); 311 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize() 356 if (pthread_setspecific(g_thread_finalize_key, in __lsan_thread_start_func()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | jitprofiling.c | 186 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent() 438 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
|
| /freebsd-12.1/contrib/compiler-rt/lib/safestack/ |
| H A D | safestack.cc | 146 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start() 170 pthread_setspecific(thread_cleanup_key, NULL); in thread_cleanup_handler()
|
| /freebsd-12.1/lib/libstdthreads/ |
| H A D | tss.c | 65 if (pthread_setspecific(key, val) != 0) in tss_set()
|
| /freebsd-12.1/contrib/ntp/lib/isc/pthreads/include/isc/ |
| H A D | thread.h | 55 #define isc_thread_key_setspecific pthread_setspecific
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_linux.cc | 244 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread() 251 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
|
| /freebsd-12.1/contrib/libcxxrt/ |
| H A D | exception.cc | 39 #pragma weak pthread_setspecific macro 380 (0 == pthread_setspecific) || in init_key() 387 pthread_setspecific(eh_key, reinterpret_cast<void *>(0x42)); in init_key() 389 pthread_setspecific(eh_key, 0); in init_key() 406 pthread_setspecific(eh_key, info); in thread_info()
|
| /freebsd-12.1/contrib/gcclibs/libgomp/ |
| H A D | team.c | 82 pthread_setspecific (gomp_tls_key, thr); in gomp_thread_start() 349 pthread_setspecific (gomp_tls_key, &initial_thread_tls_data); in initialize_team()
|
| /freebsd-12.1/lib/libc/resolv/ |
| H A D | mtctxres.c | 85 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
|
| /freebsd-12.1/contrib/compiler-rt/lib/hwasan/ |
| H A D | hwasan_linux.cc | 255 CHECK_EQ(0, pthread_setspecific(tsd_key, in HwasanTSDThreadInit() 262 CHECK_EQ(0, pthread_setspecific(tsd_key, (void *)(iterations - 1))); in HwasanTSDDtor()
|
| /freebsd-12.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-12.1/crypto/openssl/crypto/ |
| H A D | threads_pthread.c | 139 if (pthread_setspecific(*key, val) != 0) in CRYPTO_THREAD_set_local()
|