Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
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/src/gnu/usr.bin/gcc/gcc/
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()
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/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
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()
Dsanitizer_allocator_testlib.cpp63 pthread_setspecific(pkey, (void*)((uptr)v + 1)); in thread_dtor()
95 pthread_setspecific(pkey, (void*)1); in thread_init()
/openbsd/src/gnu/llvm/compiler-rt/lib/asan/
Dasan_posix.cpp131 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
138 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/openbsd/src/gnu/gcc/gcc/
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()
Dgthr-tpf.h85 __gthrw(pthread_setspecific) in __gthrw()
142 return __gthrw_(pthread_setspecific) (key, ptr); in __gthread_setspecific()
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()
Dgthr-lynx.h42 #undef pthread_setspecific
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()
Dgthr-posix.c63 pthread_setspecific (pthread_key_t key ATTRIBUTE_UNUSED, in pthread_setspecific() function
/openbsd/src/gnu/llvm/compiler-rt/lib/dfsan/
Ddfsan_thread.cpp118 pthread_setspecific(tsd_key, t); in SetCurrentThread()
125 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in DFsanTSDDtor()
/openbsd/src/lib/libc/thread/
Drthread_tls.c146 pthread_setspecific(pthread_key_t key, const void *data) in pthread_setspecific() function
160 DEF_STRONG(pthread_setspecific);
/openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/
Dtsd_exclusive.h109 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
142 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
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/src/gnu/llvm/compiler-rt/lib/lsan/
Dlsan_common_mac.cpp65 pthread_setspecific(key, data); in restore_tid_data()
81 pthread_setspecific(key, ptr); in get_tls_val()
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/src/gnu/llvm/compiler-rt/lib/safestack/
Dsafestack.cpp138 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start()
162 pthread_setspecific(thread_cleanup_key, NULL); in thread_cleanup_handler()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/openbsd/src/lib/libc/hidden/
Dpthread.h47 PROTO_NORMAL(pthread_setspecific);
/openbsd/src/gnu/llvm/compiler-rt/lib/msan/
Dmsan_linux.cpp242 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread()
249 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
/openbsd/src/lib/libpthread/man/
DMakefile.inc60 pthread_setspecific.3 \
/openbsd/src/gnu/gcc/libgomp/
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()
/openbsd/src/regress/lib/libpthread/pthread_specific/
Dpthread_specific.c53 CHECKr(pthread_setspecific(key, pthread_self())); in run_thread()

12