Searched refs:pthread_key_t (Results 1 – 25 of 71) 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()
633 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()638 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()647 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()649 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()651 return reinterpret_cast<pthread_key_t>(ptr_key); in LocalKeyToPthreadKey()653 return static_cast<pthread_key_t>(local_key); in LocalKeyToPthreadKey()722 pthread_key_t key; in CreateThreadLocalKey()736 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey()744 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal()750 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal()
28 ASIO_DECL void posix_tss_ptr_create(pthread_key_t& key);62 pthread_key_t tss_key_;
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;
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()
38 typedef __darwin_pthread_key_t pthread_key_t; typedef39 int pthread_setspecific(pthread_key_t, const void *);
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; \
38 typedef pthread_key_t MagickThreadKey;
11 static pthread_key_t tsd_key;
90 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
57 pthread_key_t key_;
118 pthread_key_t key; in main()
33 typedef pthread_key_t TLSKey;
73 typedef pthread_key_t SlotType;
25 static pthread_key_t key;
28 void posix_tss_ptr_create(pthread_key_t& key)
88 static pthread_key_t tsd_key;