Searched refs:cookie (Results 1 - 16 of 16) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dstdio.c44 __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 Dfunopen.c39 funopen(const void *cookie, int (*readfn)(void *, char *, int), argument
62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */
H A Dvdprintf.c44 __dwrite(void *cookie, const char *buf, int n) argument
46 int *fdp = cookie;
H A Dvsscanf.c40 eofread(void *cookie, char *buf, int len) argument
H A Dsscanf.c41 eofread(void *cookie, char *buf, int len) argument
H A Dvswscanf.c46 eofread(void *cookie, char *buf, int len) argument
/bionic/libc/include/sys/
H A Dsystem_properties.h97 void (*propfn)(const prop_info *pi, void *cookie),
98 void *cookie);
H A D_system_properties.h139 void (*propfn)(const prop_info *pi, void *cookie),
140 void *cookie);
/bionic/libc/bionic/
H A Dsystem_properties_compat.c120 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 Dsystem_properties.cpp533 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 Dbinder.h56 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 Dif_arcnet.h69 __u8 cookie[sizeof(int)]; member in struct:arc_cap
H A Drds.h156 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 Dinotify.h27 __u32 cookie; member in struct:inotify_event
/bionic/libc/include/
H A Dstdio.h115 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 Dsystem_properties_test.cpp72 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);

Completed in 2843 milliseconds