Home
last modified time | relevance | path

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

1234

/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/libselinux/src/
Dselinux_internal.h100 #pragma weak pthread_setspecific macro
128 if (pthread_setspecific != NULL) \
129 pthread_setspecific(KEY, VALUE); \
/external/libcxxabi/src/
Dcxa_exception_storage.cpp62 if ( 0 != ::pthread_setspecific ( key_, NULL ) ) in destruct_()
83 if ( 0 != pthread_setspecific ( key_, retVal ) ) in __cxa_get_globals()
/external/selinux/libselinux/src/
Dselinux_internal.h115 #pragma weak pthread_setspecific macro
140 if (pthread_setspecific != NULL) \
141 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.cc54 pthread_setspecific(pkey, (void*)((uptr)v + 1)); in thread_dtor()
67 pthread_setspecific(pkey, (void*)1); in thread_init()
/external/compiler-rt/lib/asan/
Dasan_posix.cc103 pthread_setspecific(tsd_key, tsd); in AsanTSDSet()
110 CHECK_EQ(0, pthread_setspecific(tsd_key, tsd)); in PlatformTSDDtor()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc34 int pthread_setspecific(unsigned key, const void *v);
189 if (pthread_setspecific(g_thread_finalize_key, (void*)(iter - 1))) { in thread_finalize()
210 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/skia/src/ports/
DSkTLS_pthread.cpp29 (void)pthread_setspecific(gSkTLSKey, ptr); in PlatformSetSpecific()
/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/libvpx/libvpx/vp8/common/
Dthreading.h38 #define pthread_setspecific(ts_key, value) TlsSetValue(ts_key, (void *)value) macro
61 #define pthread_setspecific(ts_key, value) (*(ts_key)=(ULONG)(value))
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_tss_ptr.hpp56 ::pthread_setspecific(tss_key_, value); in operator =()
/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/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/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/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cc14 pthread_setspecific(tsd_key, malloc(10)); in Thread()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c187 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
439 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/external/v8/src/third_party/vtune/
Djitprofiling.cc221 pthread_setspecific(threadLocalStorageHandle,(void*)threadStack); in iJIT_NotifyEvent()
455 pthread_setspecific(threadLocalStorageHandle, threadStack); in FinalizeThread()
/external/deqp/framework/delibs/dethread/unix/
DdeThreadLocalUnix.c73 ret = pthread_setspecific(threadLocalToKey(threadLocal), value); in deThreadLocal_set()

1234