Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dmalloc_common.cpp66 void* result = Malloc(calloc)(n_elements, elem_size); in calloc()
78 Malloc(free)(mem); in free()
87 return Malloc(mallinfo)(); in mallinfo()
95 return Malloc(malloc_info)(options, fp); in malloc_info()
103 return Malloc(mallopt)(param, value); in mallopt()
111 void* result = Malloc(malloc)(bytes); in malloc()
123 return Malloc(malloc_usable_size)(mem); in malloc_usable_size()
131 void* result = Malloc(memalign)(alignment, bytes); in memalign()
143 return Malloc(posix_memalign)(memptr, alignment, size); in posix_memalign()
151 void* result = Malloc(aligned_alloc)(alignment, size); in aligned_alloc()
[all …]
Dmalloc_heapprofd.cpp93 Malloc(calloc),
94 Malloc(free),
95 Malloc(mallinfo),
97 Malloc(malloc_usable_size),
98 Malloc(memalign),
99 Malloc(posix_memalign),
101 Malloc(pvalloc),
103 Malloc(realloc),
105 Malloc(valloc),
107 Malloc(iterate),
[all …]
Dmalloc_limit.cpp125 return IncrementLimit(Malloc(calloc)(n_elements, elem_size)); in LimitCalloc()
134 return Malloc(free)(mem); in LimitFree()
146 return IncrementLimit(Malloc(malloc)(bytes)); in LimitMalloc()
159 return IncrementLimit(Malloc(memalign)(alignment, bytes)); in LimitMemalign()
173 retval = Malloc(posix_memalign)(memptr, alignment, size); in LimitPosixMemalign()
192 return IncrementLimit(Malloc(aligned_alloc)(alignment, size)); in LimitAlignedAlloc()
211 new_ptr = Malloc(realloc)(old_mem, bytes); in LimitRealloc()
240 return IncrementLimit(Malloc(pvalloc)(bytes)); in LimitPvalloc()
252 return IncrementLimit(Malloc(valloc)(bytes)); in LimitValloc()
326 current_allocated = Malloc(mallinfo)().uordblks; in LimitEnable()
[all …]
Dmalloc_common.h54 #define Malloc(function) __sanitizer_ ## function macro
61 #define Malloc(function) scudo_ ## function
66 #define Malloc(function) je_ ## function
Dmalloc_common_dynamic.cpp84 Malloc(calloc),
85 Malloc(free),
86 Malloc(mallinfo),
87 Malloc(malloc),
88 Malloc(malloc_usable_size),
89 Malloc(memalign),
90 Malloc(posix_memalign),
92 Malloc(pvalloc),
94 Malloc(realloc),
96 Malloc(valloc),
[all …]
/bionic/libc/malloc_debug/
DREADME_marshmallow_and_earlier.md1 Malloc Debug
4 Malloc debug is a method of debugging native memory problems. It can help
37 Controlling Malloc Debug Behavior
39 Malloc debug is controlled by a system property that takes a numeric value
DREADME_api.md3 Malloc debug can be used to get information on all of the live allocations
DREADME.md1 Malloc Debug
4 Malloc debug is a method of debugging native memory problems. It can help
39 Controlling Malloc Debug Behavior
41 Malloc debug is controlled by individual options. Each option can be enabled
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp246 static void Malloc() { in Malloc() function
253 Malloc(); in TEST()
258 Malloc(); in TEST()
/bionic/libc/malloc_hooks/
DREADME.md1 Malloc Hooks
4 Malloc hooks allows a program to intercept all allocation/free calls that