Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/tools/
Dgen_malloc.pl238 my $new_pointer = $1;
243 if ($new_pointer ne $old_pointer) {
244 $opts->{pointers}->{$new_pointer} = -1;
251 $opts->{pointers}->{$new_pointer} = $slot;
269 if ($new_pointer ne $old_pointer) {
270 $opts->{pointers}->{$new_pointer} = $slot;
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp689 void* new_pointer; in debug_realloc() local
722 new_pointer = InternalMalloc(bytes); in debug_realloc()
723 if (new_pointer == nullptr) { in debug_realloc()
729 memcpy(new_pointer, pointer, prev_size); in debug_realloc()
737 new_pointer = g_dispatch->realloc(pointer, real_size); in debug_realloc()
738 if (new_pointer == nullptr) { in debug_realloc()
743 PointerData::Add(new_pointer, real_size); in debug_realloc()
748 size_t bytes = InternalMallocUsableSize(new_pointer); in debug_realloc()
753 memset(reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(new_pointer) + prev_size), in debug_realloc()
759 g_debug->record->AddEntry(new ReallocEntry(new_pointer, bytes, pointer)); in debug_realloc()
[all …]