Home
last modified time | relevance | path

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

/art/dexlayout/
Ddex_verify.cc51 template<class T> bool VerifyIds(dex_ir::CollectionVector<T>& orig, in VerifyIds() argument
55 auto orig_iter = orig.begin(); in VerifyIds()
57 for (; orig_iter != orig.end() && output_iter != output.end(); ++orig_iter, ++output_iter) { in VerifyIds()
62 if (orig_iter != orig.end() || output_iter != output.end()) { in VerifyIds()
64 if (orig_iter == orig.end()) { in VerifyIds()
75 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg) { in VerifyId() argument
76 if (strcmp(orig->Data(), output->Data()) != 0) { in VerifyId()
78 orig->GetIndex(), in VerifyId()
79 orig->GetOffset(), in VerifyId()
80 orig->Data(), in VerifyId()
[all …]
Ddex_verify.h33 template<class T> bool VerifyIds(dex_ir::CollectionVector<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(dex_ir::CollectionVector<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/mirror/
Dexecutable-inl.h44 ArtMethod* orig = GetArtMethod<kVerifiyFlags>(); in VisitTarget() local
45 ArtMethod* new_target = v->VisitMethod(orig, hrsi); in VisitTarget()
46 if (orig != new_target) { in VisitTarget()
Dfield.cc30 ArtField* orig = GetArtField(); in VisitTarget() local
31 ArtField* new_value = v->VisitField(orig, hrsi); in VisitTarget()
32 if (orig != new_value) { in VisitTarget()
Dobject.cc140 CopyObjectVisitor(Handle<Object>* orig, size_t num_bytes) in CopyObjectVisitor() argument
141 : orig_(orig), num_bytes_(num_bytes) {} in CopyObjectVisitor()
Dvar_handle.cc2037 ArtField* orig = GetField(); in VisitTarget() local
2039 v->VisitField(orig, HeapReflectiveSourceInfo(kSourceJavaLangInvokeFieldVarHandle, this)); in VisitTarget()
2040 if (orig != new_value) { in VisitTarget()
Dclass.cc1323 Handle<Class>* orig, in CopyClassVisitor() argument
1328 : self_(self), orig_(orig), new_length_(new_length), in CopyClassVisitor()
/art/test/909-attach-agent/src-art/
DMain.java88 File orig = find(in); in prepare() local
89 if (orig == null) { in prepare()
94 BufferedInputStream bis = new BufferedInputStream(new FileInputStream(orig)); in prepare()
/art/runtime/
Dimage-inl.h94 ArtMethod* orig = imt->Get(i, pointer_size); in VisitPackedImTables() local
95 ArtMethod* updated = visitor(orig); in VisitPackedImTables()
96 if (updated != orig) { in VisitPackedImTables()
/art/libnativeloader/
Dlibrary_namespaces.cpp164 std::vector<std::string> orig = android::base::Split(public_libraries, ":"); in filter_public_libraries() local
166 if (std::find(orig.begin(), orig.end(), lib) != orig.end()) { in filter_public_libraries()
/art/dex2oat/linker/
Dimage_writer.cc2769 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()
[all …]
Dimage_writer.h489 void CopyAndFixupMethod(ArtMethod* orig, ArtMethod* copy, size_t oat_index)
491 void CopyAndFixupImTable(ImTable* orig, ImTable* copy)
493 void CopyAndFixupImtConflictTable(ImtConflictTable* orig, ImtConflictTable* copy)
510 void FixupClass(mirror::Class* orig, mirror::Class* copy)
512 void FixupObject(mirror::Object* orig, mirror::Object* copy)
/art/runtime/arch/
Dstub_test.cc420 uint32_t orig[20]; in TEST_F() local
423 orig[i] = i; in TEST_F()
427 Invoke3(reinterpret_cast<size_t>(&trg[4]), reinterpret_cast<size_t>(&orig[4]), in TEST_F()
430 EXPECT_EQ(orig[0], trg[0]); in TEST_F()
433 EXPECT_NE(orig[i], trg[i]); in TEST_F()
437 EXPECT_EQ(orig[i], trg[i]); in TEST_F()
441 EXPECT_NE(orig[i], trg[i]); in TEST_F()
/art/openjdkjvmti/
Dti_redefine.cc2977 [](art::ObjPtr<art::mirror::Class> orig) REQUIRES_SHARED(art::Locks::mutator_lock_) { in UpdateClassStructurally()
2978 orig->VisitMethods( in UpdateClassStructurally()
2984 DCHECK_EQ(method->GetDeclaringClass(), orig) in UpdateClassStructurally()
2985 << method->GetDeclaringClass()->PrettyClass() << " vs " << orig->PrettyClass(); in UpdateClassStructurally()
2988 orig->VisitFields([&](art::ArtField* field) REQUIRES_SHARED(art::Locks::mutator_lock_) { in UpdateClassStructurally()
2989 DCHECK_EQ(field->GetDeclaringClass(), orig) in UpdateClassStructurally()
2990 << field->GetDeclaringClass()->PrettyClass() << " vs " << orig->PrettyClass(); in UpdateClassStructurally()