Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dmalloc_debug.h51 size_t usable_size; member
DPointerData.cpp297 size_t usable_size; in VerifyFreedPointer() local
314 usable_size = header->usable_size; in VerifyFreedPointer()
316 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
319 size_t bytes = (usable_size < g_debug->config().fill_on_free_bytes()) in VerifyFreedPointer()
320 ? usable_size in VerifyFreedPointer()
DPointerData.h148 static void LogFreeError(const FreePointerInfoType& info, size_t usable_size);
/bionic/tests/
Dmalloc_test.cpp540 size_t usable_size = malloc_usable_size(zero_mem); in TEST() local
541 for (size_t i = 0; i < usable_size; i++) { in TEST()
778 size_t usable_size = malloc_usable_size(ptrs[i]); in TEST() local
782 if (new_allocated >= allocated + usable_size) { in TEST()