Lines Matching refs:orig

2769 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) {  in CopyAndFixupImTable()  argument
2771 ArtMethod* method = orig->Get(i, target_ptr_size_); in CopyAndFixupImTable()
2778 void ImageWriter::CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy) { in CopyAndFixupImtConflictTable() argument
2779 const size_t count = orig->NumEntries(target_ptr_size_); in CopyAndFixupImtConflictTable()
2781 ArtMethod* interface_method = orig->GetInterfaceMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
2782 ArtMethod* implementation_method = orig->GetImplementationMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
3140 void ImageWriter::FixupClass(mirror::Class* orig, mirror::Class* copy) { in FixupClass() argument
3141 orig->FixupNativePointers(copy, target_ptr_size_, NativeLocationVisitor(this)); in FixupClass()
3143 ObjPtr<mirror::Object>(orig)->VisitReferences(visitor, visitor); in FixupClass()
3172 if (orig->ShouldVerifyAtRuntime()) { in FixupClass()
3177 void ImageWriter::FixupObject(Object* orig, Object* copy) { in FixupObject() argument
3178 DCHECK(orig != nullptr); in FixupObject()
3181 orig->AssertReadBarrierState(); in FixupObject()
3183 if (orig->IsIntArray() || orig->IsLongArray()) { in FixupObject()
3185 auto it = pointer_arrays_.find(down_cast<mirror::PointerArray*>(orig)); in FixupObject()
3188 FixupPointerArray(copy, down_cast<mirror::PointerArray*>(orig), it->second); in FixupObject()
3193 if (orig->IsClass()) { in FixupObject()
3194 FixupClass(orig->AsClass<kVerifyNone>().Ptr(), down_cast<mirror::Class*>(copy)); in FixupObject()
3198 ObjPtr<mirror::Class> klass = orig->GetClass(); in FixupObject()
3203 auto* src = down_cast<mirror::Executable*>(orig); in FixupObject()
3207 FixupDexCache(down_cast<mirror::DexCache*>(orig), down_cast<mirror::DexCache*>(copy)); in FixupObject()
3219 orig->VisitReferences(visitor, visitor); in FixupObject()
3403 void ImageWriter::CopyAndFixupMethod(ArtMethod* orig, in CopyAndFixupMethod() argument
3406 if (orig->IsAbstract()) { in CopyAndFixupMethod()
3411 orig->SetHasSingleImplementation(false); in CopyAndFixupMethod()
3412 orig->SetSingleImplementation( in CopyAndFixupMethod()
3416 memcpy(copy, orig, ArtMethod::Size(target_ptr_size_)); in CopyAndFixupMethod()
3419 copy->GetDeclaringClassAddressWithoutBarrier(), orig->GetDeclaringClassUnchecked()); in CopyAndFixupMethod()
3427 if (orig->IsRuntimeMethod()) { in CopyAndFixupMethod()
3428 ImtConflictTable* orig_table = orig->GetImtConflictTable(target_ptr_size_); in CopyAndFixupMethod()
3433 } else if (UNLIKELY(orig == runtime->GetResolutionMethod())) { in CopyAndFixupMethod()
3442 if (runtime->HasCalleeSaveMethod(idx) && runtime->GetCalleeSaveMethod(idx) == orig) { in CopyAndFixupMethod()
3447 CHECK(found_one) << "Expected to find callee save method but got " << orig->PrettyMethod(); in CopyAndFixupMethod()
3456 if (UNLIKELY(!orig->IsInvokable())) { in CopyAndFixupMethod()
3460 quick_code = GetQuickCode(orig, image_info); in CopyAndFixupMethod()
3463 if (orig->IsNative()) { in CopyAndFixupMethod()
3466 StubType stub_type = orig->IsCriticalNative() ? StubType::kJNIDlsymLookupCriticalTrampoline in CopyAndFixupMethod()