/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vdprintf.c | 44 __dwrite(void *cookie, const char *buf, int n) argument 46 int *fdp = cookie;
|
H A D | vsscanf.c | 39 eofread(void *cookie, char *buf, int len) argument
|
H A D | vswscanf.c | 46 eofread(void *cookie, char *buf, int len) argument
|
/bionic/tests/libs/ |
H A D | bionic_tests_zipalign.cpp | 43 void* cookie; local 44 int32_t return_value = StartIteration(handle, &cookie, nullptr, nullptr); 52 while ((return_value = Next(cookie, &entry, &name)) == 0) { 64 EndIteration(cookie);
|
/bionic/tests/ |
H A D | system_properties_test.cpp | 58 static void foreach_test_callback(const prop_info *pi, void* cookie) { argument 59 size_t *count = static_cast<size_t *>(cookie); 65 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { argument 66 bool (*ok)[8][8] = static_cast<bool (*)[8][8]>(cookie); 486 [](void* cookie, const char*, const char* value, uint32_t) { 487 auto* out_value = reinterpret_cast<std::string*>(cookie);
|
H A D | system_properties_test2.cpp | 94 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { 95 const std::string* expected_name = static_cast<const std::string*>(cookie); 105 [](void* cookie, const char* name, const char* value, unsigned /*serial*/) { 106 const std::string* expected_name = static_cast<const std::string*>(cookie);
|
/bionic/libc/arch-mips/bionic/ |
H A D | setjmp.S | 136 #define SC_FLAG_OFFSET (2*4) /* 8 bytes, cookie and savesigs flag, first actual field */ 165 .macro m_mangle_reg_and_store reg, cookie, temp, offset 166 xor \temp, \reg, \cookie 170 .macro m_unmangle_reg_and_load reg, cookie, temp, offset 172 xor \reg, \temp, \cookie 217 # get the cookie and store it along with the signal flag. 222 REG_S $v0, SC_FLAG_OFFSET($a0) # save cookie and savesigs flag 236 REG_L $t0, SC_FLAG_OFFSET($a0) # move cookie to temp reg 241 # m_mangle_reg_and_store reg, cookie, temp, offset 354 move $t0, $s2 # get cookie t [all...] |
/bionic/libc/arch-mips64/bionic/ |
H A D | setjmp.S | 136 #define SC_FLAG_OFFSET (2*4) /* 8 bytes, cookie and savesigs flag, first actual field */ 165 .macro m_mangle_reg_and_store reg, cookie, temp, offset 166 xor \temp, \reg, \cookie 170 .macro m_unmangle_reg_and_load reg, cookie, temp, offset 172 xor \reg, \temp, \cookie 217 # get the cookie and store it along with the signal flag. 222 REG_S $v0, SC_FLAG_OFFSET($a0) # save cookie and savesigs flag 236 REG_L $t0, SC_FLAG_OFFSET($a0) # move cookie to temp reg 241 # m_mangle_reg_and_store reg, cookie, temp, offset 354 move $t0, $s2 # get cookie t [all...] |
/bionic/libc/bionic/ |
H A D | setjmp_cookie.cpp | 59 // Aborts if cookie doesn't match, returns the signal flag otherwise. 60 extern "C" __LIBC_HIDDEN__ long __bionic_setjmp_cookie_check(long cookie) { argument 61 if (__libc_globals->setjmp_cookie != (cookie & ~1)) { 62 async_safe_fatal("setjmp cookie mismatch"); 65 return cookie & 1;
|
H A D | system_property_api.cpp | 81 void (*callback)(void* cookie, const char* name, 83 void* cookie) { 84 return system_properties.ReadCallback(pi, callback, cookie); 125 int __system_property_foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument 126 return system_properties.Foreach(propfn, cookie); 80 __system_property_read_callback(const prop_info* pi, void (*callback)(void* cookie, const char* name, const char* value, uint32_t serial), void* cookie) argument
|
/bionic/libc/include/ |
H A D | stdio.h | 254 #define fropen(cookie, fn) funopen(cookie, fn, 0, 0, 0) 255 #define fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0)
|
/bionic/libc/kernel/uapi/linux/android/ |
H A D | binder.h | 55 binder_uintptr_t cookie; member in struct:flat_binder_object 64 binder_uintptr_t cookie; member in struct:binder_fd_object 102 binder_uintptr_t cookie; member in struct:binder_node_debug_info 125 binder_uintptr_t cookie; member in struct:binder_transaction_data 146 binder_uintptr_t cookie; member in struct:binder_ptr_cookie 150 binder_uintptr_t cookie; member in struct:binder_handle_cookie 159 binder_uintptr_t cookie; member in struct:binder_pri_ptr_cookie
|
/bionic/libc/kernel/uapi/linux/ |
H A D | if_arcnet.h | 59 __u8 cookie[sizeof(int)]; member in struct:arc_cap
|
H A D | inotify.h | 26 __u32 cookie; member in struct:inotify_event
|
H A D | rds.h | 154 rds_rdma_cookie_t cookie; member in struct:rds_free_mr_args 158 rds_rdma_cookie_t cookie; member in struct:rds_rdma_args 166 rds_rdma_cookie_t cookie; member in struct:rds_atomic_args
|
/bionic/libc/stdio/ |
H A D | fmemopen.cpp | 48 static int fmemopen_read(void* cookie, char* buf, int n) { argument 49 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); 60 static int fmemopen_write(void* cookie, const char* buf, int n) { argument 61 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); 92 static fpos_t fmemopen_seek(void* cookie, fpos_t offset, int whence) { argument 93 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie); 106 static int fmemopen_close(void* cookie) { argument 107 fmemopen_cookie* ck = static_cast<fmemopen_cookie*>(cookie);
|
H A D | stdio.cpp | 178 // Caller sets cookie, _read/_write etc. 473 int __sread(void* cookie, char* buf, int n) { argument 474 FILE* fp = reinterpret_cast<FILE*>(cookie); 478 int __swrite(void* cookie, const char* buf, int n) { argument 479 FILE* fp = reinterpret_cast<FILE*>(cookie); 483 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { argument 484 FILE* fp = reinterpret_cast<FILE*>(cookie); 488 off64_t __sseek64(void* cookie, off64_t offset, int whence) { argument 489 FILE* fp = reinterpret_cast<FILE*>(cookie); 493 int __sclose(void* cookie) { argument 630 __funopen(const void* cookie, int (*read_fn)(void*, char*, int), int (*write_fn)(void*, const char*, int), int (*close_fn)(void*)) argument 659 funopen(const void* cookie, int (*read_fn)(void*, char*, int), int (*write_fn)(void*, const char*, int), fpos_t (*seek_fn)(void*, fpos_t, int), int (*close_fn)(void*)) argument 671 funopen64(const void* cookie, int (*read_fn)(void*, char*, int), int (*write_fn)(void*, const char*, int), fpos64_t (*seek_fn)(void*, fpos64_t, int), int (*close_fn)(void*)) argument [all...] |
/bionic/libc/system_properties/ |
H A D | contexts_serialized.cpp | 147 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument 150 context_nodes_[i].pa()->foreach (propfn, cookie);
|
H A D | contexts_split.cpp | 347 void ContextsSplit::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument 348 ListForEach(contexts_, [propfn, cookie](ContextListNode* l) { 350 l->pa()->foreach (propfn, cookie);
|
/bionic/libc/system_properties/include/system_properties/ |
H A D | contexts.h | 42 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
|
H A D | contexts_pre_split.h | 54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override { 55 pre_split_prop_area_->foreach (propfn, cookie);
|
H A D | contexts_serialized.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
H A D | contexts_split.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
H A D | prop_area.h | 114 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 144 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie), 145 void* cookie);
|
H A D | system_properties.h | 63 void (*callback)(void* cookie, const char* name, const char* value, 65 void* cookie); 74 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie);
|