/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deThreadLocalUnix.c | 34 DE_STATIC_ASSERT(sizeof(pthread_key_t) <= sizeof(deThreadLocal)); 36 /* \note 0 is valid pthread_key_t, but not valid for 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/ |
H A D | pthread_key_test.cpp | 24 pthread_key_t pthreadKey; in HWTEST_F() 37 std::vector<pthread_key_t> pthreadKeys; in HWTEST_F() 40 pthread_key_t pthreadKey; in HWTEST_F() 61 pthread_key_t pthreadKey; in HWTEST_F() 73 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in HWTEST_F() 92 std::vector<pthread_key_t> pthreadKeys; in HWTEST_F() 94 pthread_key_t pthreadKey; in HWTEST_F()
|
/third_party/python/Python/ |
H A D | thread_pthread_stubs.h | 136 pthread_key_create(pthread_key_t *key, void (*destr_function)(void *)) in pthread_key_create() 144 for (pthread_key_t idx = 0; idx < PTHREAD_KEYS_MAX; idx++) { in pthread_key_create() 155 pthread_key_delete(pthread_key_t key) in pthread_key_delete() 167 pthread_getspecific(pthread_key_t key) { in pthread_getspecific() 175 pthread_setspecific(pthread_key_t key, const void *value) in pthread_setspecific()
|
/third_party/python/Include/cpython/ |
H A D | pthread_stubs.h | 37 typedef unsigned pthread_key_t; typedef 82 PyAPI_FUNC(int) pthread_key_create(pthread_key_t *key, 84 PyAPI_FUNC(int) pthread_key_delete(pthread_key_t key); 85 PyAPI_FUNC(void *) pthread_getspecific(pthread_key_t key); 86 PyAPI_FUNC(int) pthread_setspecific(pthread_key_t key, const void *value);
|
H A D | pythread.h | 15 /* Darwin needs pthread.h to know type name the pthread_key_t. */ 17 # define NATIVE_TSS_KEY_T pthread_key_t 25 # define NATIVE_TSS_KEY_T pthread_key_t
|
/third_party/musl/src/thread/ |
H A D | pthread_key_create.c | 13 static pthread_key_t next_key; 33 int __pthread_key_create(pthread_key_t *k, void (*dtor)(void *)) in __pthread_key_create() 45 pthread_key_t j = next_key; in __pthread_key_create() 58 int __pthread_key_delete(pthread_key_t k) in __pthread_key_delete()
|
H A D | pthread_setspecific.c | 4 int pthread_setspecific(pthread_key_t k, const void *x) in pthread_setspecific()
|
H A D | pthread_getspecific.c | 5 static void *__pthread_getspecific(pthread_key_t k) in __pthread_getspecific()
|
/third_party/musl/libc-test/src/api/ |
H A 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/uniproton/kernel/include/ |
H A 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/ |
H A 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/ |
H A 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/user/include/ |
H A 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/porting/linux/user/src/include/ |
H A D | pthread.h | 33 hidden int __pthread_key_create(pthread_key_t *, void (*)(void *)); 34 hidden int __pthread_key_delete(pthread_key_t);
|
/third_party/musl/src/include/ |
H A 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/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 1097 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey() 1099 // We need to cast pthread_key_t to Thread::LocalStorageKey in two steps in PthreadKeyToLocalKey() 1100 // because pthread_key_t is a pointer type on Cygwin. This will probably not in PthreadKeyToLocalKey() 1102 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey() 1111 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey() 1113 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey() 1115 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey() 1117 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey() 1184 pthread_key_t key; in CreateThreadLocalKey() 1198 pthread_key_t pthread_ke in DeleteThreadLocalKey() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceTLS.h | 63 // static pthread_key_t F__key; 78 static pthread_key_t FieldName##__key; \ 81 pthread_key_t ClassName::FieldName##__key; \
|
/third_party/musl/porting/linux/user/include/ |
H A D | pthread.h | 321 int pthread_key_create(pthread_key_t *, void (*)(void *)); 322 int pthread_key_delete(pthread_key_t); 323 void *pthread_getspecific(pthread_key_t); 324 int pthread_setspecific(pthread_key_t, const void *);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A 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/musl/include/ |
H A D | pthread.h | 295 int pthread_key_create(pthread_key_t *, void (*)(void *)); 296 int pthread_key_delete(pthread_key_t); 297 void *pthread_getspecific(pthread_key_t); 298 int pthread_setspecific(pthread_key_t, const void *);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
H A D | 3-6-buildonly.c | 8 Test pthread_key_t 13 static pthread_key_t dummy;
|
/third_party/glfw/src/ |
H A D | posix_thread.h | 39 pthread_key_t key;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
H A D | 2-1.c | 28 pthread_key_t key; in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_key_delete.c | 27 pthread_key_t key; in pthread_key_delete_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/ |
H A D | 3-1.c | 15 * 1. Create pthread_key_t object and do no specify a key accociated with this key 28 pthread_key_t key; in main()
|