Home
last modified time | relevance | path

Searched refs:pthread_key_t (Results 1 – 11 of 11) 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()
Dlocale.cpp161 static pthread_key_t g_uselocale_key;
/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.cpp36 pthread_key_t g_disable_key;
/bionic/libc/include/
Dpthread.h93 typedef int pthread_key_t; typedef
181 void* pthread_getspecific(pthread_key_t);
187 int pthread_key_create(pthread_key_t*, void (*)(void*)) __nonnull((1));
188 int pthread_key_delete(pthread_key_t);
252 int pthread_setspecific(pthread_key_t, const void*);
/bionic/libc/private/
DThreadLocalBuffer.h58 pthread_key_t key_;
Dthread_private.h26 pthread_key_t _private_key;
/bionic/libc/upstream-netbsd/lib/libc/resolv/
Dmtctxres.c15 static pthread_key_t key;
/bionic/libc/include/sys/
Dtypes.h110 typedef .... pthread_key_t;
/bionic/libc/dns/resolv/
Dres_state.c106 static pthread_key_t _res_key;
/bionic/tests/
Dpthread_test.cpp43 pthread_key_t key; in TEST()
64 std::vector<pthread_key_t> keys; in TEST()
73 pthread_key_t key; in TEST()
82 pthread_key_t key = keys.back(); in TEST()
89 std::vector<pthread_key_t> keys; in TEST()
95 pthread_key_t key; in TEST()
117 pthread_key_t key; in TEST()
130 pthread_key_t key; in TEST()
151 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn()
155 pthread_key_t key; in TEST()
[all …]