Searched defs:cookie (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
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 Dvsscanf.c40 eofread(void *cookie, char *buf, int len) argument
H A Dsscanf.c41 eofread(void *cookie, char *buf, int len) argument
H A Dvdprintf.c44 __dwrite(void *cookie, const char *buf, int n) argument
46 int *fdp = cookie;
H A Dvswscanf.c46 eofread(void *cookie, char *buf, int len) argument
/bionic/libc/stdio/
H A Dstdio.c45 __sread(void *cookie, char *buf, int n) argument
47 FILE *fp = cookie;
60 __swrite(void *cookie, const char *buf, int n) argument
62 FILE *fp = cookie;
71 __sseek(void *cookie, fpos_t offset, int whence) argument
73 FILE *fp = cookie;
87 __sclose(void *cookie) argument
89 return close(((FILE *)cookie)->_file);
/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.cpp538 find_nth_cookie *cookie = reinterpret_cast<find_nth_cookie*>(ptr); local
540 if (cookie->n == cookie->count)
541 cookie->pi = pi;
543 cookie->count++;
547 void (*propfn)(const prop_info *pi, void *cookie), void *cookie)
554 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie);
563 propfn(info, cookie);
567 const int err = foreach_property(to_prop_bt(&trie->children), propfn, cookie);
546 foreach_property(prop_bt *const trie, void (*propfn)(const prop_info *pi, void *cookie), void *cookie) argument
784 __system_property_foreach(void (*propfn)(const prop_info *pi, void *cookie), void *cookie) argument
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dinotify.h27 __u32 cookie; member in struct:inotify_event
H A Dif_arcnet.h69 __u8 cookie[sizeof(int)]; member in struct:arc_cap
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 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
/bionic/tests/
H A Dsystem_properties_test.cpp74 static void foreach_test_callback(const prop_info *pi, void* cookie) { argument
75 size_t *count = static_cast<size_t *>(cookie);
81 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { argument
82 bool (*ok)[8][8] = static_cast<bool (*)[8][8]>(cookie);

Completed in 137 milliseconds