Searched refs:FROM_MALLOC (Results 1 – 7 of 7) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cc | 72 __asan::asan_free(ptr, &stack1, __asan::FROM_MALLOC); in MallocStress() 82 &stack2, __asan::FROM_MALLOC); in MallocStress() 91 __asan::asan_free(vec[i], &stack3, __asan::FROM_MALLOC); in MallocStress() 143 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in TEST() 148 __asan::asan_free(p1, &stack, __asan::FROM_MALLOC); in TEST() 164 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in ThreadedQuarantineTestWorker() 195 __asan::asan_free(p[i], &stack, __asan::FROM_MALLOC); in ThreadedOneSizeMallocStress() 260 __asan::asan_free(ptr, &stack, __asan::FROM_MALLOC); in TEST()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_mac.cc | 50 &stack, FROM_MALLOC); in INTERCEPTOR() 115 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 133 return asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC); in INTERCEPTOR() 145 void *result = asan_memalign(alignment, size, &stack, FROM_MALLOC); in INTERCEPTOR() 200 return asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC); in __asan_mz_valloc() 212 asan_free(ptr, &stack, FROM_MALLOC); in free_common() 263 return asan_memalign(align, size, &stack, FROM_MALLOC); in __asan_mz_memalign()
|
D | asan_malloc_linux.cc | 31 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 36 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 67 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR() 72 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR() 77 void *res = asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
|
D | asan_allocator.cc | 540 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate() 550 Deallocate(old_ptr, 0, stack, FROM_MALLOC); in Reallocate() 558 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC, false); in Calloc() 719 return instance.Allocate(size, 8, stack, FROM_MALLOC, true); in asan_malloc() 728 return instance.Allocate(size, 8, stack, FROM_MALLOC, true); in asan_realloc() 730 instance.Deallocate(p, 0, stack, FROM_MALLOC); in asan_realloc() 737 return instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true); in asan_valloc() 747 return instance.Allocate(size, PageSize, stack, FROM_MALLOC, true); in asan_pvalloc() 752 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC, true); in asan_posix_memalign()
|
D | asan_malloc_win.cc | 43 return asan_free(ptr, &stack, FROM_MALLOC); in free()
|
D | asan_allocator.h | 27 FROM_MALLOC = 1, // Memory block came from malloc, calloc, realloc, etc. enumerator
|
D | asan_mac.cc | 296 asan_free(context, &stack, FROM_MALLOC); in asan_dispatch_call_block_and_release()
|