Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp765 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in memprof_malloc_usable_size() local
766 return usable_size; in memprof_malloc_usable_size()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp1100 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size() local
1101 if (flags()->check_malloc_usable_size && (usable_size == 0)) { in asan_malloc_usable_size()
1105 return usable_size; in asan_malloc_usable_size()