Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 10 of 10) sorted by relevance

/art/dexlayout/
Ddex_verify.cc34 dex_ir::Collections& orig = orig_header->GetCollections(); in VerifyOutputDexFile() local
38 if (!VerifyIds(orig.StringIds(), output.StringIds(), "string ids", error_msg) || in VerifyOutputDexFile()
39 !VerifyIds(orig.TypeIds(), output.TypeIds(), "type ids", error_msg) || in VerifyOutputDexFile()
40 !VerifyIds(orig.ProtoIds(), output.ProtoIds(), "proto ids", error_msg) || in VerifyOutputDexFile()
41 !VerifyIds(orig.FieldIds(), output.FieldIds(), "field ids", error_msg) || in VerifyOutputDexFile()
42 !VerifyIds(orig.MethodIds(), output.MethodIds(), "method ids", error_msg)) { in VerifyOutputDexFile()
46 if (!VerifyClassDefs(orig.ClassDefs(), output.ClassDefs(), error_msg)) { in VerifyOutputDexFile()
52 template<class T> bool VerifyIds(std::vector<std::unique_ptr<T>>& orig, in VerifyIds() argument
56 if (orig.size() != output.size()) { in VerifyIds()
58 "Mismatched size for %s section: %zu vs %zu.", section_name, orig.size(), output.size()); in VerifyIds()
[all …]
Ddex_verify.h33 template<class T> bool VerifyIds(std::vector<std::unique_ptr<T>>& orig,
37 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg);
38 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg);
39 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg);
40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg);
41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
43 bool VerifyClassDefs(std::vector<std::unique_ptr<dex_ir::ClassDef>>& orig,
46 bool VerifyClassDef(dex_ir::ClassDef* orig, dex_ir::ClassDef* output, std::string* error_msg);
48 bool VerifyTypeList(const dex_ir::TypeList* orig, const dex_ir::TypeList* output);
50 bool VerifyAnnotationsDirectory(dex_ir::AnnotationsDirectoryItem* orig,
[all …]
/art/runtime/
Dimage-inl.h58 ArtMethod* orig = imt->Get(i, pointer_size); in VisitPackedImTables() local
59 ArtMethod* updated = visitor(orig); in VisitPackedImTables()
60 if (updated != orig) { in VisitPackedImTables()
/art/compiler/
Dimage_writer.cc2014 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable() argument
2016 ArtMethod* method = orig->Get(i, target_ptr_size_); in CopyAndFixupImTable()
2023 void ImageWriter::CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy) { in CopyAndFixupImtConflictTable() argument
2024 const size_t count = orig->NumEntries(target_ptr_size_); in CopyAndFixupImtConflictTable()
2026 ArtMethod* interface_method = orig->GetInterfaceMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
2027 ArtMethod* implementation_method = orig->GetImplementationMethod(i, target_ptr_size_); in CopyAndFixupImtConflictTable()
2348 void ImageWriter::FixupClass(mirror::Class* orig, mirror::Class* copy) { in FixupClass() argument
2349 orig->FixupNativePointers(copy, target_ptr_size_, NativeLocationVisitor(this)); in FixupClass()
2351 ObjPtr<mirror::Object>(orig)->VisitReferences(visitor, visitor); in FixupClass()
2357 void ImageWriter::FixupObject(Object* orig, Object* copy) { in FixupObject() argument
[all …]
Dimage_writer.h421 void CopyAndFixupMethod(ArtMethod* orig, ArtMethod* copy, const ImageInfo& image_info)
423 void CopyAndFixupImTable(ImTable* orig, ImTable* copy) REQUIRES_SHARED(Locks::mutator_lock_);
424 void CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy)
426 void FixupClass(mirror::Class* orig, mirror::Class* copy)
428 void FixupObject(mirror::Object* orig, mirror::Object* copy)
/art/patchoat/
Dpatchoat.cc546 mirror::MethodDexCachePair orig = in PatchDexFileArrays() local
548 mirror::MethodDexCachePair copy(RelocatedAddressOfPointer(orig.object), orig.index); in PatchDexFileArrays()
560 mirror::FieldDexCachePair orig = in PatchDexFileArrays() local
562 mirror::FieldDexCachePair copy(RelocatedAddressOfPointer(orig.object), orig.index); in PatchDexFileArrays()
/art/runtime/mirror/
Dobject.cc137 CopyObjectVisitor(Handle<Object>* orig, size_t num_bytes) in CopyObjectVisitor() argument
138 : orig_(orig), num_bytes_(num_bytes) {} in CopyObjectVisitor()
Dclass.cc1123 Handle<Class>* orig, in CopyClassVisitor() argument
1128 : self_(self), orig_(orig), new_length_(new_length), in CopyClassVisitor()
/art/runtime/gc/space/
Dimage_space.cc1279 ArtMethod* orig = pair.object; in RelocateInPlace() local
1280 ArtMethod* copy = fixup_adapter.ForwardObject(orig); in RelocateInPlace()
1281 if (orig != copy) { in RelocateInPlace()
1294 mirror::FieldDexCachePair orig = in RelocateInPlace() local
1296 mirror::FieldDexCachePair copy(fixup_adapter.ForwardObject(orig.object), orig.index); in RelocateInPlace()
1297 if (orig.object != copy.object) { in RelocateInPlace()
/art/runtime/arch/
Dstub_test.cc549 uint32_t orig[20]; in TEST_F() local
552 orig[i] = i; in TEST_F()
556 Invoke3(reinterpret_cast<size_t>(&trg[4]), reinterpret_cast<size_t>(&orig[4]), in TEST_F()
559 EXPECT_EQ(orig[0], trg[0]); in TEST_F()
562 EXPECT_NE(orig[i], trg[i]); in TEST_F()
566 EXPECT_EQ(orig[i], trg[i]); in TEST_F()
570 EXPECT_NE(orig[i], trg[i]); in TEST_F()