Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/bionic/
Dposix_timers.cpp64 void (*callback)(sigval_t); member
91 timer->callback(timer->callback_argument); in __timer_thread_start()
126 timer->callback = evp->sigev_notify_function; in timer_create()
131 if (timer->callback == nullptr) { in timer_create()
Dmalloc_common.cpp235 void (*callback)(uintptr_t base, size_t size, void* arg); member
241 wrapper_arg->callback( in CallbackWrapper()
256 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg) { in malloc_iterate()
261 wrapper_arg.callback = callback; in malloc_iterate()
301 void (*callback)(uintptr_t base, size_t size, void* arg) in __sanitizer_malloc_iterate()
Dbionic_netlink.cpp76 bool NetlinkConnection::ReadResponses(void callback(void*, nlmsghdr*), void* context) { in ReadResponses()
88 callback(context, hdr); in ReadResponses()
Dbionic_netlink.h46 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
Dsystem_property_api.cpp79 void (*callback)(void* cookie, const char* name, in __system_property_read_callback()
82 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback()
Dgwp_asan_wrappers.cpp158 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg) { in gwp_asan_malloc_iterate()
162 GuardedAlloc.iterate(reinterpret_cast<void*>(base), size, callback, arg); in gwp_asan_malloc_iterate()
165 return prev_dispatch->malloc_iterate(base, size, callback, arg); in gwp_asan_malloc_iterate()
Dmalloc_limit.cpp62 static int LimitIterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), vo…
352 static int LimitIterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), vo… in LimitIterate()
355 return dispatch_table->malloc_iterate(base, size, callback, arg); in LimitIterate()
357 return Malloc(malloc_iterate)(base, size, callback, arg); in LimitIterate()
Dmalloc_common.h46 void (*callback)(uintptr_t base, size_t size, void* arg),
/bionic/linker/
Dlinker_reloc_iterators.h48 inline bool for_all_packed_relocs(sleb128_decoder decoder, F&& callback) { in for_all_packed_relocs() argument
100 if (!callback(reloc)) { in for_all_packed_relocs()
/bionic/tests/
Dmalloc_iterate_test.cpp36 extern "C" int malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t base,
98 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in VerifyPtrs() local
112 buffer.size(), callback); in VerifyPtrs()
196 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in TEST() local
229 buffer.size(), callback); in TEST()
Dlink_test.cpp93 auto callback = [](dl_phdr_info* info, size_t size, void* data) { in TEST() local
109 EXPECT_EQ(0, dl_iterate_phdr(callback, &counters)); in TEST()
Delftls_dl_test.cpp354 auto callback = [](dl_phdr_info* info, size_t, void* data) { in TEST() local
374 dl_iterate_phdr(callback, &result); in TEST()
/bionic/libc/system_properties/
Dsystem_properties.cpp198 void (*callback)(void* cookie, const char* name, in ReadCallback()
206 callback(cookie, pi->name, pi->long_value(), serial); in ReadCallback()
208 callback(cookie, pi->name, pi->value, serial); in ReadCallback()
215 callback(cookie, pi->name, value_buf, serial); in ReadCallback()
/bionic/libfdtrack/
Dfdtrack.cpp58 extern "C" void fdtrack_iterate(fdtrack_callback_t callback, void* arg);
129 void fdtrack_iterate(fdtrack_callback_t callback, void* arg) { in fdtrack_iterate() argument
162 bool should_continue = callback(fd, function_names, function_offsets, in fdtrack_iterate()
/bionic/docs/
Dfdtrack.md7 fdtrack consists of two parts: a set of hooks in bionic to register a callback
13 Register a callback with `android_fdtrack_compare_exchange_hook` to receive
16 handle unbalanced closes. This callback may be called from an async signal safe
/bionic/libc/system_properties/include/system_properties/
Dsystem_properties.h63 void (*callback)(void* cookie, const char* name, const char* value,
/bionic/libc/dns/net/
Dnsdispatch.c89 return (disp_tab[curdisp].callback); in _nsmethod()
/bionic/libc/dns/include/
Dnsswitch.h112 nss_method callback; member
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp71 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg);
/bionic/libc/stdio/
Dstdio.cpp211 int _fwalk(int (*callback)(FILE*)) { in _fwalk()
217 result |= (*callback)(fp); in _fwalk()