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.cpp825 void* new_pointer; in debug_realloc() local
859 new_pointer = result.getValue<void*>(); in debug_realloc()
860 if (new_pointer == nullptr) { in debug_realloc()
866 memcpy(new_pointer, pointer, prev_size); in debug_realloc()
878 new_pointer = result.getValue<void*>(); in debug_realloc()
879 if (new_pointer == nullptr) { in debug_realloc()
884 PointerData::Add(new_pointer, real_size); in debug_realloc()
889 size_t bytes = InternalMallocUsableSize(new_pointer); in debug_realloc()
894 memset(reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(new_pointer) + prev_size), in debug_realloc()
900 g_debug->record->AddEntry(new ReallocEntry(new_pointer, bytes, pointer, result.GetStartTimeNS(), in debug_realloc()
[all …]