Searched refs:pthread_key_t (Results 26 - 50 of 93) sorted by relevance

1234

/external/chromium_org/v8/src/base/platform/
H A Dplatform-posix.cc554 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) {
556 // We need to cast pthread_key_t to Thread::LocalStorageKey in two steps
557 // because pthread_key_t is a pointer type on Cygwin. This will probably not
559 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t));
568 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) {
570 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t));
572 return reinterpret_cast<pthread_key_t>(ptr_key);
574 return static_cast<pthread_key_t>(local_key);
643 pthread_key_t key;
657 pthread_key_t pthread_ke
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dport.h125 typedef DWORD pthread_key_t; typedef
139 EXTERN_C pthread_key_t PthreadKeyCreate(void (*destr_fn)(void*)); /* port.cc */
141 inline int perftools_pthread_key_create(pthread_key_t *pkey,
143 pthread_key_t key = PthreadKeyCreate(destructor);
159 inline int perftools_pthread_setspecific(pthread_key_t key, const void *value) {
H A Dport.cc127 pthread_key_t key_for_destr_fn_arg;
181 extern "C" pthread_key_t PthreadKeyCreate(void (*destr_fn)(void*)) {
185 pthread_key_t key = TlsAlloc();
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dport.h122 typedef DWORD pthread_key_t; typedef
136 EXTERN_C pthread_key_t PthreadKeyCreate(void (*destr_fn)(void*)); /* port.cc */
138 inline int perftools_pthread_key_create(pthread_key_t *pkey,
140 pthread_key_t key = PthreadKeyCreate(destructor);
156 inline int perftools_pthread_setspecific(pthread_key_t key, const void *value) {
H A Dport.cc126 pthread_key_t key_for_destr_fn_arg;
179 extern "C" pthread_key_t PthreadKeyCreate(void (*destr_fn)(void*)) {
183 pthread_key_t key = TlsAlloc();
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_posix.cc19 pthread_key_t key;
23 thread_key(pthread_key_t key, pthread_mutex_t *mtx, int val, int *cnt)
55 pthread_key_t key;
/external/chromium_org/base/threading/
H A Dthread_local.h72 typedef pthread_key_t SlotType;
H A Dthread_local_storage.h31 typedef pthread_key_t TLSKey;
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_setspecific.c42 pthread_setspecific (pthread_key_t key, const void *value)
51 * an instance of pthread_key_t
H A Dptw32_callUserDestroyRoutines.c113 pthread_key_t k;
H A Dimplement.h474 * between a pthread_t and all pthread_key_t on which
481 * The pthread_key_t->threads attribute is the head of
484 * relationship between a pthread_key_t and all the
486 * this pthread_key_t.
503 pthread_key_t key;
580 extern pthread_key_t ptw32_selfThreadKey;
581 extern pthread_key_t ptw32_cleanupKey;
661 int ptw32_tkAssocCreate (ptw32_thread_t * thread, pthread_key_t key);
H A Dpthread.h588 typedef struct pthread_key_t_ * pthread_key_t; typedef in typeref:struct:pthread_key_t_
981 PTW32_DLLPORT int PTW32_CDECL pthread_key_create (pthread_key_t * key,
984 PTW32_DLLPORT int PTW32_CDECL pthread_key_delete (pthread_key_t key);
986 PTW32_DLLPORT int PTW32_CDECL pthread_setspecific (pthread_key_t key,
989 PTW32_DLLPORT void * PTW32_CDECL pthread_getspecific (pthread_key_t key);
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_thread.cpp13 static pthread_key_t s_thread_key;
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_nspr_pthread.h45 extern pthread_key_t current_thread_key;
46 extern pthread_key_t current_cpu_key;
47 extern pthread_key_t last_thread_key;
48 extern pthread_key_t intsoff_key;
/external/compiler-rt/lib/asan/
H A Dasan_posix.cc58 static pthread_key_t tsd_key;
/external/libunwind/tests/
H A DLtest-nocalloc.c118 pthread_key_t key;
/external/compiler-rt/lib/asan/tests/
H A Dasan_mac_test.cc191 pthread_setspecific(*(pthread_key_t*)test_key, mem);
198 pthread_key_t test_key;
/external/jemalloc/include/jemalloc/internal/
H A Dtsd.h81 extern pthread_key_t a_name##_tsd; \
89 extern pthread_key_t a_name##_tsd; \
106 a_attr pthread_key_t a_name##_tsd; \
114 a_attr pthread_key_t a_name##_tsd; \
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/
H A Du_thread.h94 pthread_key_t key;
/external/compiler-rt/lib/msan/
H A Dmsan_linux.cc107 static pthread_key_t tsd_key;
/external/mesa3d/src/mapi/mapi/
H A Du_thread.h94 pthread_key_t key;
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadSpecific.h101 pthread_key_t m_key;
109 typedef pthread_key_t ThreadSpecificKey;
/external/chromium_org/v8/src/third_party/vtune/
H A Djitprofiling.cc127 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Djitprofiling.c89 static pthread_key_t threadLocalStorageHandle = (pthread_key_t)0;
/external/chromium_org/third_party/libxml/src/
H A Dthreads.c56 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;

Completed in 1978 milliseconds

1234