/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | stdio.c | 44 __sread(void *cookie, char *buf, int n) in __sread() argument 46 FILE *fp = cookie; in __sread() 59 __swrite(void *cookie, const char *buf, int n) in __swrite() argument 61 FILE *fp = cookie; in __swrite() 70 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument 72 FILE *fp = cookie; in __sseek() 86 __sclose(void *cookie) in __sclose() argument 88 return (close(((FILE *)cookie)->_file)); in __sclose()
|
D | funopen.c | 39 funopen(const void *cookie, int (*readfn)(void *, char *, int), in funopen() argument 62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */ in funopen()
|
D | vdprintf.c | 44 __dwrite(void *cookie, const char *buf, int n) in __dwrite() argument 46 int *fdp = cookie; in __dwrite()
|
D | vsscanf.c | 40 eofread(void *cookie, char *buf, int len) in eofread() argument
|
D | sscanf.c | 41 eofread(void *cookie, char *buf, int len) in eofread() argument
|
D | vswscanf.c | 46 eofread(void *cookie, char *buf, int len) in eofread() argument
|
/bionic/libc/include/sys/ |
D | system_properties.h | 97 void (*propfn)(const prop_info *pi, void *cookie), 98 void *cookie);
|
D | _system_properties.h | 140 void (*propfn)(const prop_info *pi, void *cookie), 141 void *cookie);
|
/bionic/libc/bionic/ |
D | system_properties.cpp | 533 find_nth_cookie *cookie = reinterpret_cast<find_nth_cookie*>(ptr); in find_nth_fn() local 535 if (cookie->n == cookie->count) in find_nth_fn() 536 cookie->pi = pi; in find_nth_fn() 538 cookie->count++; in find_nth_fn() 542 void (*propfn)(const prop_info *pi, void *cookie), void *cookie) in foreach_property() argument 549 const int err = foreach_property(trie->left, propfn, cookie); in foreach_property() 557 propfn(info, cookie); in foreach_property() 560 const int err = foreach_property(trie->children, propfn, cookie); in foreach_property() 565 const int err = foreach_property(trie->right, propfn, cookie); in foreach_property() 719 find_nth_cookie cookie(n); in __system_property_find_nth() local [all …]
|
D | system_properties_compat.c | 120 void (*propfn)(const prop_info *pi, void *cookie), in __system_property_foreach_compat() argument 121 void *cookie) in __system_property_foreach_compat() 129 propfn((const prop_info *)pi, cookie); in __system_property_foreach_compat()
|
/bionic/libc/kernel/uapi/linux/ |
D | binder.h | 56 binder_uintptr_t cookie; member 101 binder_uintptr_t cookie; member 122 binder_uintptr_t cookie; member 127 binder_uintptr_t cookie; member 139 binder_uintptr_t cookie; member
|
D | rds.h | 156 rds_rdma_cookie_t cookie; member 161 rds_rdma_cookie_t cookie; member 171 rds_rdma_cookie_t cookie; member
|
D | inotify.h | 27 __u32 cookie; member
|
D | if_arcnet.h | 69 __u8 cookie[sizeof(int)]; member
|
/bionic/libc/include/ |
D | stdio.h | 352 #define fropen(cookie, fn) funopen(cookie, fn, 0, 0, 0) argument 353 #define fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0) argument
|
/bionic/tests/ |
D | system_properties_test.cpp | 72 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback() argument 73 size_t *count = static_cast<size_t *>(cookie); in foreach_test_callback() 79 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback() argument 80 bool (*ok)[8][8] = static_cast<bool (*)[8][8]>(cookie); in hierarchical_test_callback()
|