/bionic/libc/stdio/ |
D | fmemopen.cpp | 48 static int fmemopen_read(void* cookie, char* buf, int n) { in fmemopen_read() argument 49 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); in fmemopen_read() 60 static int fmemopen_write(void* cookie, const char* buf, int n) { in fmemopen_write() argument 61 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); in fmemopen_write() 92 static fpos_t fmemopen_seek(void* cookie, fpos_t offset, int whence) { in fmemopen_seek() argument 93 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); in fmemopen_seek() 106 static int fmemopen_close(void* cookie) { in fmemopen_close() argument 107 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); in fmemopen_close()
|
D | stdio.cpp | 526 int __sread(void* cookie, char* buf, int n) { in __sread() argument 527 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sread() 531 int __swrite(void* cookie, const char* buf, int n) { in __swrite() argument 532 FILE* fp = reinterpret_cast<FILE*>(cookie); in __swrite() 536 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { in __sseek() argument 537 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek() 541 off64_t __sseek64(void* cookie, off64_t offset, int whence) { in __sseek64() argument 542 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek64() 546 int __sclose(void* cookie) { in __sclose() argument 547 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sclose() [all …]
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 80 void (*callback)(void* cookie, const char* name, in __system_property_read_callback() argument 82 void* cookie) { in __system_property_read_callback() 83 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback() 130 int __system_property_foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in __system_property_foreach() argument 131 return system_properties.Foreach(propfn, cookie); in __system_property_foreach()
|
D | setjmp_cookie.cpp | 59 extern "C" __LIBC_HIDDEN__ long __bionic_setjmp_cookie_check(long cookie) { in __bionic_setjmp_cookie_check() argument 60 if (__libc_globals->setjmp_cookie != (cookie & ~1)) { in __bionic_setjmp_cookie_check() 64 return cookie & 1; in __bionic_setjmp_cookie_check()
|
D | sysprop_helpers.cpp | 51 [](void* cookie, const char* /* name */, const char* value, uint32_t /* serial */) { in get_property_value() argument 52 auto* cb_cookie = reinterpret_cast<PropCbCookie*>(cookie); in get_property_value()
|
/bionic/libc/system_properties/include/system_properties/ |
D | contexts_pre_split.h | 54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override { in ForEach() argument 55 pre_split_prop_area_->foreach (propfn, cookie); in ForEach()
|
D | system_properties.h | 62 void (*callback)(void* cookie, const char* name, const char* value, 64 void* cookie); 72 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
|
D | prop_area.h | 128 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 161 void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
|
D | contexts.h | 43 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
|
D | contexts_split.h | 47 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
D | contexts_serialized.h | 48 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 49 binder_uintptr_t cookie; member 58 binder_uintptr_t cookie; member 96 binder_uintptr_t cookie; member 152 binder_uintptr_t cookie; member 177 binder_uintptr_t cookie; member 181 binder_uintptr_t cookie; member 190 binder_uintptr_t cookie; member
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 337 void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach_property() argument 342 const int err = foreach_property(to_prop_trie_node(&trie->left), propfn, cookie); in foreach_property() 349 propfn(info, cookie); in foreach_property() 353 const int err = foreach_property(to_prop_trie_node(&trie->children), propfn, cookie); in foreach_property() 358 const int err = foreach_property(to_prop_trie_node(&trie->right), propfn, cookie); in foreach_property() 374 bool prop_area::foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach() argument 375 return foreach_property(root_node(), propfn, cookie); in foreach()
|
D | system_properties.cpp | 239 void (*callback)(void* cookie, const char* name, in ReadCallback() argument 241 void* cookie) { in ReadCallback() 247 callback(cookie, pi->name, pi->long_value(), serial); in ReadCallback() 249 callback(cookie, pi->name, pi->value, serial); in ReadCallback() 256 callback(cookie, pi->name, value_buf, serial); in ReadCallback() 471 int SystemProperties::Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in Foreach() argument 476 contexts_->ForEach(propfn, cookie); in Foreach()
|
D | contexts_serialized.cpp | 151 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument 154 context_nodes_[i].pa()->foreach (propfn, cookie); in ForEach()
|
D | contexts_split.cpp | 339 void ContextsSplit::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument 340 ListForEach(contexts_, [propfn, cookie](ContextListNode* l) { in ForEach() 342 l->pa()->foreach (propfn, cookie); in ForEach()
|
/bionic/tests/libs/ |
D | bionic_tests_zipalign.cpp | 43 void* cookie; in GetEntries() local 44 int32_t return_value = StartIteration(handle, &cookie); in GetEntries() 52 while ((return_value = Next(cookie, &entry, &name)) == 0) { in GetEntries() 63 EndIteration(cookie); in GetEntries()
|
/bionic/libc/kernel/uapi/linux/ |
D | nbd.h | 43 __be64 cookie; member 53 __be64 cookie; member
|
D | rds.h | 214 rds_rdma_cookie_t cookie; member 218 rds_rdma_cookie_t cookie; member 226 rds_rdma_cookie_t cookie; member
|
D | inotify.h | 14 __u32 cookie; member
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vdprintf.c | 44 __dwrite(void *cookie, const char *buf, int n) in __dwrite() argument 46 int *fdp = cookie; in __dwrite()
|
D | vsscanf.c | 39 eofread(void *cookie, char *buf, int len) in eofread() argument
|
/bionic/tests/ |
D | system_properties_test2.cpp | 92 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { in TEST() argument 93 const std::string* expected_name = static_cast<const std::string*>(cookie); in TEST() 103 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { in TEST() argument 104 const std::string* expected_name = static_cast<const std::string*>(cookie); in TEST()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 207 [](const prop_info* pi, void* cookie) { in BM_property_find_real() argument 209 [](void* cookie, const char* name, const char*, unsigned) { in BM_property_find_real() argument 211 reinterpret_cast<std::vector<std::string>*>(cookie); in BM_property_find_real() 214 cookie); in BM_property_find_real()
|
/bionic/libc/kernel/uapi/rdma/ |
D | mlx5_user_ioctl_verbs.h | 41 __aligned_u64 cookie; member
|