Home
last modified time | relevance | path

Searched refs:pthread_key_t (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dpthread_key.cpp62 static_assert(sizeof(pthread_key_t) == sizeof(int) && static_cast<pthread_key_t>(-1) < 0,
65 static inline bool KeyInValidRange(pthread_key_t key) { in KeyInValidRange()
118 int pthread_key_create(pthread_key_t* key, void (*key_destructor)(void*)) { in pthread_key_create()
136 int pthread_key_delete(pthread_key_t key) { in pthread_key_delete()
151 void* pthread_getspecific(pthread_key_t key) { in pthread_getspecific()
169 int pthread_setspecific(pthread_key_t key, const void* ptr) { in pthread_setspecific()
/bionic/benchmarks/
Dpthread_benchmark.cpp32 pthread_key_t key; in BM_pthread_getspecific()
44 pthread_key_t key; in BM_pthread_setspecific()
173 pthread_key_t key; in BM_pthread_key_create()
186 pthread_key_t key; in BM_pthread_key_delete()
/bionic/libc/malloc_debug/
Ddebug_disable.cpp35 pthread_key_t g_disable_key;
DRecordData.h161 pthread_key_t key() { return key_; } in key()
167 pthread_key_t key_;
/bionic/libc/include/bits/
Dpthread_types.h71 typedef int pthread_key_t; typedef
/bionic/libc/include/
Dpthread.h139 void* pthread_getspecific(pthread_key_t);
145 int pthread_key_create(pthread_key_t* _Nonnull, void (*)(void*));
146 int pthread_key_delete(pthread_key_t);
237 int pthread_setspecific(pthread_key_t, const void*);
/bionic/libc/private/
Dthread_private.h26 pthread_key_t _private_key;
/bionic/libc/upstream-netbsd/lib/libc/resolv/
Dmtctxres.c15 static pthread_key_t key;
/bionic/libc/dns/resolv/
Dres_state.c96 static pthread_key_t _res_key;
/bionic/tests/
Dpthread_test.cpp45 pthread_key_t key; in TEST()
66 std::vector<pthread_key_t> keys; in TEST()
75 pthread_key_t key; in TEST()
84 pthread_key_t key = keys.back(); in TEST()
91 std::vector<pthread_key_t> keys; in TEST()
97 pthread_key_t key; in TEST()
119 pthread_key_t key; in TEST()
132 pthread_key_t key; in TEST()
153 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn()
157 pthread_key_t key; in TEST()
[all …]