Home
last modified time | relevance | path

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

1234

/third_party/musl/libc-test/src/functional/
Dpthread_tsd.c19 if (pthread_setspecific(k1, p) || pthread_setspecific(k2, p+1)) in start()
35 TESTR(r, pthread_setspecific(k1, bar), "failed to set tsd"); in main()
36 TESTR(r, pthread_setspecific(k2, bar+1), "failed to set tsd"); in main()
44 TESTR(r, pthread_setspecific(k1, 0), "failed to clear tsd"); in main()
45 TESTR(r, pthread_setspecific(k2, 0), "failed to clear tsd"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_setspecific.c26 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA()
36 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncB()
38 ret = pthread_setspecific(g_key, &value); in threadfuncB()
Dpthread_key_create.c28 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA()
38 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncB()
Dpthread_getspecific.c26 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA()
/third_party/selinux/libselinux/src/
Dselinux_internal.h15 #pragma weak pthread_setspecific macro
41 if (pthread_setspecific != NULL) \
42 pthread_setspecific(KEY, VALUE); \
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D5-1.c116 ret = pthread_setspecific(tld[0], arg); in threaded()
121 ret = pthread_setspecific(tld[1], arg); in threaded()
126 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()
/third_party/skia/third_party/externals/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()
/third_party/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()
/third_party/musl/libc-test/src/regression/
Dpthread_exit-dtor.c24 if (pthread_setspecific(k, arg)) in start()
75 TEST(r, pthread_setspecific(k, &data)); in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Dstress.c232 ret = pthread_setspecific(_c, arg); in lockthr()
280 ret = pthread_setspecific(_c, arg); in timedlockthr()
336 ret = pthread_setspecific(_c, arg); in trylockthr()
/third_party/libunwind/src/aarch64/
DGtrace.c35 #pragma weak pthread_setspecific macro
66 pthread_setspecific(trace_cache_key, cache); in trace_cache_free()
195 pthread_setspecific(trace_cache_key, cache); in trace_cache_get()
/third_party/libunwind/src/arm/
DGtrace.c36 #pragma weak pthread_setspecific macro
67 pthread_setspecific(trace_cache_key, cache); in trace_cache_free()
197 pthread_setspecific(trace_cache_key, cache); in trace_cache_get()
/third_party/musl/src/thread/
Dpthread_setspecific.c3 int pthread_setspecific(pthread_key_t k, const void *x) in pthread_setspecific() function
/third_party/libunwind/include/win/
Dpthread.h28 int pthread_setspecific(pthread_key_t, const void *);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/
D1-2.c45 if (pthread_setspecific(keys[i], (void *)(long)(KEY_VALUE + i)) in main()
D2-1.c47 if (pthread_setspecific(key, (void *)(KEY_VALUE)) != 0) { in a_thread_func()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/third_party/glfw/src/
Dposix_tls.c61 pthread_setspecific(_glfw.posix_tls.context, context); in _glfwPlatformSetCurrentContext()
/third_party/libunwind/src/x86_64/
DGtrace.c34 #pragma weak pthread_setspecific macro
65 pthread_setspecific(trace_cache_key, cache); in trace_cache_free()
194 pthread_setspecific(trace_cache_key, cache); in trace_cache_get()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dossource_posix.cpp51 if (pthread_setspecific(nIndex, lpvValue) == 0) in OS_SetTLSValue()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
D3-1.c45 if (pthread_setspecific(key, (void *)(KEY_VALUE)) != 0) { in a_thread_func()
D1-1.c44 if (pthread_setspecific in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/
D1-1.c41 if (pthread_setspecific in main()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DThread.hpp182 pthread_setspecific(key, storage); in allocateLocalStorage()
209 pthread_setspecific(key, nullptr); in freeLocalStorage()

1234