Home
last modified time | relevance | path

Searched refs:pthread_key_t (Results 1 – 25 of 55) 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.cc560 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()
565 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()
574 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()
576 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()
578 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey()
580 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey()
649 pthread_key_t key; in CreateThreadLocalKey()
663 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey()
671 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal()
677 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal()
/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.cc18 pthread_key_t key;
Ddisabler_in_tsd_destructor.cc13 pthread_key_t key;
/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/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/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/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cc11 static pthread_key_t tsd_key;
/external/v8/src/third_party/vtune/
Djitprofiling.cc127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c90 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/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_posix_test.cc25 static pthread_key_t key;
Dsanitizer_allocator_testlib.cc50 static pthread_key_t pkey;
/external/compiler-rt/lib/asan/
Dasan_posix.cc84 static pthread_key_t tsd_key;
/external/boringssl/src/crypto/
Dthread_pthread.c107 static pthread_key_t g_thread_local_key;
/external/mesa3d/src/mapi/mapi/
Du_thread.h94 pthread_key_t key;
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h1135 static pthread_key_t CreateKey() { in CreateKey()
1136 pthread_key_t key; in CreateKey()
1158 const pthread_key_t key_;
/external/mesa3d/src/egl/main/
Deglcurrent.c50 static pthread_key_t _egl_TSD;

123