/third_party/musl/libc-test/src/functional/ |
D | pthread_tsd.c | 19 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/ |
D | pthread_setspecific.c | 26 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()
|
D | pthread_key_create.c | 28 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA() 38 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncB()
|
D | pthread_getspecific.c | 26 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA()
|
/third_party/selinux/libselinux/src/ |
D | selinux_internal.h | 15 #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/ |
D | 5-1.c | 116 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()
|
D | 3-2.c | 119 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/ |
D | thread_identity.cc | 85 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/ |
D | 1-2.c | 41 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/ |
D | pthread_exit-dtor.c | 24 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/ |
D | stress.c | 232 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/ |
D | Gtrace.c | 35 #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/ |
D | Gtrace.c | 36 #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/ |
D | pthread_setspecific.c | 3 int pthread_setspecific(pthread_key_t k, const void *x) in pthread_setspecific() function
|
/third_party/libunwind/include/win/ |
D | pthread.h | 28 int pthread_setspecific(pthread_key_t, const void *);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/ |
D | 1-2.c | 45 if (pthread_setspecific(keys[i], (void *)(long)(KEY_VALUE + i)) in main()
|
D | 2-1.c | 47 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/ |
D | jitprofiling.c | 185 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent() 437 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
|
/third_party/glfw/src/ |
D | posix_tls.c | 61 pthread_setspecific(_glfw.posix_tls.context, context); in _glfwPlatformSetCurrentContext()
|
/third_party/libunwind/src/x86_64/ |
D | Gtrace.c | 34 #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/ |
D | ossource_posix.cpp | 51 if (pthread_setspecific(nIndex, lpvValue) == 0) in OS_SetTLSValue()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
D | 3-1.c | 45 if (pthread_setspecific(key, (void *)(KEY_VALUE)) != 0) { in a_thread_func()
|
D | 1-1.c | 44 if (pthread_setspecific in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/ |
D | 1-1.c | 41 if (pthread_setspecific in main()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Thread.hpp | 182 pthread_setspecific(key, storage); in allocateLocalStorage() 209 pthread_setspecific(key, nullptr); in freeLocalStorage()
|