Home
last modified time | relevance | path

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

12345

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D5-1.c129 ret = pthread_setspecific(tld[0], arg); in threaded()
134 ret = pthread_setspecific(tld[1], arg); in threaded()
139 ret = pthread_setspecific(tld[2], arg); in threaded()
D3-2.c127 ret = pthread_setspecific(tld[0], (void *)&tab[3]); in threaded()
134 ret = pthread_setspecific(tld[1], (void *)&tab[3]); in threaded()
140 ret = pthread_setspecific(tld[2], (void *)&tab[3]); in threaded()
/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()
Duse_tls_pthread_specific_static.cc23 res = pthread_setspecific(key, p); in main()
Dcleanup_in_tsd_destructor.c29 int res = pthread_setspecific(key, (void*)1); in thread_func()
Duse_tls_pthread_specific_dynamic.cc29 res = pthread_setspecific(key, p); in main()
/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/selinux/libselinux/src/
Dselinux_internal.h117 #pragma weak pthread_setspecific macro
142 if (pthread_setspecific != NULL) \
143 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/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/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/valgrind/
Dglibc-2.34567-NPTL-helgrind.supp176 helgrind-qt4---pthread_setspecific-QThreadPrivate::start(void*)
178 fun:pthread_setspecific
242 helgrind---pthread_setspecific
244 fun:pthread_setspecific
/external/compiler-rt/lib/safestack/
Dsafestack.cc150 pthread_setspecific(thread_cleanup_key, (void *)1); in thread_start()
163 pthread_setspecific(thread_cleanup_key, (void *)(iter + 1)); in thread_cleanup_handler()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc41 EXPECT_EQ(pthread_setspecific(k->key, k), 0); in thread_secific_dtor()
49 EXPECT_EQ(pthread_setspecific(k->key, k), 0); in dtors_thread()
/external/skia/src/ports/
DSkTLS_pthread.cpp24 (void)pthread_setspecific(gSkTLSKey, ptr); in PlatformSetSpecific()
/external/libvpx/libvpx/vp8/common/
Dthreading.h45 #define pthread_setspecific(ts_key, value) TlsSetValue(ts_key, (void *)value) macro
65 #define pthread_setspecific(ts_key, value) (*(ts_key) = (ULONG)(value))
/external/compiler-rt/lib/msan/
Dmsan_linux.cc197 pthread_setspecific(tsd_key, (void *)t); in SetCurrentThread()
204 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in MsanTSDDtor()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_tss_ptr.hpp56 ::pthread_setspecific(tss_key_, value); in operator =()
/external/libunwind/src/x86_64/
DGtrace.c33 #pragma weak pthread_setspecific macro
64 pthread_setspecific(trace_cache_key, cache); in trace_cache_free()
193 pthread_setspecific(trace_cache_key, cache); in trace_cache_get()
/external/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()
/external/libchrome/base/threading/
Dthread_local_storage_posix.cc28 int ret = pthread_setspecific(key, value); in SetTLSValue()
Dthread_local_posix.cc36 int error = pthread_setspecific(slot, value); in SetValueInSlot()
/external/swiftshader/src/OpenGL/compiler/
Dossource_posix.cpp51 if (pthread_setspecific(nIndex, lpvValue) == 0) in OS_SetTLSValue()
/external/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()

12345