Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dposix_timers.cpp67 void (*callback)(sigval_t); member
106 timer->callback(timer->callback_argument); in __timer_thread_start()
142 timer->callback = evp->sigev_notify_function; in timer_create()
147 if (timer->callback == nullptr) { in timer_create()
Dmalloc_common.cpp250 void (*callback)(uintptr_t base, size_t size, void* arg); member
256 wrapper_arg->callback( in CallbackWrapper()
271 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg) { in malloc_iterate()
276 wrapper_arg.callback = callback; in malloc_iterate()
316 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()
Dsystem_property_api.cpp80 void (*callback)(void* cookie, const char* name, in __system_property_read_callback()
83 return system_properties.ReadCallback(pi, callback, cookie); in __system_property_read_callback()
Dbionic_netlink.h46 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
Dmalloc_limit.cpp63 static int LimitIterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), vo…
360 static int LimitIterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), vo… in LimitIterate()
363 return dispatch_table->malloc_iterate(base, size, callback, arg); in LimitIterate()
365 return Malloc(malloc_iterate)(base, size, callback, arg); in LimitIterate()
Dmalloc_common.h46 void (*callback)(uintptr_t base, size_t size, void* arg),
Dgwp_asan_wrappers.cpp132 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg) { in gwp_asan_malloc_iterate()
136 GuardedAlloc.iterate(reinterpret_cast<void*>(base), size, callback, arg); in gwp_asan_malloc_iterate()
139 return prev_dispatch->malloc_iterate(base, size, callback, arg); in gwp_asan_malloc_iterate()
/bionic/tests/
Dmalloc_iterate_test.cpp37 extern "C" int malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t base,
99 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in VerifyPtrs() local
113 buffer.size(), callback); in VerifyPtrs()
197 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in TEST() local
230 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.cpp312 auto callback = [](dl_phdr_info* info, size_t, void* data) { in TEST() local
332 dl_iterate_phdr(callback, &result); in TEST()
/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/libc/system_properties/
Dsystem_properties.cpp239 void (*callback)(void* cookie, const char* name, in ReadCallback()
247 callback(cookie, pi->name, pi->long_value(), serial); in ReadCallback()
249 callback(cookie, pi->name, pi->value, serial); in ReadCallback()
256 callback(cookie, pi->name, value_buf, serial); in ReadCallback()
/bionic/libfdtrack/
Dfdtrack.cpp61 extern "C" void fdtrack_iterate(fdtrack_callback_t callback, void* arg);
141 void fdtrack_iterate(fdtrack_callback_t callback, void* arg) { in fdtrack_iterate() argument
174 callback(fd, function_names, function_offsets, entry->backtrace.size(), arg); 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/dns/net/
Dnsdispatch.c89 return (disp_tab[curdisp].callback); in _nsmethod()
/bionic/libc/system_properties/include/system_properties/
Dsystem_properties.h62 void (*callback)(void* cookie, const char* name, const char* value,
/bionic/libc/dns/include/
Dnsswitch.h112 nss_method callback; member
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp196 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg);
1040 int debug_malloc_iterate(uintptr_t base, size_t size, void (*callback)(uintptr_t, size_t, void*), in debug_malloc_iterate()
1044 PointerData::IteratePointers([&callback, &arg](uintptr_t pointer) { in debug_malloc_iterate()
1045 callback(pointer, InternalMallocUsableSize(reinterpret_cast<void*>(pointer)), arg); in debug_malloc_iterate()
1052 return g_dispatch->malloc_iterate(base, size, callback, arg); in debug_malloc_iterate()
/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()