Home
last modified time | relevance | path

Searched refs:pthread_key_t (Results 1 – 12 of 12) 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()
220 pthread_key_t key; in BM_pthread_key_create()
233 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/malloc_debug/
Ddebug_disable.cpp35 pthread_key_t g_disable_key;
DRecordData.h165 pthread_key_t key() { return key_; } in key()
174 pthread_key_t key_;
/bionic/libc/include/bits/
Dpthread_types.h70 typedef int pthread_key_t; typedef
/bionic/libc/include/
Dpthread.h171 void* _Nullable pthread_getspecific(pthread_key_t __key);
192 int pthread_key_create(pthread_key_t* _Nonnull __key_ptr, void (* _Nullable __key_destructor)(void*…
200 int pthread_key_delete(pthread_key_t __key);
327 int pthread_setspecific(pthread_key_t __key, const void* _Nullable __value);
Dthreads.h49 typedef pthread_key_t tss_t;
/bionic/libc/dns/resolv/
Dres_state.c96 static pthread_key_t _res_key;
/bionic/tests/
Dpthread_test.cpp54 pthread_key_t key; in TEST()
75 std::vector<pthread_key_t> keys; in TEST()
84 pthread_key_t key; in TEST()
93 pthread_key_t key = keys.back(); in TEST()
100 std::vector<pthread_key_t> keys; in TEST()
106 pthread_key_t key; in TEST()
128 pthread_key_t key; in TEST()
141 pthread_key_t key; in TEST()
162 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn()
166 pthread_key_t key; in TEST()
[all …]
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp200 static pthread_key_t jmp_data_key_;
207 pthread_key_t LogReader::jmp_data_key_;