Home
last modified time | relevance | path

Searched refs:ClassAccessor (Results 1 – 25 of 46) sorted by relevance

12

/art/libdexfile/dex/
Dclass_accessor-inl.h32 inline ClassAccessor::ClassAccessor(const ClassIteratorData& data) in ClassAccessor() function
33 : ClassAccessor(data.dex_file_, data.class_def_idx_) {} in ClassAccessor()
35 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, in ClassAccessor() function
38 : ClassAccessor(dex_file, in ClassAccessor()
43 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, uint32_t class_def_index) in ClassAccessor() function
44 : ClassAccessor(dex_file, dex_file.GetClassDef(class_def_index)) {} in ClassAccessor()
46 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, in ClassAccessor() function
66 inline void ClassAccessor::Method::Read() { in Read()
76 inline MethodReference ClassAccessor::Method::GetReference() const { in GetReference()
81 inline void ClassAccessor::Field::Read() { in Read()
[all …]
Ddex_file_tracking_registrar.cc159 for (ClassAccessor accessor : dex_file_->GetClasses()) { in SetAllCodeItemRegistration()
160 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in SetAllCodeItemRegistration()
172 for (ClassAccessor class_accessor : dex_file_->GetClasses()) { in SetAllCodeItemStartRegistration()
173 for (const ClassAccessor::Method& method : class_accessor.GetMethods()) { in SetAllCodeItemStartRegistration()
190 for (ClassAccessor class_accessor : dex_file_->GetClasses()) { in SetAllInsnsRegistration()
191 for (const ClassAccessor::Method& method : class_accessor.GetMethods()) { in SetAllInsnsRegistration()
205 for (ClassAccessor accessor : dex_file_->GetClasses()) { in SetCodeItemRegistration()
206 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in SetCodeItemRegistration()
Dclass_accessor_test.cc32 for (ClassAccessor accessor : dex_file->GetClasses()) { in TEST_F()
46 [&](const ClassAccessor::Field& field) { in TEST_F()
54 [&](const ClassAccessor::Field& field) { in TEST_F()
65 [&](const ClassAccessor::Method& method) { in TEST_F()
74 [&](const ClassAccessor::Method& method) { in TEST_F()
Dclass_accessor.h40 class ClassAccessor {
150 friend class ClassAccessor; variable
176 friend class ClassAccessor; variable
275 ALWAYS_INLINE ClassAccessor(const ClassIteratorData& data); // NOLINT [runtime/explicit] [5]
277 ALWAYS_INLINE ClassAccessor(const DexFile& dex_file,
281 ALWAYS_INLINE ClassAccessor(const DexFile& dex_file, uint32_t class_def_index);
283 ClassAccessor(const DexFile& dex_file,
Dclass_iterator.h24 class ClassAccessor; variable
39 friend class ClassAccessor; variable
Ddex_file_verifier.cc323 ClassAccessor::Method* direct_methods,
345 uint32_t FindFirstClassDataDefiner(const ClassAccessor& accessor);
1265 ClassAccessor accessor(*dex_file_, ptr_); in CheckStaticFieldTypes()
1268 for (const ClassAccessor::Field& field : accessor.GetStaticFields()) { in CheckStaticFieldTypes()
1562 ClassAccessor::Method* direct_methods, in CheckIntraClassDataItemMethods()
1654 ClassAccessor::Method direct_methods(*dex_file_, direct_methods_ptr); in CheckIntraClassDataItem()
2516 uint32_t DexFileVerifier::FindFirstClassDataDefiner(const ClassAccessor& accessor) { in FindFirstClassDataDefiner()
2520 ClassAccessor::Field read_field(*dex_file_, accessor.ptr_pos_); in FindFirstClassDataDefiner()
2527 ClassAccessor::Method read_method(*dex_file_, accessor.ptr_pos_); in FindFirstClassDataDefiner()
2610 auto fn_member = [&](const ClassAccessor::BaseItem& member, const char* member_type) { in CheckInterHiddenapiClassData()
[all …]
/art/tools/veridex/
Dprecise_hidden_api_finder.cc37 const std::function<void(VeridexResolver*, const ClassAccessor::Method&)>& action) { in RunInternal()
39 for (ClassAccessor accessor : resolver->GetDexFile().GetClasses()) { in RunInternal()
41 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in RunInternal()
67 [this] (VeridexResolver* resolver, const ClassAccessor::Method& method) { in Run()
85 const ClassAccessor::Method& method) { in Run()
Dresolver.cc29 for (ClassAccessor accessor : dex_file_.GetClasses()) { in Run()
40 for (const ClassAccessor::Field& field : accessor.GetFields()) { in Run()
43 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in Run()
141 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupMethodIn()
142 for (const ClassAccessor::Method& method : other_dex_accessor.GetMethods()) { in LookupMethodIn()
196 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupFieldIn()
197 for (const ClassAccessor::Field& field : other_dex_accessor.GetFields()) { in LookupFieldIn()
246 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupDeclaredMethodIn()
247 for (const ClassAccessor::Method& method : other_dex_accessor.GetMethods()) { in LookupDeclaredMethodIn()
Dflow_analysis.h112 VeriFlowAnalysis(VeridexResolver* resolver, const ClassAccessor::Method& method);
189 FlowAnalysisCollector(VeridexResolver* resolver, const ClassAccessor::Method& method) in FlowAnalysisCollector()
208 const ClassAccessor::Method& method, in FlowAnalysisSubstitutor()
Dprecise_hidden_api_finder.h54 const std::function<void(VeridexResolver*, const ClassAccessor::Method&)>& action);
Dhidden_api_finder.cc61 for (ClassAccessor accessor : dex_file.GetClasses()) { in CollectAccesses()
63 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in CollectAccesses()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc53 for (ClassAccessor accessor : dex->GetClasses()) { in VerifyClassData()
54 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClassData()
/art/dex2oat/dex/
Dverification_results.cc63 ClassAccessor accessor(dex_file, class_def); in AddUncompilableClass()
64 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in AddUncompilableClass()
/art/libdexfile/external/
Ddex_file_ext.cc62 art::ClassAccessor accessor(*dex_file_, class_def_index); in FindMethod()
63 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in FindMethod()
88 for (art::ClassAccessor accessor : dex_file_->GetClasses()) { in CreateClassCache()
89 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in CreateClassCache()
248 for (art::ClassAccessor accessor : self->dex_file_->GetClasses()) { in ADexFile_forEachMethod()
249 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in ADexFile_forEachMethod()
/art/compiler/driver/
Ddex_compilation_unit.cc78 ClassAccessor accessor(*GetDexFile(), GetClassDefIndex()); in RequiresConstructorBarrier()
79 for (const ClassAccessor::Field& field : accessor.GetInstanceFields()) { in RequiresConstructorBarrier()
/art/dexdump/
Ddexdump_cfg.h27 void DumpMethodCFG(const ClassAccessor::Method& method, std::ostream& os);
Ddexdump.cc712 ClassAccessor accessor(*pDexFile, idx); in dumpClassDef()
1347 static void dumpMethod(const ClassAccessor::Method& method, int i) { in dumpMethod()
1468 static void dumpField(const ClassAccessor::Field& field, int i, const u1** data = nullptr) { in dumpField()
1525 ClassAccessor accessor(*dex_file, dex_file->GetClassDef(idx)); in dumpCfg()
1526 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in dumpCfg()
1646 ClassAccessor accessor(*pDexFile, pClassDef, /* parse_hiddenapi_class_data= */ true); in dumpClass()
1657 for (const ClassAccessor::Field& field : accessor.GetStaticFields()) { in dumpClass()
1667 for (const ClassAccessor::Field& field : accessor.GetInstanceFields()) { in dumpClass()
1677 for (const ClassAccessor::Method& method : accessor.GetDirectMethods()) { in dumpClass()
1687 for (const ClassAccessor::Method& method : accessor.GetVirtualMethods()) { in dumpClass()
/art/tools/hiddenapi/
Dhiddenapi.cc124 class DexClass : public ClassAccessor {
126 explicit DexClass(const ClassAccessor& accessor) : ClassAccessor(accessor) {} in DexClass()
172 DexMember(const DexClass& klass, const ClassAccessor::Field& item) in DexMember()
177 DexMember(const DexClass& klass, const ClassAccessor::Method& item) in DexMember()
228 inline const ClassAccessor::Method& GetMethod() const { in GetMethod()
230 return down_cast<const ClassAccessor::Method&>(item_); in GetMethod()
244 const ClassAccessor::BaseItem& item_;
256 for (ClassAccessor accessor : dex_file->GetClasses()) { in ForEachDexClass()
264 for (ClassAccessor accessor : dex_file->GetClasses()) { in ForEachDexClass()
273 for (const ClassAccessor::Field& field : klass.GetFields()) { in ForEachDexMember()
[all …]
/art/runtime/
Dhidden_api.cc270 MemberSignature::MemberSignature(const ClassAccessor::Field& field) { in MemberSignature()
279 MemberSignature::MemberSignature(const ClassAccessor::Method& method) { in MemberSignature()
475 const std::function<void(const ClassAccessor::Field&)>& fn_visit) { in VisitMembers()
476 ClassAccessor accessor(dex_file, class_def, /* parse_hiddenapi_class_data= */ true); in VisitMembers()
482 const std::function<void(const ClassAccessor::Method&)>& fn_visit) { in VisitMembers()
483 ClassAccessor accessor(dex_file, class_def, /* parse_hiddenapi_class_data= */ true); in VisitMembers()
492 ClassAccessor::Field, in GetDexFlags()
493 ClassAccessor::Method>::type; in GetDexFlags()
Dhidden_api.h192 explicit MemberSignature(const ClassAccessor::Field& field);
193 explicit MemberSignature(const ClassAccessor::Method& method);
268 ALWAYS_INLINE inline uint32_t CreateRuntimeFlags(const ClassAccessor::BaseItem& member) { in CreateRuntimeFlags()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc93 for (ClassAccessor accessor : dex_file->GetClasses()) { in ProcessDexFiles()
94 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFiles()
246 for (ClassAccessor accessor : dex_file.GetClasses()) { in ProcessDexFile()
255 for (const ClassAccessor::Field& field : accessor.GetStaticFields()) { in ProcessDexFile()
260 for (const ClassAccessor::Field& field : accessor.GetInstanceFields()) { in ProcessDexFile()
312 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFile()
578 for (ClassAccessor accessor : dex_file.GetClasses()) { in ProcessDexFile()
579 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFile()
Ddexanalyze_bytecode.cc116 for (ClassAccessor accessor : dex_file->GetClasses()) { in ProcessDexFiles()
117 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFiles()
133 for (ClassAccessor accessor : dex_file->GetClasses()) { in ProcessDexFiles()
134 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFiles()
/art/runtime/verifier/
Dclass_verifier.cc106 ClassAccessor accessor(*dex_file, class_def); in VerifyClass()
114 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClass()
/art/dexlist/
Ddexlist.cc148 ClassAccessor accessor(*pDexFile, class_def); in dumpClass()
149 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in dumpClass()
/art/openjdkjvmti/
Dti_redefine.h55 class ClassAccessor; variable
198 uint32_t GetNewClassSize(art::ClassAccessor& accessor)

12