Home
last modified time | relevance | path

Searched refs:GetClassDef (Results 1 – 25 of 59) 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
/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.cc111 const dex::ClassDef& c0 = raw->GetClassDef(0); in TEST_F()
114 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F()
117 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F()
126 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;
/art/dex2oat/
Dverifier_deps_test.cc150 const dex::ClassDef* class_def = klass_Main_->GetClassDef(); in VerifyMethod()
211 primary_dex_file_->GetClassDef(0), in TestAssignabilityRecording()
229 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in VerifyClassStatus()
552 dex_file->GetClassDef(0u), in TEST_F()
556 dex_file->GetClassDef(1u), in TEST_F()
561 dex_file->GetClassDef(1u), in TEST_F()
565 dex_file->GetClassDef(0u), in TEST_F()
/art/runtime/verifier/
Dreg_type-inl.h121 verifier->GetClassDef(), in AssignableFrom()
132 verifier->GetClassDef(), in AssignableFrom()
Dmethod_verifier_test.cc70 const dex::ClassDef& class_def = dex.GetClassDef(i); in VerifyDexFile()
Dverifier_deps.cc101 const dex::ClassDef* class_def = klass->GetClassDef(); in GetClassDescriptorStringId()
678 << dex_file.GetClassDescriptor(dex_file.GetClassDef(idx)) in Dump()
692 << dex_file.GetClassDescriptor(dex_file.GetClassDef(idx)) in Dump()
Dmethod_verifier.h147 const dex::ClassDef& GetClassDef() const { in GetClassDef() function
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc62 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesVerified()
158 const char* desc = dex_file->GetClassDescriptor(dex_file->GetClassDef(cdef_idx)); in Java_Main_areClassesPreverified()
/art/compiler/driver/
Dcompiler_options.cc179 const char* descriptor = dex_file.GetClassDescriptor(dex_file.GetClassDef(class_def_idx)); in IsMethodVerifiedWithoutFailures()
/art/runtime/
Dart_method-inl.h278 inline const dex::ClassDef& ArtMethod::GetClassDef() { in GetClassDef() function
280 return GetDexFile()->GetClassDef(GetClassDefIndex()); in GetClassDef()
Dmodule_exclusion_test.cc66 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in DoTest()
Dhidden_api.cc427 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags()
453 const dex::ClassDef& original_class_def = original_dex->GetClassDef(class_def_idx); in GetDexFlags()
/art/compiler/debug/
Delf_symtab_writer.h73 auto& dex_class_def = first->dex_file->GetClassDef(first->class_def_index); in GetDedupedName()
Delf_debug_line_writer.h172 auto& dex_class_def = dex->GetClassDef(mi->class_def_index); in WriteCompilationUnit()
/art/dexlist/
Ddexlist.cc137 const dex::ClassDef& class_def = pDexFile->GetClassDef(idx); in dumpClass()
/art/dexlayout/
Ddexlayout_test.cc363 classes.insert(dex::TypeIndex(dex_file->GetClassDef(i).class_idx_)); in CreateProfile()
787 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F()
822 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/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::__anon1fa1ee800111::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()
1035 dex_file->GetAnnotationsDirectory(*klass.GetClassDef()); in GetAnnotationDefaultValue()
/art/tools/hiddenapi/
Dhiddenapi.cc125 const uint8_t* GetData() const { return dex_file_.GetClassData(GetClassDef()); } in GetData()
127 const dex::TypeIndex GetSuperclassIndex() const { return GetClassDef().superclass_idx_; } in GetSuperclassIndex()
137 const dex::TypeList* ifaces = dex_file_.GetInterfacesList(GetClassDef()); in GetInterfaceDescriptors()
159 uint32_t GetAccessFlags() const { return GetClassDef().access_flags_; } in GetAccessFlags()
/art/dex2oat/driver/
Dcompiler_driver.cc448 dex_file, dex_file.GetClassDef(class_def_idx), method_idx); in CompileMethodQuick()
1531 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1877 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2044 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2109 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
2136 const dex::ClassDef* class_def = klass->GetClassDef(); in TryInitializeClass()
2339 const dex::ClassDef* class_def = klass->GetClassDef(); in InternStrings()
2578 const dex::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in CompileDexFile()
2722 ref.dex_file->GetClassDescriptor(ref.dex_file->GetClassDef(ref.index))) in RecordClassStatus()

123