Home
last modified time | relevance | path

Searched refs:GetClassDef (Results 1 – 25 of 52) 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.h370 const dex::ClassDef& GetClassDef() const;
Ddex_file_loader_test.cc480 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.cc162 const dex::ClassDef* class_def = klass->GetClassDef(); in CommonVerifyClass()
/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/compiler/driver/
Dcompiler_options.cc176 const char* descriptor = dex_file.GetClassDescriptor(dex_file.GetClassDef(class_def_idx)); in IsMethodVerifiedWithoutFailures()
/art/dexlist/
Ddexlist.cc137 const dex::ClassDef& class_def = pDexFile->GetClassDef(idx); in dumpClass()
/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/runtime/
Dart_method-inl.h268 inline const dex::ClassDef& ArtMethod::GetClassDef() { in GetClassDef() function
270 return GetDexFile()->GetClassDef(GetClassDefIndex()); in GetClassDef()
Dmodule_exclusion_test.cc66 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in DoTest()
Dhidden_api.cc402 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags()
428 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
/art/dexlayout/
Ddexlayout_test.cc363 classes.insert(dex::TypeIndex(dex_file->GetClassDef(i).class_idx_)); in CreateProfile()
793 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F()
828 const dex::ClassDef& class_def = output_dex_file->GetClassDef(i); in TEST_F()
/art/dex2oat/linker/
Dimage_write_read_test.cc122 const dex::ClassDef& class_def = dex->GetClassDef(j); in TestWriteRead()
/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::__anon4bc6c7790111::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.h172 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
/art/dex2oat/driver/
Dcompiler_driver.cc567 dex_file, dex_file.GetClassDef(class_def_idx), method_idx); in CompileMethodQuick()
1602 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1916 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2074 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2139 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2164 const dex::ClassDef* class_def = klass->GetClassDef(); in TryInitializeClass()
2364 const dex::ClassDef* class_def = klass->GetClassDef(); in InternStrings()
2667 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in CompileDexFile()
2834 ref.dex_file->GetClassDescriptor(ref.dex_file->GetClassDef(ref.index))) in RecordClassStatus()
/art/openjdkjvmti/
Dti_redefine.cc937 art::ClassAccessor accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckMethods()
956 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckMethods()
1017 art::ClassAccessor new_accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckFields()
1020 art::ClassAccessor old_accessor(old_dex_file, *h_klass->GetClassDef()); in CheckFields()
1083 const art::dex::ClassDef& def = dex_file_->GetClassDef(0); in CheckClass()
1622 /*class_def=*/ dex_file_->GetClassDef(0), in CheckVerification()
2068 dex_file->GetClassDef(dex_class_def_index), in AllocateNewClassObject()
2079 driver_->self_, *dex_file, dex_file->GetClassDef(dex_class_def_index), new_class); in AllocateNewClassObject()
2981 const art::dex::ClassDef& class_def = dex_file_->GetClassDef(0); in UpdateClassInPlace()

123