Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DThreadLocal.inc30 static_assert(sizeof(pthread_key_t) <= sizeof(data), "size too big");
31 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
38 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
45 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
52 pthread_key_t* key = reinterpret_cast<pthread_key_t*>(&data);
/third_party/vk-gl-cts/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()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dpthread_key_test.cpp24 pthread_key_t pthreadKey;
37 std::vector<pthread_key_t> pthreadKeys;
40 pthread_key_t pthreadKey;
61 pthread_key_t pthreadKey;
73 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in __anondf8a79830102()
92 std::vector<pthread_key_t> pthreadKeys;
94 pthread_key_t pthreadKey;
/third_party/glslang/glslang/OSDependent/Unix/
Dossource.cpp108 inline OS_TLSIndex PthreadKeyToTLSIndex(pthread_key_t key) in PthreadKeyToTLSIndex()
113 inline pthread_key_t TLSIndexToPthreadKey(OS_TLSIndex nIndex) in TLSIndexToPthreadKey()
115 return (pthread_key_t)((uintptr_t)nIndex - 1); in TLSIndexToPthreadKey()
120 pthread_key_t pPoolIndex; in OS_AllocTLSIndex()
/third_party/libunwind/include/win/
Dpthread.h18 typedef long pthread_key_t; typedef
23 int pthread_key_create(pthread_key_t *, void (*)(void*));
28 int pthread_setspecific(pthread_key_t, const void *);
/third_party/musl/src/thread/
Dpthread_key_create.c10 static pthread_key_t next_key;
23 int __pthread_key_create(pthread_key_t *k, void (*dtor)(void *)) in __pthread_key_create()
35 pthread_key_t j = next_key; in __pthread_key_create()
48 int __pthread_key_delete(pthread_key_t k) in __pthread_key_delete()
Dpthread_getspecific.c4 static void *__pthread_getspecific(pthread_key_t k) in __pthread_getspecific()
/third_party/musl/libc-test/src/api/
Dpthread.c11 T(pthread_key_t) in f()
98 {void*(*p)(pthread_key_t) = pthread_getspecific;} in f()
100 {int(*p)(pthread_key_t*,void(*)(void*)) = pthread_key_create;} in f()
101 {int(*p)(pthread_key_t) = pthread_key_delete;} in f()
141 {int(*p)(pthread_key_t,const void*) = pthread_setspecific;} in f()
/third_party/musl/porting/liteos_m/user/include/
Dpthread.h141 int pthread_key_create(pthread_key_t *, void (*)(void *));
142 int pthread_key_delete(pthread_key_t);
143 void *pthread_getspecific(pthread_key_t);
144 int pthread_setspecific(pthread_key_t, const void *);
/third_party/musl/include/
Dpthread.h144 int pthread_key_create(pthread_key_t *, void (*)(void *));
145 int pthread_key_delete(pthread_key_t);
146 void *pthread_getspecific(pthread_key_t);
147 int pthread_setspecific(pthread_key_t, const void *);
/third_party/libunwind/src/win/
Dpal-single-threaded.c43 int pthread_key_create(pthread_key_t *key, void (*destroy)(void*)) in pthread_key_create()
49 int pthread_setspecific(pthread_key_t key, const void *value) in pthread_setspecific()
/third_party/musl/ndk_musl_include/
Dpthread.h294 int pthread_key_create(pthread_key_t *, void (*)(void *));
295 int pthread_key_delete(pthread_key_t);
296 void *pthread_getspecific(pthread_key_t);
297 int pthread_setspecific(pthread_key_t, const void *);
/third_party/musl/porting/uniproton/kernel/include/
Dpthread.h148 int pthread_key_create(pthread_key_t *, void (*)(void *));
149 int pthread_key_delete(pthread_key_t);
150 void *pthread_getspecific(pthread_key_t);
151 int pthread_setspecific(pthread_key_t, const void *);
/third_party/musl/porting/liteos_m/kernel/include/
Dpthread.h148 int pthread_key_create(pthread_key_t *, void (*)(void *));
149 int pthread_key_delete(pthread_key_t);
150 void *pthread_getspecific(pthread_key_t);
151 int pthread_setspecific(pthread_key_t, const void *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dpthread.h148 int pthread_key_create(pthread_key_t *, void (*)(void *));
149 int pthread_key_delete(pthread_key_t);
150 void *pthread_getspecific(pthread_key_t);
151 int pthread_setspecific(pthread_key_t, const void *);
/third_party/libunwind/src/mingw/
Dpal-single-threaded.c50 int pthread_key_create(pthread_key_t *key, void (*destroy)(void*)) in pthread_key_create()
56 int pthread_setspecific(pthread_key_t key, const void *value) in pthread_setspecific()
/third_party/musl/porting/linux/user/src/include/
Dpthread.h19 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *));
20 hidden int __pthread_key_delete(pthread_key_t);
/third_party/musl/src/include/
Dpthread.h19 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *));
20 hidden int __pthread_key_delete(pthread_key_t);
/third_party/musl/porting/linux/user/include/
Dpthread.h306 int pthread_key_create(pthread_key_t *, void (*)(void *));
307 int pthread_key_delete(pthread_key_t);
308 void *pthread_getspecific(pthread_key_t);
309 int pthread_setspecific(pthread_key_t, const void *);
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTLS.h78 static pthread_key_t FieldName##__key; \
81 pthread_key_t ClassName::FieldName##__key; \
/third_party/musl/porting/liteos_a/kernel/include/
Dpthread.h192 int pthread_key_create(pthread_key_t *, void (*)(void *));
193 int pthread_key_delete(pthread_key_t);
194 void *pthread_getspecific(pthread_key_t);
195 int pthread_setspecific(pthread_key_t, const void *);
/third_party/node/deps/v8/src/base/platform/
Dplatform-posix.cc1091 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()
1096 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()
1105 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()
1107 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()
1109 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey()
1111 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey()
1178 pthread_key_t key; in CreateThreadLocalKey()
1192 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey()
1200 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal()
1206 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
D3-6-buildonly.c13 static pthread_key_t dummy;
/third_party/glfw/src/
Dposix_tls.h41 pthread_key_t context;

12345678