Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp65 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 Dmemprof_posix.cpp43 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 Dgthr-posix.h53 #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 Dgthr-dce.h69 #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 Dsanitizer_posix_test.cpp31 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 Dsanitizer_allocator_testlib.cpp63 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 Dasan_posix.cpp131 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/openbsd/gnu/gcc/gcc/
H A Dgthr-posix.h84 __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 Dgthr-tpf.h85 __gthrw(pthread_setspecific) in __gthrw()
142 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-lynx.h42 #undef pthread_setspecific
H A Dgthr-posix95.h72 __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 Ddfsan_thread.cpp118 pthread_setspecific(tsd_key, t); in SetCurrentThread()
125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
/openbsd/lib/libc/thread/
H A Drthread_tls.c146 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 Dtsd_exclusive.h109 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 Dtsan_posix.cpp41 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 Dlsan_common_mac.cpp65 pthread_setspecific(key, data); in restore_tid_data()
81 pthread_setspecific(key, ptr); in get_tls_val()
H A Dlsan_interceptors.cpp44 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 Dsafestack.cpp138 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 Djitprofiling.c185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/openbsd/lib/libc/hidden/
H A Dpthread.h47 PROTO_NORMAL(pthread_setspecific);
/openbsd/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_linux.cpp242 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 DMakefile.inc60 pthread_setspecific.3 \
/openbsd/regress/lib/libpthread/pthread_specific/
H A Dpthread_specific.c53 CHECKr(pthread_setspecific(key, pthread_self())); in run_thread()
/openbsd/gnu/gcc/libgomp/
H A Dteam.c82 pthread_setspecific (gomp_tls_key, thr); in gomp_thread_start()
332 pthread_setspecific (gomp_tls_key, &initial_thread_tls_data); in initialize_team()

123