Home
last modified time | relevance | path

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

12345678

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D5-1.c121 ret = pthread_setspecific(tld[0], arg); in threaded()
126 ret = pthread_setspecific(tld[1], arg); in threaded()
131 ret = pthread_setspecific(tld[2], arg); in threaded()
D3-2.c119 ret = pthread_setspecific(tld[0], (void *)&tab[3]); in threaded()
126 ret = pthread_setspecific(tld[1], (void *)&tab[3]); in threaded()
132 ret = pthread_setspecific(tld[2], (void *)&tab[3]); in threaded()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthread_identity.cc82 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
95 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
104 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dthread_identity.cc85 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
98 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
107 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/abseil-cpp/absl/base/internal/
Dthread_identity.cc82 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
95 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
104 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dthread_identity.cc82 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
95 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
104 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dthread_identity.cc85 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
98 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
107 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthread_identity.cc82 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
95 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
104 pthread_setspecific(thread_identity_pthread_key, in SetCurrentThreadIdentity()
/external/llvm-project/compiler-rt/test/lsan/TestCases/Linux/
Ddisabler_in_tsd_destructor.c20 pthread_setspecific(key, 0); in key_destructor()
25 int res = pthread_setspecific(key, (void*)1); in thread_func()
/external/compiler-rt/test/lsan/TestCases/
Ddisabler_in_tsd_destructor.c20 pthread_setspecific(key, 0); in key_destructor()
25 int res = pthread_setspecific(key, (void*)1); in thread_func()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_posix.cpp43 pthread_setspecific(tsd_key, tsd); in TSDSet()
50 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_tsd_exclusive.cpp40 if (LIKELY(pthread_setspecific(PThreadKey, in teardownThread()
59 CHECK_EQ(pthread_setspecific(PThreadKey, reinterpret_cast<void *>( in initThread()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setspecific/
D1-2.c41 if (pthread_setspecific(key, (void *)(KEY_VALUE_2)) != 0) { in a_thread_func()
68 if (pthread_setspecific(key, (void *)(KEY_VALUE_1)) != 0) { in main()
/external/webrtc/api/task_queue/
Dtask_queue_base.cc68 pthread_setspecific(GetQueuePtrTls(), task_queue); in CurrentTaskQueueSetter()
72 pthread_setspecific(GetQueuePtrTls(), previous_); in ~CurrentTaskQueueSetter()
/external/selinux/libselinux/src/
Dselinux_internal.h119 #pragma weak pthread_setspecific macro
144 if (pthread_setspecific != NULL) \
145 pthread_setspecific(KEY, VALUE); \
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_posix_test.cc32 ASSERT_EQ(0, pthread_setspecific(key, reinterpret_cast<void *>(iter - 1))); in destructor()
40 return reinterpret_cast<void*>(pthread_setspecific(key, arg)); in thread_func()
Dsanitizer_allocator_testlib.cc56 pthread_setspecific(pkey, (void*)((uptr)v + 1)); in thread_dtor()
69 pthread_setspecific(pkey, (void*)1); in thread_init()
/external/llvm-project/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()
/external/compiler-rt/lib/asan/
Dasan_posix.cc112 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
119 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHostThreadMacOSX.mm40 ::pthread_setspecific(g_thread_create_key, NULL);
66 ::pthread_setspecific(g_thread_create_key, new MacOSXDarwinThread());
/external/llvm-project/compiler-rt/lib/asan/
Dasan_posix.cpp130 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
137 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc36 int pthread_setspecific(unsigned key, const void *v);
194 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize()
215 if (pthread_setspecific(g_thread_finalize_key, in __lsan_thread_start_func()
/external/jemalloc_new/include/jemalloc/internal/
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()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dtsd_exclusive.h98 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
131 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()
/external/scudo/standalone/
Dtsd_exclusive.h105 pthread_setspecific(PThreadKey, reinterpret_cast<void *>(Instance)), 0); in initThread()
138 if (LIKELY(pthread_setspecific(Instance->getTSDRegistry()->PThreadKey, in teardownThread()

12345678