/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 | 528 int __sread(void* cookie, char* buf, int n) { in __sread() argument 529 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sread() 533 int __swrite(void* cookie, const char* buf, int n) { in __swrite() argument 534 FILE* fp = reinterpret_cast<FILE*>(cookie); in __swrite() 538 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { in __sseek() argument 539 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek() 543 off64_t __sseek64(void* cookie, off64_t offset, int whence) { in __sseek64() argument 544 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek64() 548 int __sclose(void* cookie) { in __sclose() argument 549 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sclose() [all …]
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 79 void (*callback)(void* cookie, const char* name, in __system_property_read_callback() argument 81 void* cookie) { in __system_property_read_callback() 82 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback() 129 int __system_property_foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in __system_property_foreach() argument 130 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()
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 61 binder_uintptr_t cookie; member 70 binder_uintptr_t cookie; member 108 binder_uintptr_t cookie; member 141 binder_uintptr_t cookie; member 166 binder_uintptr_t cookie; member 170 binder_uintptr_t cookie; member 179 binder_uintptr_t cookie; member
|
/bionic/libc/system_properties/include/system_properties/ |
D | system_properties.h | 63 void (*callback)(void* cookie, const char* name, const char* value, 65 void* cookie); 73 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
|
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 | prop_area.h | 128 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 161 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie), 162 void* cookie);
|
D | contexts.h | 42 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
|
D | contexts_serialized.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
D | contexts_split.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 198 void (*callback)(void* cookie, const char* name, in ReadCallback() argument 200 void* cookie) { in ReadCallback() 206 callback(cookie, pi->name, pi->long_value(), serial); in ReadCallback() 208 callback(cookie, pi->name, pi->value, serial); in ReadCallback() 215 callback(cookie, pi->name, value_buf, serial); in ReadCallback() 367 int SystemProperties::Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in Foreach() argument 372 contexts_->ForEach(propfn, cookie); in Foreach()
|
D | prop_area.cpp | 334 void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach_property() argument 339 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie); in foreach_property() 346 propfn(info, cookie); in foreach_property() 350 const int err = foreach_property(to_prop_bt(&trie->children), propfn, cookie); in foreach_property() 355 const int err = foreach_property(to_prop_bt(&trie->right), propfn, cookie); in foreach_property() 371 bool prop_area::foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach() argument 372 return foreach_property(root_node(), propfn, cookie); in foreach()
|
D | contexts_serialized.cpp | 147 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument 150 context_nodes_[i].pa()->foreach (propfn, cookie); in ForEach()
|
D | contexts_split.cpp | 345 void ContextsSplit::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach() argument 346 ListForEach(contexts_, [propfn, cookie](ContextListNode* l) { in ForEach() 348 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/tests/ |
D | system_properties_test2.cpp | 96 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { in TEST() argument 97 const std::string* expected_name = static_cast<const std::string*>(cookie); in TEST() 107 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { in TEST() argument 108 const std::string* expected_name = static_cast<const std::string*>(cookie); in TEST()
|
D | system_properties_test.cpp | 58 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback() argument 59 size_t *count = static_cast<size_t *>(cookie); in foreach_test_callback() 65 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback() argument 66 bool (*ok)[8][8] = static_cast<bool (*)[8][8]>(cookie); in hierarchical_test_callback() 486 [](void* cookie, const char*, const char* value, uint32_t) { in TEST() argument 487 auto* out_value = reinterpret_cast<std::string*>(cookie); in TEST()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 203 [](const prop_info* pi, void* cookie) { in BM_property_find_real() argument 205 [](void* cookie, const char* name, const char*, unsigned) { in BM_property_find_real() argument 207 reinterpret_cast<std::vector<std::string>*>(cookie); in BM_property_find_real() 210 cookie); in BM_property_find_real()
|
/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/libc/include/ |
D | stdio.h | 298 #define fropen(cookie, fn) funopen(cookie, fn, 0, 0, 0) argument 299 #define fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0) argument
|
/bionic/libc/kernel/uapi/linux/ |
D | rds.h | 225 rds_rdma_cookie_t cookie; member 229 rds_rdma_cookie_t cookie; member 237 rds_rdma_cookie_t cookie; member
|
D | inotify.h | 26 __u32 cookie; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | mlx5_user_ioctl_verbs.h | 51 __aligned_u64 cookie; member
|