Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/LLVM/lib/Support/
DThreadLocal.cpp44 pthread_key_t* key = new pthread_key_t; in ThreadLocalImpl()
52 pthread_key_t* key = static_cast<pthread_key_t*>(data); in ~ThreadLocalImpl()
60 pthread_key_t* key = static_cast<pthread_key_t*>(data); in setInstance()
67 pthread_key_t* key = static_cast<pthread_key_t*>(data); in getInstance()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DThreadLocal.inc31 static_assert(sizeof(pthread_key_t) <= sizeof(data), "size too big");
32 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
39 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
46 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
53 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
/external/swiftshader/third_party/llvm-subzero/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/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/deqp-deps/glslang/glslang/OSDependent/Unix/
Dossource.cpp105 inline OS_TLSIndex PthreadKeyToTLSIndex(pthread_key_t key) in PthreadKeyToTLSIndex()
110 inline pthread_key_t TLSIndexToPthreadKey(OS_TLSIndex nIndex) in TLSIndexToPthreadKey()
112 return (pthread_key_t)((uintptr_t)nIndex - 1); in TLSIndexToPthreadKey()
117 pthread_key_t pPoolIndex; in OS_AllocTLSIndex()
/external/v8/src/base/platform/
Dplatform-posix.cc787 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()
792 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()
801 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()
803 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()
805 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey()
807 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey()
875 pthread_key_t key; in CreateThreadLocalKey()
889 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey()
897 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal()
903 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()
/external/oj-libjdwp/src/solaris/transport/socket/
Dsocket_md.c311 pthread_key_t key; in dbgsysTlsAlloc()
321 pthread_key_delete((pthread_key_t)index); in dbgsysTlsFree()
326 pthread_setspecific((pthread_key_t)index, value) ; in dbgsysTlsPut()
331 return pthread_getspecific((pthread_key_t)index); in dbgsysTlsGet()
/external/swiftshader/third_party/subzero/src/
DIceTLS.h78 static pthread_key_t FieldName##__key; \
81 pthread_key_t ClassName::FieldName##__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/gemmlowp/profiling/
Dinstrumentation.h161 pthread_key_t key; // used only to get a callback at thread exit.
180 static pthread_key_t key; in ThreadLocalThreadInfo()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
D3-6-buildonly.c13 pthread_key_t dummy;
/external/skia/src/ports/
DSkTLS_pthread.cpp13 static pthread_key_t gSkTLSKey;
/external/skqp/src/ports/
DSkTLS_pthread.cpp13 static pthread_key_t gSkTLSKey;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/
D1-1.c35 pthread_key_t keys[NUM_OF_KEYS]; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/
D3-1.c28 pthread_key_t key; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
D2-1.c28 pthread_key_t key; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c89 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/swiftshader/src/Reactor/
DThread.hpp28 #define TLS_OUT_OF_INDEXES (pthread_key_t)(~0)
65 typedef pthread_key_t LocalStorageKey;
/external/v8/src/third_party/vtune/
Djitprofiling.cc127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;

12345