Searched refs:pthread_key_t (Results 1 – 25 of 55) sorted by relevance
123
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);
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()
560 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()
19 pthread_key_t dummy_keys[kDummyKeysCount]; in main()24 pthread_key_t key; in main()
17 pthread_key_t key; in main()
18 pthread_key_t key;
13 pthread_key_t key;
38 typedef __darwin_pthread_key_t pthread_key_t; typedef39 int pthread_setspecific(pthread_key_t, const void *);
19 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()
191 pthread_setspecific(*(pthread_key_t*)test_key, mem); in TSDAllocWorker()198 pthread_key_t test_key; in TEST()
56 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;
12 static pthread_key_t gSkTLSKey;
115 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; \
11 static pthread_key_t tsd_key;
127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
90 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
57 pthread_key_t key_;
118 pthread_key_t key; in main()
25 static pthread_key_t key;
50 static pthread_key_t pkey;
84 static pthread_key_t tsd_key;
107 static pthread_key_t g_thread_local_key;
94 pthread_key_t key;
1135 static pthread_key_t CreateKey() { in CreateKey()1136 pthread_key_t key; in CreateKey()1158 const pthread_key_t key_;
50 static pthread_key_t _egl_TSD;