Home
last modified time | relevance | path

Searched refs:FROM_MALLOC (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc71 __asan::asan_free(ptr, &stack1, __asan::FROM_MALLOC); in MallocStress()
81 &stack2, __asan::FROM_MALLOC); in MallocStress()
90 __asan::asan_free(vec[i], &stack3, __asan::FROM_MALLOC); in MallocStress()
142 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in TEST()
147 __asan::asan_free(p1, &stack, __asan::FROM_MALLOC); in TEST()
163 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in ThreadedQuarantineTestWorker()
194 __asan::asan_free(p[i], &stack, __asan::FROM_MALLOC); in ThreadedOneSizeMallocStress()
259 __asan::asan_free(ptr, &stack, __asan::FROM_MALLOC); in TEST()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc50 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR()
57 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR()
90 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
95 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
100 void *res = asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
Dasan_malloc_mac.cc31 void *p = asan_memalign(alignment, size, &stack, FROM_MALLOC)
43 void *p = asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC);
46 asan_free(ptr, &stack, FROM_MALLOC);
Dasan_allocator.cc549 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate()
559 Deallocate(old_ptr, 0, stack, FROM_MALLOC); in Reallocate()
567 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC, false); in Calloc()
734 return instance.Allocate(size, 8, stack, FROM_MALLOC, true); in asan_malloc()
743 return instance.Allocate(size, 8, stack, FROM_MALLOC, true); in asan_realloc()
745 instance.Deallocate(p, 0, stack, FROM_MALLOC); in asan_realloc()
752 return instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true); in asan_valloc()
762 return instance.Allocate(size, PageSize, stack, FROM_MALLOC, true); in asan_pvalloc()
767 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC, true); in asan_posix_memalign()
Dasan_malloc_win.cc45 return asan_free(ptr, &stack, FROM_MALLOC); in free()
181 asan_free(lpMem, &stack, FROM_MALLOC); in INTERCEPTOR_WINAPI()
Dasan_allocator.h27 FROM_MALLOC = 1, // Memory block came from malloc, calloc, realloc, etc. enumerator
Dasan_mac.cc168 asan_free(context, &stack, FROM_MALLOC); in asan_dispatch_call_block_and_release()