/bionic/libc/arch-common/bionic/ |
D | atexit.h | 36 void __atexit_handler_wrapper(void* func) { in __atexit_handler_wrapper() argument 37 if (func != NULL) { in __atexit_handler_wrapper() 38 (*(void (*)(void))func)(); in __atexit_handler_wrapper() 43 int atexit(void (*func)(void)) { in atexit() 44 return (__cxa_atexit(&__atexit_handler_wrapper, func, &__dso_handle)); in atexit()
|
/bionic/libc/bionic/ |
D | __cxa_thread_atexit_impl.cpp | 24 void (*func) (void *); member in thread_local_dtor 30 extern "C" int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle); 35 int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle) { in __cxa_thread_atexit_impl() 38 dtor->func = func; in __cxa_thread_atexit_impl() 57 current->func(current->arg); in __cxa_thread_finalize()
|
D | malloc_common_dynamic.cpp | 125 extern "C" int __cxa_atexit(void (*func)(void *), void *arg, void *dso); 128 static bool InitMallocFunction(void* malloc_impl_handler, FunctionType* func, const char* prefix, c… in InitMallocFunction() argument 131 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction() 132 if (*func == nullptr) { in InitMallocFunction() 423 void* func = gFunctions[FUNC_GET_MALLOC_LEAK_INFO]; in GetMallocLeakInfo() local 424 if (func == nullptr) { in GetMallocLeakInfo() 428 reinterpret_cast<get_malloc_leak_info_func_t>(func)( in GetMallocLeakInfo() 435 void* func = gFunctions[FUNC_FREE_MALLOC_LEAK_INFO]; in FreeMallocLeakInfo() local 436 if (func == nullptr) { in FreeMallocLeakInfo() 440 reinterpret_cast<free_malloc_leak_info_func_t>(func)(leak_info->buffer); in FreeMallocLeakInfo() [all …]
|
D | pthread_internal.cpp | 204 bool android_run_on_all_threads(bool (*func)(void*), void* arg) { in android_run_on_all_threads() 212 if (!func(arg)) { in android_run_on_all_threads() 223 g_func = func; in android_run_on_all_threads()
|
D | atexit.cpp | 230 int __cxa_atexit(void (*func)(void*), void* arg, void* dso) { in __cxa_atexit() 233 if (func != nullptr) { in __cxa_atexit() 235 if (g_array.append_entry({.fn = func, .arg = arg, .dso = dso})) { in __cxa_atexit()
|
/bionic/libc/arch-arm/bionic/ |
D | atexit_legacy.c | 40 extern int __cxa_atexit(void (*func)(void *), void *arg, void *dso); 46 atexit(void (*func)(void)) in atexit() 59 return (__cxa_atexit((void (*)(void *))func, NULL, NULL)); in atexit()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 63 evTimerFunc func; member 187 evTimerFunc func, in evSetTimer() argument 198 ctx, func, uap, in evSetTimer() 225 id->func = func; in evSetTimer() 305 evTimerFunc func, in evResetTimer() argument 337 timer->func = func; in evResetTimer() 364 evTimerFunc func, in evSetIdleTimer() argument 374 tt->func = func; in evSetIdleTimer() 403 evTimerFunc func, in evResetIdleTimer() argument 411 tt->func = func; in evResetIdleTimer() [all …]
|
D | eventlib_p.h | 79 evConnFunc func; member 115 evFileFunc func; member 127 evStreamFunc func; member 146 evTimerFunc func; member 155 evWaitFunc func; member
|
D | ev_streams.c | 68 evStreamFunc func, void *uap, evStreamID *id) in evWrite() argument 75 new->func = func; in evWrite() 102 evStreamFunc func, void *uap, evStreamID *id) in evRead() argument 109 new->func = func; in evRead()
|
/bionic/libc/arch-x86/bionic/ |
D | atexit.h | 32 int atexit(void (*func)(void)) in atexit() 34 return (__cxa_atexit((void (*)(void *))func, (void *)0, &__dso_handle)); in atexit()
|
/bionic/libc/kernel/uapi/linux/ |
D | pci.h | 10 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) argument
|
D | pg.h | 15 char func; member
|
D | tee.h | 77 __u32 func; member 96 __u32 func; member
|
D | ptp_clock.h | 86 unsigned int func; member
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | quick_exit.c | 56 at_quick_exit(void (*func)(void)) in at_quick_exit() 64 h->cleanup = func; in at_quick_exit()
|
/bionic/linker/ |
D | linker_tls.h | 51 TlsDescResolverFunc* func; member 53 TlsDescResolverFunc* func;
|
/bionic/tests/libs/ |
D | elftls_dtv_resize_helper.cpp | 107 auto func = reinterpret_cast<int (*)()>(dlsym(lib, "bump")); in main() local 108 ASSERT_NE(nullptr, func); in main() 109 return func; in main() 151 auto func = load_lib(soname); in main() local 160 ASSERT_EQ(tls_var_value, func()); in main()
|
/bionic/libc/tools/ |
D | genfunctosyscallnrs.py | 27 for func, syscall in base_names.items(): 28 out_file.write("#define __" + arch + "_" + func + " " +
|
/bionic/libc/system_properties/ |
D | contexts_split.cpp | 89 static void ListForEach(List* list, Func func) { in ListForEach() argument 91 func(list); in ListForEach() 97 static List* ListFind(List* list, Func func) { in ListFind() argument 99 if (func(list)) { in ListFind()
|
/bionic/libc/include/sys/ |
D | cdefs.h | 202 # define __RENAME_IF_FILE_OFFSET64(func) __RENAME(func) argument 204 # define __RENAME_IF_FILE_OFFSET64(func) argument
|
/bionic/benchmarks/spawn/ |
D | bench_cxa_atexit.cpp | 34 extern "C" int __cxa_atexit(void (*func)(void*), void* arg, void* dso);
|
/bionic/tests/ |
D | link_test.cpp | 262 uintptr_t func = reinterpret_cast<uintptr_t>(read_exidx_func); in TEST() local 271 if (func == exidx_func || func == exidx_func + 1) found = true; in TEST()
|
D | __cxa_atexit_test.cpp | 32 int __cxa_atexit(void (*func)(void*), void* arg, void* dso);
|
D | fdtrack_test.cpp | 62 std::vector<android_fdtrack_event> FdtrackRun(void (*func)(), bool reenable = true) { in FdtrackRun() argument 84 func(); in FdtrackRun()
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | eventlib.h | 139 evStreamFunc func, void *, evStreamID *)); 141 evStreamFunc func, void *, evStreamID *));
|