Searched refs:MuslFunc (Results 1 - 10 of 10) sorted by relevance
/third_party/musl/porting/linux/user/src/hook/ |
H A D | malloc_common.c | 36 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 D | musl_preinit_common.c | 31 .malloc = MuslFunc(malloc), 32 .free = MuslFunc(free), 35 .calloc = MuslFunc(calloc), 36 .realloc = MuslFunc(realloc),
|
H A D | musl_malloc.h | 21 #define MuslFunc(func) je_ ## func macro 29 #define MuslFunc(func) hook_ ## func macro
|
H A D | musl_preinit.c | 43 .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 D | malloc_common.c | 64 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 D | musl_preinit_common.c | 46 .malloc = MuslFunc(malloc), 47 .free = MuslFunc(free), 50 .calloc = MuslFunc(calloc), 51 .realloc = MuslFunc(realloc),
|
H A D | musl_malloc.h | 36 #define MuslFunc(func) je_ ## func macro 44 #define MuslFunc(func) hook_ ## func macro
|
H A D | musl_preinit.c | 58 .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 D | gwp_asan.c | 406 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 D | gwp_asan.c | 406 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