Lines Matching refs:copy

1185   FixupVisitor(ImageWriter* image_writer, Object* copy) : image_writer_(image_writer), copy_(copy) {  in FixupVisitor()  argument
1212 FixupClassVisitor(ImageWriter* image_writer, Object* copy) : FixupVisitor(image_writer, copy) { in FixupClassVisitor() argument
1229 void ImageWriter::FixupClass(mirror::Class* orig, mirror::Class* copy) { in FixupClass() argument
1243 copy->SetSFieldsUnchecked(image_fields); in FixupClass()
1245 copy->SetIFieldsUnchecked(image_fields); in FixupClass()
1253 copy->SetDirectMethodsPtrUnchecked( in FixupClass()
1260 copy->SetVirtualMethodsPtr( in FixupClass()
1268 copy->SetEmbeddedVTableEntryUnchecked( in FixupClass()
1274 copy->SetEmbeddedImTableEntry( in FixupClass()
1278 FixupClassVisitor visitor(this, copy); in FixupClass()
1282 void ImageWriter::FixupObject(Object* orig, Object* copy) { in FixupObject() argument
1284 DCHECK(copy != nullptr); in FixupObject()
1289 copy->SetReadBarrierPointer(GetImageAddress(orig)); in FixupObject()
1290 DCHECK_EQ(copy->GetReadBarrierPointer(), GetImageAddress(orig)); in FixupObject()
1299 FixupPointerArray(copy, down_cast<mirror::PointerArray*>(orig), klass, it->second); in FixupObject()
1307 FixupClass(orig->AsClass<kVerifyNone>(), down_cast<mirror::Class*>(copy)); in FixupObject()
1311 auto* dest = down_cast<mirror::AbstractMethod*>(copy); in FixupObject()
1320 FixupVisitor visitor(this, copy); in FixupObject()
1383 void ImageWriter::CopyAndFixupMethod(ArtMethod* orig, ArtMethod* copy) { in CopyAndFixupMethod() argument
1384 memcpy(copy, orig, ArtMethod::ObjectSize(target_ptr_size_)); in CopyAndFixupMethod()
1386 copy->SetDeclaringClass(GetImageAddress(orig->GetDeclaringClassUnchecked())); in CopyAndFixupMethod()
1387 copy->SetDexCacheResolvedMethods(GetImageAddress(orig->GetDexCacheResolvedMethods())); in CopyAndFixupMethod()
1388 copy->SetDexCacheResolvedTypes(GetImageAddress(orig->GetDexCacheResolvedTypes())); in CopyAndFixupMethod()
1396 copy->SetEntryPointFromQuickCompiledCodePtrSize( in CopyAndFixupMethod()
1400 copy->SetEntryPointFromQuickCompiledCodePtrSize( in CopyAndFixupMethod()
1412 CHECK(copy->IsRuntimeMethod()); in CopyAndFixupMethod()
1418 copy->SetEntryPointFromQuickCompiledCodePtrSize( in CopyAndFixupMethod()
1420 copy->SetEntryPointFromInterpreterPtrSize( in CopyAndFixupMethod()
1426 copy->SetEntryPointFromQuickCompiledCodePtrSize(quick_code, target_ptr_size_); in CopyAndFixupMethod()
1432 copy->SetEntryPointFromJniPtrSize( in CopyAndFixupMethod()
1444 copy->SetEntryPointFromInterpreterPtrSize(interpreter_entrypoint, target_ptr_size_); in CopyAndFixupMethod()