Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dmalloc_debug.cpp690 size_t prev_size; in debug_realloc() local
728 prev_size = header->usable_size; in debug_realloc()
729 memcpy(new_pointer, pointer, prev_size); in debug_realloc()
736 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
752 if (bytes > prev_size) { in debug_realloc()
753 memset(reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(new_pointer) + prev_size), in debug_realloc()
754 g_debug->config().fill_alloc_value(), bytes - prev_size); in debug_realloc()