/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cpp | 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() 165 __asan::asan_free(p, &stack, __asan::FROM_MALLOC); in ThreadedQuarantineTestWorker() 204 __asan::asan_free(p[i], &stack, __asan::FROM_MALLOC); in ThreadedOneSizeMallocStress() 269 __asan::asan_free(ptr, &stack, __asan::FROM_MALLOC); in TEST()
|
/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_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_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_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()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_malloc_mac.cpp | 31 void *p = asan_memalign(alignment, size, &stack, FROM_MALLOC) 46 void *p = asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC); 49 asan_free(ptr, &stack, FROM_MALLOC);
|
D | asan_malloc_linux.cpp | 128 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 136 asan_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 179 return asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR() 184 void *res = asan_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
|
D | asan_malloc_win.cpp | 83 return asan_free(ptr, &stack, FROM_MALLOC); in free() 265 asan_free(lpMem, &stack, FROM_MALLOC); in INTERCEPTOR_WINAPI() 319 asan_free(replacement_alloc, &stack, FROM_MALLOC); in SharedReAlloc() 344 asan_free(lpMem, &stack, FROM_MALLOC); in SharedReAlloc() 442 asan_free(BaseAddress, &stack, FROM_MALLOC); in INTERCEPTOR_WINAPI()
|
D | asan_allocator.cpp | 727 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate() 737 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate() 748 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC, false); in Calloc() 980 return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC, true)); in asan_malloc() 1000 return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC, true)); in asan_realloc() 1003 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC); in asan_realloc() 1014 instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true)); in asan_valloc() 1028 instance.Allocate(size, PageSize, stack, FROM_MALLOC, true)); in asan_pvalloc() 1051 instance.Allocate(size, alignment, stack, FROM_MALLOC, true)); in asan_aligned_alloc() 1061 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC, true); in asan_posix_memalign()
|
D | asan_mac.cpp | 171 asan_free(context, &stack, FROM_MALLOC); in asan_dispatch_call_block_and_release()
|
D | asan_allocator.h | 27 FROM_MALLOC = 1, // Memory block came from malloc, calloc, realloc, etc. enumerator
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_malloc_linux.cpp | 110 memprof_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 118 memprof_free(ptr, &stack, FROM_MALLOC); in INTERCEPTOR() 161 return memprof_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR() 166 void *res = memprof_memalign(boundary, size, &stack, FROM_MALLOC); in INTERCEPTOR()
|
D | memprof_allocator.cpp | 669 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC); in Reallocate() 674 Deallocate(old_ptr, 0, 0, stack, FROM_MALLOC); in Reallocate() 685 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC); in Calloc() 773 return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC)); in memprof_malloc() 793 return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC)); in memprof_realloc() 796 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC); in memprof_realloc() 807 instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC)); in memprof_valloc() 820 return SetErrnoOnNull(instance.Allocate(size, PageSize, stack, FROM_MALLOC)); in memprof_pvalloc() 842 return SetErrnoOnNull(instance.Allocate(size, alignment, stack, FROM_MALLOC)); in memprof_aligned_alloc() 852 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC); in memprof_posix_memalign()
|
D | memprof_allocator.h | 33 FROM_MALLOC = 1, // Memory block came from malloc, calloc, realloc, etc. enumerator
|