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