Lines Matching refs:new_pointer
689 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()
762 return new_pointer; in debug_realloc()