Searched refs:FROM_MALLOC (Results 1 – 7 of 7) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cc | 71 __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/ |
D | asan_malloc_linux.cc | 50 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()
|
D | asan_malloc_mac.cc | 31 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);
|
D | asan_allocator.cc | 549 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()
|
D | asan_malloc_win.cc | 45 return asan_free(ptr, &stack, FROM_MALLOC); in free() 181 asan_free(lpMem, &stack, FROM_MALLOC); in INTERCEPTOR_WINAPI()
|
D | asan_allocator.h | 27 FROM_MALLOC = 1, // Memory block came from malloc, calloc, realloc, etc. enumerator
|
D | asan_mac.cc | 168 asan_free(context, &stack, FROM_MALLOC); in asan_dispatch_call_block_and_release()
|