Searched refs:usable_size (Results 1 – 6 of 6) sorted by relevance
33 size_t size = 496, usable_size; in main() local40 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()
88 auto usable_size = HeapSize(GetProcessHeap(), 0, alloc); in main() local89 for (int i = 100; i < usable_size; i++) { in main()
248 auto usable_size = asan_malloc_usable_size(p, pc, bp); in INTERCEPTOR_WINAPI() local249 internal_memset(p, 0, usable_size); in INTERCEPTOR_WINAPI()
1072 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size() local1073 if (flags()->check_malloc_usable_size && (usable_size == 0)) { in asan_malloc_usable_size()1077 return usable_size; in asan_malloc_usable_size()
775 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size() local776 if (flags()->check_malloc_usable_size && (usable_size == 0)) { in asan_malloc_usable_size()780 return usable_size; in asan_malloc_usable_size()
864 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in memprof_malloc_usable_size() local865 return usable_size; in memprof_malloc_usable_size()