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

12

/bionic/libc/system_properties/include/system_properties/
H A Dcontexts.h42 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
H A Dcontexts_pre_split.h54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override {
55 pre_split_prop_area_->foreach (propfn, cookie);
H A Dsystem_properties.h63 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);
H A Dcontexts_serialized.h46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
H A Dcontexts_split.h46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
H A Dprop_area.h114 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);
/bionic/libc/bionic/
H A Dsetjmp_cookie.cpp59 // 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 Dsystem_property_api.cpp81 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/stdio/
H A Dfmemopen.cpp48 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);
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvdprintf.c44 __dwrite(void *cookie, const char *buf, int n) argument
46 int *fdp = cookie;
H A Dvsscanf.c39 eofread(void *cookie, char *buf, int len) argument
/bionic/libc/kernel/uapi/linux/android/
H A Dbinder.h55 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/versioner-dependencies/common/kernel_uapi/linux/android/
H A Dbinder.h55 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/tools/versioner/dependencies/common/kernel_uapi/linux/android/
H A Dbinder.h55 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/system_properties/
H A Dsystem_properties.cpp182 void (*callback)(void* cookie, const char* name,
184 void* cookie) {
190 callback(cookie, pi->name, pi->long_value(), serial);
192 callback(cookie, pi->name, pi->value, serial);
208 callback(cookie, pi->name, value_buf, serial);
362 int SystemProperties::Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument
367 contexts_->ForEach(propfn, cookie);
181 ReadCallback(const prop_info* pi, void (*callback)(void* cookie, const char* name, const char* value, uint32_t serial), void* cookie) argument
H A Dprop_area.cpp334 void (*propfn)(const prop_info* pi, void* cookie), void* cookie) {
339 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie);
346 propfn(info, cookie);
350 const int err = foreach_property(to_prop_bt(&trie->children), propfn, cookie);
355 const int err = foreach_property(to_prop_bt(&trie->right), propfn, cookie);
371 bool prop_area::foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument
372 return foreach_property(root_node(), propfn, cookie);
333 foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie), void* cookie) argument
H A Dcontexts_serialized.cpp147 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { argument
150 context_nodes_[i].pa()->foreach (propfn, cookie);
/bionic/libc/kernel/uapi/linux/
H A Dif_arcnet.h59 __u8 cookie[sizeof(int)]; member in struct:arc_cap
H A Drds.h154 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/versioner-dependencies/common/kernel_uapi/linux/
H A Dif_arcnet.h59 __u8 cookie[sizeof(int)]; member in struct:arc_cap
/bionic/tests/libs/
H A Dbionic_tests_zipalign.cpp43 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 Dsystem_properties_test2.cpp94 [](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/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dif_arcnet.h59 __u8 cookie[sizeof(int)]; member in struct:arc_cap
/bionic/libc/arch-mips/bionic/
H A Dsetjmp.S136 #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 Dsetjmp.S136 #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...]

Completed in 252 milliseconds

12