Home
last modified time | relevance | path

Searched refs:MuslFunc (Results 1 – 5 of 5) sorted by relevance

/third_party/musl/porting/linux/user/src/hook/
Dmalloc_common.c36 return MuslFunc(malloc)(bytes); in malloc()
42 return MuslFunc(malloc)(bytes); in malloc()
49 return MuslFunc(malloc)(bytes); in malloc()
65 MuslFunc(free)(mem); in free()
72 MuslFunc(free)(mem); in free()
81 MuslFunc(free)(mem); in free()
116 return MuslFunc(calloc)(m, n); in calloc()
132 return MuslFunc(realloc)(p, n); in realloc()
Dmusl_preinit_common.c30 .malloc = MuslFunc(malloc),
31 .free = MuslFunc(free),
34 .calloc = MuslFunc(calloc),
35 .realloc = MuslFunc(realloc),
Dmusl_malloc.h21 #define MuslFunc(func) je_ ## func macro
29 #define MuslFunc(func) hook_ ## func
Dmusl_preinit.c43 .free = MuslFunc(free),
46 .calloc = MuslFunc(calloc),
47 .realloc = MuslFunc(realloc),
506 void*ptr = MuslFunc(malloc)(bytes); in ohos_malloc_hook_init_function()
/third_party/musl/porting/linux/user/src/gwp_asan/
Dgwp_asan.c398 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
407 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
413 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
428 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
434 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
449 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
455 return MuslFunc(free)(addr); in libc_gwp_asan_free()
460 return MuslFunc(free)(addr); in libc_gwp_asan_free()