Home
last modified time | relevance | path

Searched refs:pthread_setspecific (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_tsd_exclusive.cpp41 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread()
60 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
H A Dscudo_tsd_shared.cpp57 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>(TSD)), 0); in setCurrentTSD()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_posix.cc103 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 Dgthr-posix.h84 __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 Dgthr-dce.h71 __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 Dgthr-tpf.h85 __gthrw(pthread_setspecific) in __gthrw()
142 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
H A Dgthr-posix95.h72 __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 Dgthr-lynx.h42 #undef pthread_setspecific
H A Dgthr-posix.c63 pthread_setspecific (pthread_key_t key ATTRIBUTE_UNUSED, in pthread_setspecific() function
/freebsd-12.1/lib/libc/locale/
H A Dxlocale.c123 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 Dtsd_generic.h40 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 Dtsd_tls.h53 if (pthread_setspecific(tsd_tsd, (void *)(&tsd_tls)) != 0) { in tsd_set()
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cc51 pthread_setspecific(key, data); in restore_tid_data()
67 pthread_setspecific(key, ptr); in get_tls_val()
H A Dlsan_interceptors.cc42 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 Djitprofiling.c186 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 Dsafestack.cc146 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 Dtss.c65 if (pthread_setspecific(key, val) != 0) in tss_set()
/freebsd-12.1/contrib/ntp/lib/isc/pthreads/include/isc/
H A Dthread.h55 #define isc_thread_key_setspecific pthread_setspecific
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_linux.cc244 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 Dexception.cc39 #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 Dteam.c82 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 Dmtctxres.c85 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx()
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cc255 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 Dthreadpriv.c57 if ((stat = pthread_setspecific(key->key, priv)) == 0) { in apr_threadkey_private_set()
/freebsd-12.1/crypto/openssl/crypto/
H A Dthreads_pthread.c139 if (pthread_setspecific(*key, val) != 0) in CRYPTO_THREAD_set_local()

12