Home
last modified time | relevance | path

Searched refs:pthread_key_t (Results 1 – 25 of 71) sorted by relevance

123

/external/llvm/lib/Support/Unix/
DThreadLocal.inc29 static_assert(sizeof(pthread_key_t) <= sizeof(data), "size too big");
30 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
37 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
44 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
51 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
/external/deqp/framework/delibs/dethread/unix/
DdeThreadLocalUnix.c34 DE_STATIC_ASSERT(sizeof(pthread_key_t) <= sizeof(deThreadLocal));
38 DE_INLINE deThreadLocal keyToThreadLocal (pthread_key_t key) in keyToThreadLocal()
43 DE_INLINE pthread_key_t threadLocalToKey (deThreadLocal threadLocal) in threadLocalToKey()
46 return (pthread_key_t)(threadLocal - 1); in threadLocalToKey()
51 pthread_key_t key = (pthread_key_t)0; in deThreadLocal_create()
/external/v8/src/base/platform/
Dplatform-posix.cc633 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()
638 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()
647 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()
649 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()
651 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey()
653 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey()
722 pthread_key_t key; in CreateThreadLocalKey()
736 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey()
744 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal()
750 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_tss_ptr.hpp28 ASIO_DECL void posix_tss_ptr_create(pthread_key_t& key);
62 pthread_key_t tss_key_;
/external/compiler-rt/test/lsan/TestCases/
Duse_tls_pthread_specific_dynamic.cc19 pthread_key_t dummy_keys[kDummyKeysCount]; in main()
24 pthread_key_t key; in main()
Duse_tls_pthread_specific_static.cc17 pthread_key_t key; in main()
Dcleanup_in_tsd_destructor.c18 pthread_key_t key;
Ddisabler_in_tsd_destructor.c13 pthread_key_t key;
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc19 pthread_key_t key;
23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt) in thread_key()
55 pthread_key_t key; in TEST()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h38 typedef __darwin_pthread_key_t pthread_key_t; typedef
39 int pthread_setspecific(pthread_key_t, const void *);
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test.cc191 pthread_setspecific(*(pthread_key_t*)test_key, mem); in TSDAllocWorker()
198 pthread_key_t test_key; in TEST()
/external/libxml2/
Dthreads.c56 extern void *pthread_getspecific (pthread_key_t __key)
58 extern int pthread_setspecific (pthread_key_t __key,
61 extern int pthread_key_create (pthread_key_t *__key,
64 extern int pthread_key_delete (pthread_key_t __key)
146 static pthread_key_t globalkey;
/external/skia/src/ports/
DSkTLS_pthread.cpp12 static pthread_key_t gSkTLSKey;
/external/jemalloc/include/jemalloc/internal/
Dtsd.h115 extern pthread_key_t a_name##tsd_tsd; \
124 extern pthread_key_t a_name##tsd_tsd; \
142 a_attr pthread_key_t a_name##tsd_tsd; \
154 a_attr pthread_key_t a_name##tsd_tsd; \
/external/ImageMagick/MagickCore/
Dthread_.h38 typedef pthread_key_t MagickThreadKey;
/external/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cc11 static pthread_key_t tsd_key;
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c90 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/v8/src/third_party/vtune/
Djitprofiling.cc127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/libcxxabi/src/
Dcxa_exception_storage.cpp57 pthread_key_t key_;
/external/libunwind/tests/
DLtest-nocalloc.c118 pthread_key_t key; in main()
/external/libchrome/base/threading/
Dthread_local_storage.h33 typedef pthread_key_t TLSKey;
Dthread_local.h73 typedef pthread_key_t SlotType;
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_posix_test.cc25 static pthread_key_t key;
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dposix_tss_ptr.ipp28 void posix_tss_ptr_create(pthread_key_t& key)
/external/compiler-rt/lib/asan/
Dasan_posix.cc88 static pthread_key_t tsd_key;

123