/aosp12/bionic/libc/bionic/ |
H A D | pthread_key.cpp | 63 static_assert(sizeof(pthread_key_t) == sizeof(int) && static_cast<pthread_key_t>(-1) < 0, 66 static inline bool KeyInValidRange(pthread_key_t key) { in KeyInValidRange() 124 int pthread_key_create(pthread_key_t* key, void (*key_destructor)(void*)) { in pthread_key_create() 143 int pthread_key_delete(pthread_key_t key) { in pthread_key_delete() 159 void* pthread_getspecific(pthread_key_t key) { in pthread_getspecific() 178 int pthread_setspecific(pthread_key_t key, const void* ptr) { in pthread_setspecific()
|
/aosp12/bionic/benchmarks/ |
H A D | pthread_benchmark.cpp | 33 pthread_key_t key; in BM_pthread_getspecific() 45 pthread_key_t key; in BM_pthread_setspecific() 216 pthread_key_t key; in BM_pthread_key_create() 229 pthread_key_t key; in BM_pthread_key_delete()
|
/aosp12/bionic/tests/headers/posix/ |
H A D | pthread_h.c | 80 TYPE(pthread_key_t); in pthread_h() 139 FUNCTION(pthread_getspecific, void* (*f)(pthread_key_t)); in pthread_h() 141 FUNCTION(pthread_key_create, int (*f)(pthread_key_t*, void (*)(void*))); in pthread_h() 142 FUNCTION(pthread_key_delete, int (*f)(pthread_key_t)); in pthread_h() 202 FUNCTION(pthread_setspecific, int (*f)(pthread_key_t, const void*)); in pthread_h()
|
H A D | sys_types_h.c | 54 TYPE(pthread_key_t); in sys_types_h()
|
/aosp12/bionic/libc/include/ |
H A D | pthread.h | 170 void* pthread_getspecific(pthread_key_t __key); 176 int pthread_key_create(pthread_key_t* __key_ptr, void (*__key_destructor)(void*)); 177 int pthread_key_delete(pthread_key_t __key); 289 int pthread_setspecific(pthread_key_t __key, const void* __value);
|
H A D | threads.h | 49 typedef pthread_key_t tss_t;
|
/aosp12/bionic/libc/malloc_debug/ |
H A D | RecordData.h | 160 pthread_key_t key() { return key_; } in key() 166 pthread_key_t key_;
|
H A D | debug_disable.cpp | 35 pthread_key_t g_disable_key;
|
/aosp12/bionic/libc/include/bits/ |
H A D | pthread_types.h | 70 typedef int pthread_key_t; typedef
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | MemoryThreadCacheTest.cpp | 170 std::vector<pthread_key_t> keys(kMaxKeysToCreate); in TEST_F() 197 for (pthread_key_t& key : keys) { in TEST_F()
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | egl_tls.h | 29 static pthread_key_t sKey;
|
H A D | egldefs.h | 81 extern pthread_key_t gGLWrapperKey;
|
H A D | egl_tls.cpp | 28 pthread_key_t egl_tls_t::sKey = TLS_KEY_NOT_INITIALIZED;
|
H A D | egl.cpp | 36 pthread_key_t gGLWrapperKey = -1;
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | MemoryCache.h | 90 std::optional<pthread_key_t> thread_cache_;
|
/aosp12/bionic/libc/dns/resolv/ |
H A D | res_state.c | 96 static pthread_key_t _res_key;
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsd_cpu.h | 118 static pthread_key_t getThreadTLSKey();
|
H A D | rsCpuCore.cpp | 35 static pthread_key_t gThreadTLSKey = 0; 81 pthread_key_t RsdCpuReference::getThreadTLSKey(){ return gThreadTLSKey; } in getThreadTLSKey()
|
/aosp12/art/sigchainlib/ |
H A D | sigchain.cc | 152 static pthread_key_t GetHandlingSignalKey() { in GetHandlingSignalKey() 153 static pthread_key_t key; in GetHandlingSignalKey()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | MediaProviderWrapper.h | 250 static pthread_key_t gJniEnvKey;
|
/aosp12/bionic/tests/ |
H A D | pthread_test.cpp | 51 pthread_key_t key; in TEST() 72 std::vector<pthread_key_t> keys; in TEST() 81 pthread_key_t key; in TEST() 90 pthread_key_t key = keys.back(); in TEST() 97 std::vector<pthread_key_t> keys; in TEST() 103 pthread_key_t key; in TEST() 125 pthread_key_t key; in TEST() 138 pthread_key_t key; in TEST() 159 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn() 163 pthread_key_t key; in TEST() [all …]
|
/aosp12/system/memory/libmemunreachable/tests/ |
H A D | MemUnreachable_test.cpp | 158 pthread_key_t key; in TEST_F()
|
/aosp12/system/libhwbinder/ |
H A D | IPCThreadState.cpp | 281 static pthread_key_t gTLS = 0; 288 const pthread_key_t k = gTLS; in self() 318 const pthread_key_t k = gTLS; in selfOrNull()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 284 static pthread_key_t gTLS = 0; 292 const pthread_key_t k = gTLS; in self() 322 const pthread_key_t k = gTLS; in selfOrNull()
|
/aosp12/system/core/libutils/ |
H A D | Looper.cpp | 60 static pthread_key_t gTLSKey = 0;
|