Lines Matching refs:copy

338   std::copy(image_info.string_reference_offsets_.begin(),  in CopyMetadata()
2769 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable() argument
2772 void** address = reinterpret_cast<void**>(copy->AddressOfElement(i, target_ptr_size_)); in CopyAndFixupImTable()
2774 DCHECK_EQ(copy->Get(i, target_ptr_size_), NativeLocationInImage(method)); in CopyAndFixupImTable()
2778 void ImageWriter::CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy) { in CopyAndFixupImtConflictTable() argument
2783 CopyAndFixupPointer(copy->AddressOfInterfaceMethod(i, target_ptr_size_), interface_method); in CopyAndFixupImtConflictTable()
2785 copy->AddressOfImplementationMethod(i, target_ptr_size_), implementation_method); in CopyAndFixupImtConflictTable()
2786 DCHECK_EQ(copy->GetInterfaceMethod(i, target_ptr_size_), in CopyAndFixupImtConflictTable()
2788 DCHECK_EQ(copy->GetImplementationMethod(i, target_ptr_size_), in CopyAndFixupImtConflictTable()
3003 FixupVisitor(ImageWriter* image_writer, Object* copy) in FixupVisitor() argument
3004 : image_writer_(image_writer), copy_(copy) { in FixupVisitor()
3066 FixupClassVisitor(ImageWriter* image_writer, Object* copy) in FixupClassVisitor() argument
3067 : FixupVisitor(image_writer, copy) {} in FixupClassVisitor()
3140 void ImageWriter::FixupClass(mirror::Class* orig, mirror::Class* copy) { in FixupClass() argument
3141 orig->FixupNativePointers(copy, target_ptr_size_, NativeLocationVisitor(this)); in FixupClass()
3142 FixupClassVisitor visitor(this, copy); in FixupClass()
3165 SubtypeCheck<mirror::Class*>::ForceUninitialize(copy); in FixupClass()
3169 copy->SetClinitThreadId(static_cast<pid_t>(0)); in FixupClass()
3173 copy->SetStatusInternal(ClassStatus::kResolved); in FixupClass()
3177 void ImageWriter::FixupObject(Object* orig, Object* copy) { in FixupObject() argument
3179 DCHECK(copy != nullptr); in FixupObject()
3188 FixupPointerArray(copy, down_cast<mirror::PointerArray*>(orig), it->second); in FixupObject()
3194 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
3202 auto* dest = down_cast<mirror::Executable*>(copy); in FixupObject()
3207 FixupDexCache(down_cast<mirror::DexCache*>(orig), down_cast<mirror::DexCache*>(copy)); in FixupObject()
3209 mirror::ClassLoader* copy_loader = down_cast<mirror::ClassLoader*>(copy); in FixupObject()
3218 FixupVisitor visitor(this, copy); in FixupObject()
3404 ArtMethod* copy, in CopyAndFixupMethod() argument
3416 memcpy(copy, orig, ArtMethod::Size(target_ptr_size_)); in CopyAndFixupMethod()
3419 copy->GetDeclaringClassAddressWithoutBarrier(), orig->GetDeclaringClassUnchecked()); in CopyAndFixupMethod()
3432 CopyAndFixupPointer(copy, ArtMethod::DataOffset(target_ptr_size_), orig_table); in CopyAndFixupMethod()
3437 copy->SetEntryPointFromJniPtrSize(jni_code, target_ptr_size_); in CopyAndFixupMethod()
3448 CHECK(copy->IsRuntimeMethod()); in CopyAndFixupMethod()
3449 CHECK(copy->GetEntryPointFromQuickCompiledCode() == nullptr); in CopyAndFixupMethod()
3468 copy->SetEntryPointFromJniPtrSize(GetOatAddress(stub_type), target_ptr_size_); in CopyAndFixupMethod()
3470 CHECK(copy->GetDataPtrSize(target_ptr_size_) == nullptr); in CopyAndFixupMethod()
3475 copy->SetEntryPointFromQuickCompiledCodePtrSize(quick_code, target_ptr_size_); in CopyAndFixupMethod()