Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_key.cpp63 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/
Dpthread_benchmark.cpp33 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/
Dpthread_h.c80 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()
Dsys_types_h.c54 TYPE(pthread_key_t); in sys_types_h()
/bionic/libc/include/
Dpthread.h170 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);
Dthreads.h49 typedef pthread_key_t tss_t;
/bionic/libc/malloc_debug/
DRecordData.h160 pthread_key_t key() { return key_; } in key()
166 pthread_key_t key_;
Ddebug_disable.cpp35 pthread_key_t g_disable_key;
/bionic/libc/include/bits/
Dpthread_types.h70 typedef int pthread_key_t; typedef
/bionic/libc/dns/resolv/
Dres_state.c96 static pthread_key_t _res_key;
/bionic/tests/
Dpthread_test.cpp49 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 …]