Home
last modified time | relevance | path

Searched refs:GetClassDef (Results 1 – 25 of 53) sorted by relevance

123

/art/tools/veridex/
Dresolver.cc38 type_infos_[type_idx] = VeriClass(Primitive::Type::kPrimNot, 0, &accessor.GetClassDef()); in Run()
98 existing->second->GetKind(), last_array + 1, existing->second->GetClassDef()); in GetVeriClass()
113 auto resolver_it = dex_resolvers_.lower_bound(reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
119 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
121 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
141 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupMethodIn()
153 if (kls.GetClassDef()->superclass_idx_.IsValid()) { in LookupMethodIn()
154 VeriClass* super = resolver->GetVeriClass(kls.GetClassDef()->superclass_idx_); in LookupMethodIn()
164 const dex::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupMethodIn()
196 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupFieldIn()
[all …]
Dveridex.h68 const dex::ClassDef* GetClassDef() const { return class_def_; } in GetClassDef() function
Dflow_analysis.cc718 if (cls != nullptr && cls->GetClassDef() != nullptr) { in AnalyzeInvoke()
719 const dex::ClassDef* def = cls->GetClassDef(); in AnalyzeInvoke()
/art/libdexfile/dex/
Dclass_accessor-inl.h44 : ClassAccessor(dex_file, dex_file.GetClassDef(class_def_index)) {} in ClassAccessor()
238 return dex_file_.GetClassDef(class_def_index_).class_idx_; in GetClassIdx()
241 inline const dex::ClassDef& ClassAccessor::GetClassDef() const { in GetClassDef() function
242 return dex_file_.GetClassDef(GetClassDefIndex()); in GetClassDef()
Dart_dex_file_loader_test.cc102 const dex::ClassDef& c0 = raw->GetClassDef(0); in TEST_F()
105 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F()
108 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F()
117 const dex::ClassDef& class_def = raw->GetClassDef(0); in TEST_F()
Dtype_lookup_table.cc50 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
65 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in Create()
Dclass_accessor_test.cc33 const dex::ClassDef& class_def = dex_file->GetClassDef(accessor.GetClassDefIndex()); in TEST_F()
Dclass_accessor.h369 const dex::ClassDef& GetClassDef() const;
Ddex_file_loader_test.cc490 const dex::ClassDef& class_def = raw->GetClassDef(0); in TEST_F()
/art/runtime/verifier/
Dmethod_verifier_test.cc61 const dex::ClassDef& class_def = dex.GetClassDef(i); in VerifyDexFile()
Dclass_verifier.cc59 const dex::ClassDef* class_def = klass->GetClassDef(); in VerifyClass()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc61 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesVerified()
155 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesPreverified()
/art/runtime/
Dmodule_exclusion_test.cc64 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in DoTest()
Dart_method-inl.h268 inline const dex::ClassDef& ArtMethod::GetClassDef() { in GetClassDef() function
270 return GetDexFile()->GetClassDef(GetClassDefIndex()); in GetClassDef()
Dhidden_api.cc366 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags()
392 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
/art/compiler/driver/
Dcompiler_options.cc177 const char* descriptor = dex_file.GetClassDescriptor(dex_file.GetClassDef(class_def_idx)); in IsMethodVerifiedWithoutFailures()
/art/dex2oat/
Dverifier_deps_test.cc150 const dex::ClassDef* class_def = klass_Main_->GetClassDef(); in VerifyMethod()
233 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in VerifyClassStatus()
1217 dex_file->GetClassDef(0u), in TEST_F()
1220 dex_file->GetClassDef(1u), in TEST_F()
1226 dex_file->GetClassDef(1u), in TEST_F()
1229 dex_file->GetClassDef(0u), in TEST_F()
/art/dexlist/
Ddexlist.cc137 const dex::ClassDef& class_def = pDexFile->GetClassDef(idx); in dumpClass()
/art/dexlayout/
Ddexlayout_test.cc372 cur_classes.AddClass(dex_file->GetClassDef(i).class_idx_); in CreateProfile()
796 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F()
831 const dex::ClassDef& class_def = output_dex_file->GetClassDef(i); in TEST_F()
/art/tools/hiddenapi/
Dhiddenapi.cc112 const uint8_t* GetData() const { return dex_file_.GetClassData(GetClassDef()); } in GetData()
114 const dex::TypeIndex GetSuperclassIndex() const { return GetClassDef().superclass_idx_; } in GetSuperclassIndex()
124 const dex::TypeList* ifaces = dex_file_.GetInterfacesList(GetClassDef()); in GetInterfaceDescriptors()
146 uint32_t GetAccessFlags() const { return GetClassDef().access_flags_; } in GetAccessFlags()
/art/runtime/dex/
Ddex_file_annotations.cc72 &method->GetClassDef()) {} in REQUIRES_SHARED()
83 klass->GetClassDef()) {} in REQUIRES_SHARED()
89 const dex::ClassDef* GetClassDef() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassDef() function in art::__anoncd5616a20111::ClassData
175 const dex::ClassDef* class_def = klass->GetClassDef(); in FindAnnotationSetForField()
311 method->GetClassDef(), in FindAnnotationSetForMethod()
319 dex_file->GetAnnotationsDirectory(method->GetClassDef()); in FindAnnotationsItemForMethod()
341 const dex::ClassDef* class_def = klass.GetClassDef(); in FindAnnotationSetForClass()
1056 dex_file->GetAnnotationsDirectory(*klass.GetClassDef()); in GetAnnotationDefaultValue()
/art/compiler/debug/
Delf_debug_line_writer.h174 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
/art/openjdkjvmti/
Dti_redefine.cc672 art::ClassAccessor accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckSameMethods()
723 art::ClassAccessor new_accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckSameFields()
726 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckSameFields()
797 const art::dex::ClassDef& def = dex_file_->GetClassDef(0); in CheckClass()
1181 /*class_def=*/ dex_file_->GetClassDef(0), in CheckVerification()
1515 const art::dex::ClassDef& class_def = dex_file_->GetClassDef(0); in UpdateClass()
/art/dex2oat/driver/
Dcompiler_driver.cc563 dex_file, dex_file.GetClassDef(class_def_idx), method_idx); in CompileMethodQuick()
1575 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1887 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2030 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2095 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2120 const dex::ClassDef* class_def = klass->GetClassDef(); in TryInitializeClass()
2285 const dex::ClassDef* class_def = klass->GetClassDef(); in InternStrings()
2582 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in CompileDexFile()
2748 ref.dex_file->GetClassDescriptor(ref.dex_file->GetClassDef(ref.index))) in RecordClassStatus()
/art/runtime/mirror/
Dclass.cc1035 const dex::ClassDef* Class::GetClassDef() { in GetClassDef() function in art::mirror::Class
1040 return &GetDexFile().GetClassDef(class_def_idx); in GetClassDef()
1103 const dex::ClassDef* dex_class_def = GetClassDef(); in GetSourceFile()
1121 const dex::ClassDef* class_def = GetClassDef(); in GetInterfaceTypeList()

123