/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_mac.cpp | 65 int res = pthread_setspecific(thread_state_key, thr); in ThreadStateDestructor() 74 res = pthread_setspecific(thread_state_key, main_thread_state); in InitializeThreadStateStorage() 99 int res = pthread_setspecific(thread_state_key, thr); in cur_thread() 106 int res = pthread_setspecific(thread_state_key, thr); in set_cur_thread() 123 int res = pthread_setspecific(thread_state_key, dead_thread_state); in cur_thread_finalize()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | gthr-posix.h | 53 #pragma weak pthread_setspecific macro 272 return pthread_setspecific (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 469 return pthread_setspecific (key, 0); in __gthread_key_dtor() 489 return pthread_setspecific (key, ptr); in __gthread_setspecific()
|
H A D | gthr-dce.h | 69 #pragma weak pthread_setspecific macro 259 return pthread_setspecific (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 454 return pthread_setspecific (key, (void *) ptr); in __gthread_setspecific()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_posix_test.cpp | 31 ASSERT_EQ(0, pthread_setspecific(key, reinterpret_cast<void *>(iter - 1))); in destructor() 39 return reinterpret_cast<void*>(pthread_setspecific(key, arg)); in thread_func()
|
H A D | sanitizer_allocator_testlib.cpp | 63 pthread_setspecific(pkey, (void*)((uptr)v + 1)); in thread_dtor() 95 pthread_setspecific(pkey, (void*)1); in thread_init()
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_posix.cpp | 131 pthread_setspecific(tsd_key, tsd); in AsanTSDSet() 138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
|
/openbsd/gnu/gcc/gcc/ |
H A D | gthr-posix.h | 84 __gthrw3(pthread_setspecific) 94 __gthrw(pthread_setspecific) 394 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 601 return __gthrw_(pthread_setspecific) (key, 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-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-lynx.h | 42 #undef pthread_setspecific
|
H A D | gthr-posix95.h | 72 __gthrw(pthread_setspecific) 357 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value); in __gthread_objc_thread_set_data() 564 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
|
/openbsd/gnu/llvm/compiler-rt/lib/dfsan/ |
H A D | dfsan_thread.cpp | 118 pthread_setspecific(tsd_key, t); in SetCurrentThread() 125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
|
/openbsd/lib/libc/thread/ |
H A D | rthread_tls.c | 146 pthread_setspecific(pthread_key_t key, const void *data) in pthread_setspecific() function 160 DEF_STRONG(pthread_setspecific);
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_posix.cpp | 41 EXPECT_EQ(pthread_setspecific(k->key, k), 0); in thread_secific_dtor() 49 EXPECT_EQ(pthread_setspecific(k->key, k), 0); in dtors_thread()
|
/openbsd/gnu/llvm/compiler-rt/lib/lsan/ |
H A D | lsan_common_mac.cpp | 65 pthread_setspecific(key, data); in restore_tid_data() 81 pthread_setspecific(key, ptr); in get_tls_val()
|
H A D | lsan_interceptors.cpp | 44 int pthread_setspecific(unsigned key, const void *v); 335 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize() 431 if (pthread_setspecific(g_thread_finalize_key, in __lsan_thread_start_func()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/lib/libc/hidden/ |
H A D | pthread.h | 47 PROTO_NORMAL(pthread_setspecific);
|
/openbsd/gnu/llvm/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()
|
/openbsd/lib/libpthread/man/ |
H A D | Makefile.inc | 60 pthread_setspecific.3 \
|
/openbsd/regress/lib/libpthread/pthread_specific/ |
H A D | pthread_specific.c | 53 CHECKr(pthread_setspecific(key, pthread_self())); in run_thread()
|
/openbsd/gnu/gcc/libgomp/ |
H A D | team.c | 82 pthread_setspecific (gomp_tls_key, thr); in gomp_thread_start() 332 pthread_setspecific (gomp_tls_key, &initial_thread_tls_data); in initialize_team()
|