Home
last modified time | relevance | path

Searched refs:MuslFunc (Results 1 - 10 of 10) sorted by relevance

/third_party/musl/porting/linux/user/src/hook/
H A Dmalloc_common.c36 return MuslFunc(malloc)(bytes); in malloc()
42 return MuslFunc(malloc)(bytes); in malloc()
49 return MuslFunc(malloc)(bytes); in malloc()
84 MuslFunc(free)(mem); in free()
91 MuslFunc(free)(mem); in free()
100 MuslFunc(free)(mem); in free()
135 return MuslFunc(calloc)(m, n); in calloc()
151 return MuslFunc(realloc)(p, n); in realloc()
H A Dmusl_preinit_common.c31 .malloc = MuslFunc(malloc),
32 .free = MuslFunc(free),
35 .calloc = MuslFunc(calloc),
36 .realloc = MuslFunc(realloc),
H A Dmusl_malloc.h21 #define MuslFunc(func) je_ ## func macro
29 #define MuslFunc(func) hook_ ## func macro
H A Dmusl_preinit.c43 .free = MuslFunc(free),
46 .calloc = MuslFunc(calloc),
47 .realloc = MuslFunc(realloc),
524 void*ptr = MuslFunc(malloc)(bytes); in ohos_malloc_hook_init_function()
/third_party/musl/src/hook/linux/
H A Dmalloc_common.c64 return MuslFunc(malloc)(bytes); in malloc()
70 return MuslFunc(malloc)(bytes); in malloc()
77 return MuslFunc(malloc)(bytes); in malloc()
112 MuslFunc(free)(mem); in free()
119 MuslFunc(free)(mem); in free()
128 MuslFunc(free)(mem); in free()
168 return MuslFunc(calloc)(m, n); in calloc()
189 return MuslFunc(realloc)(p, n); in realloc()
H A Dmusl_preinit_common.c46 .malloc = MuslFunc(malloc),
47 .free = MuslFunc(free),
50 .calloc = MuslFunc(calloc),
51 .realloc = MuslFunc(realloc),
H A Dmusl_malloc.h36 #define MuslFunc(func) je_ ## func macro
44 #define MuslFunc(func) hook_ ## func macro
H A Dmusl_preinit.c58 .free = MuslFunc(free),
61 .calloc = MuslFunc(calloc),
62 .realloc = MuslFunc(realloc),
538 void*ptr = MuslFunc(malloc)(bytes); in ohos_malloc_hook_init_function()
/third_party/musl/porting/linux/user/src/gwp_asan/
H A Dgwp_asan.c406 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
415 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
421 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
436 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
442 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
460 void* addr_of_default_allocator = MuslFunc(malloc)(size); in libc_gwp_asan_realloc()
471 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
477 return MuslFunc(free)(addr); in libc_gwp_asan_free()
482 return MuslFunc(free)(addr); in libc_gwp_asan_free()
/third_party/musl/src/gwp_asan/linux/
H A Dgwp_asan.c406 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
415 return MuslFunc(malloc)(bytes); in libc_gwp_asan_malloc()
421 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
436 return MuslFunc(calloc)(nmemb, size); in libc_gwp_asan_calloc()
442 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
460 void* addr_of_default_allocator = MuslFunc(malloc)(size); in libc_gwp_asan_realloc()
471 return MuslFunc(realloc)(ptr, size); in libc_gwp_asan_realloc()
477 return MuslFunc(free)(addr); in libc_gwp_asan_free()
482 return MuslFunc(free)(addr); in libc_gwp_asan_free()

Completed in 6 milliseconds