/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | ThreadLocal.inc | 29 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/ |
D | ThreadLocal.inc | 30 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/ |
D | deThreadLocalUnix.c | 34 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/ |
D | pthread_key_test.cpp | 24 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/ |
D | ossource.cpp | 108 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/ |
D | pthread.h | 18 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/ |
D | pthread_key_create.c | 10 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()
|
D | pthread_getspecific.c | 4 static void *__pthread_getspecific(pthread_key_t k) in __pthread_getspecific()
|
/third_party/musl/libc-test/src/api/ |
D | pthread.c | 11 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/ |
D | pthread.h | 141 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/ |
D | pthread.h | 144 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/ |
D | pal-single-threaded.c | 43 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/ |
D | pthread.h | 294 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/ |
D | pthread.h | 148 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/ |
D | pthread.h | 148 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/ |
D | pthread.h | 148 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/ |
D | pal-single-threaded.c | 50 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/ |
D | pthread.h | 19 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *)); 20 hidden int __pthread_key_delete(pthread_key_t);
|
/third_party/musl/src/include/ |
D | pthread.h | 19 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/ |
D | pthread.h | 306 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/ |
D | IceTLS.h | 78 static pthread_key_t FieldName##__key; \ 81 pthread_key_t ClassName::FieldName##__key; \
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | pthread.h | 192 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/ |
D | platform-posix.cc | 1091 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/ |
D | 3-6-buildonly.c | 13 static pthread_key_t dummy;
|
/third_party/glfw/src/ |
D | posix_tls.h | 41 pthread_key_t context;
|