Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 33) sorted by relevance

12

/bionic/libc/arch-common/bionic/
Datexit.h36 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.cpp24 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()
Dmalloc_common_dynamic.cpp123 extern "C" int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
126 static bool InitMallocFunction(void* malloc_impl_handler, FunctionType* func, const char* prefix, c… in InitMallocFunction() argument
129 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction()
130 if (*func == nullptr) { in InitMallocFunction()
415 void* func = gFunctions[FUNC_GET_MALLOC_LEAK_INFO]; in GetMallocLeakInfo() local
416 if (func == nullptr) { in GetMallocLeakInfo()
420 reinterpret_cast<get_malloc_leak_info_func_t>(func)( in GetMallocLeakInfo()
427 void* func = gFunctions[FUNC_FREE_MALLOC_LEAK_INFO]; in FreeMallocLeakInfo() local
428 if (func == nullptr) { in FreeMallocLeakInfo()
432 reinterpret_cast<free_malloc_leak_info_func_t>(func)(leak_info->buffer); in FreeMallocLeakInfo()
[all …]
Datexit.cpp210 int __cxa_atexit(void (*func)(void*), void* arg, void* dso) { in __cxa_atexit()
213 if (func != nullptr) { in __cxa_atexit()
215 if (g_array.append_entry({.fn = func, .arg = arg, .dso = dso})) { in __cxa_atexit()
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c63 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 …]
Deventlib_p.h79 evConnFunc func; member
115 evFileFunc func; member
127 evStreamFunc func; member
146 evTimerFunc func; member
155 evWaitFunc func; member
Dev_streams.c68 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-arm/bionic/
Datexit_legacy.c40 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/arch-x86/bionic/
Datexit.h32 int atexit(void (*func)(void)) in atexit()
34 return (__cxa_atexit((void (*)(void *))func, (void *)0, &__dso_handle)); in atexit()
/bionic/libc/kernel/uapi/drm/
Dvia_drm.h102 } func; member
112 } func; member
122 } func; member
154 } func; member
Dr128_drm.h147 } func; member
205 } func; member
225 } func; member
Di810_drm.h90 drm_i810_init_func_t func; member
108 drm_i810_init_func_t func; member
Dsavage_drm.h52 } func; member
/bionic/libc/kernel/uapi/linux/
Dpci.h22 #define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) argument
Dtee.h86 __u32 func; member
105 __u32 func; member
Dpg.h27 char func; member
Dptp_clock.h86 unsigned int func; member
/bionic/linker/
Dlinker_tls.h51 TlsDescResolverFunc* func; member
53 TlsDescResolverFunc* func;
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dquick_exit.c56 at_quick_exit(void (*func)(void)) in at_quick_exit()
64 h->cleanup = func; in at_quick_exit()
/bionic/libc/system_properties/
Dcontexts_split.cpp89 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/tools/
Dgenfunctosyscallnrs.py28 for func,syscall in base_names.iteritems():
29 … out_file.write("#define __" + arch + "_" + func + " " + str(syscall_NRs[arch][syscall]) + ";\n")
/bionic/libc/include/sys/
Dcdefs.h191 # define __RENAME_IF_FILE_OFFSET64(func) __RENAME(func) argument
193 # define __RENAME_IF_FILE_OFFSET64(func) argument
/bionic/tests/
Dlink_test.cpp262 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()
Dfdtrack_test.cpp58 std::vector<android_fdtrack_event> FdtrackRun(void (*func)()) { in FdtrackRun() argument
78 func(); in FdtrackRun()
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Deventlib.h139 evStreamFunc func, void *, evStreamID *));
141 evStreamFunc func, void *, evStreamID *));

12