Home
last modified time | relevance | path

Searched refs:usable_size (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/test/scudo/
Drealloc.cpp33 size_t size = 496, usable_size; in main() local
40 usable_size = __sanitizer_get_allocated_size(p); in main()
41 assert(usable_size >= size); in main()
42 } while (usable_size == size); in main()
43 for (int i = 0; i < usable_size; i++) in main()
53 for (int i = 0; i < usable_size; i++) in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dheapalloc_rtl_transfer.cpp88 auto usable_size = HeapSize(GetProcessHeap(), 0, alloc); in main() local
89 for (int i = 100; i < usable_size; i++) { in main()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_win.cpp248 auto usable_size = asan_malloc_usable_size(p, pc, bp); in INTERCEPTOR_WINAPI() local
249 internal_memset(p, 0, usable_size); in INTERCEPTOR_WINAPI()
Dasan_allocator.cpp1072 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size() local
1073 if (flags()->check_malloc_usable_size && (usable_size == 0)) { in asan_malloc_usable_size()
1077 return usable_size; in asan_malloc_usable_size()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc775 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size() local
776 if (flags()->check_malloc_usable_size && (usable_size == 0)) { in asan_malloc_usable_size()
780 return usable_size; in asan_malloc_usable_size()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.cpp864 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in memprof_malloc_usable_size() local
865 return usable_size; in memprof_malloc_usable_size()