Searched refs:pthread_key_t (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
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()
|
/bionic/benchmarks/ |
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()
|
/bionic/tests/headers/posix/ |
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()
|
D | sys_types_h.c | 54 TYPE(pthread_key_t); in sys_types_h()
|
/bionic/libc/include/ |
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);
|
D | threads.h | 49 typedef pthread_key_t tss_t;
|
/bionic/libc/malloc_debug/ |
D | RecordData.h | 160 pthread_key_t key() { return key_; } in key() 166 pthread_key_t key_;
|
D | debug_disable.cpp | 35 pthread_key_t g_disable_key;
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 70 typedef int pthread_key_t; typedef
|
/bionic/libc/dns/resolv/ |
D | res_state.c | 96 static pthread_key_t _res_key;
|
/bionic/tests/ |
D | pthread_test.cpp | 49 pthread_key_t key; in TEST() 70 std::vector<pthread_key_t> keys; in TEST() 79 pthread_key_t key; in TEST() 88 pthread_key_t key = keys.back(); in TEST() 95 std::vector<pthread_key_t> keys; in TEST() 101 pthread_key_t key; in TEST() 123 pthread_key_t key; in TEST() 136 pthread_key_t key; in TEST() 157 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn() 161 pthread_key_t key; in TEST() [all …]
|