/art/libdexfile/dex/ |
D | class_accessor-inl.h | 32 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 …]
|
D | dex_file_tracking_registrar.cc | 159 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()
|
D | class_accessor_test.cc | 32 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()
|
D | class_accessor.h | 39 class ClassAccessor { 149 friend class ClassAccessor; variable 175 friend class ClassAccessor; variable 272 ALWAYS_INLINE ClassAccessor(const ClassIteratorData& data); // NOLINT [runtime/explicit] [5] 274 ALWAYS_INLINE ClassAccessor(const DexFile& dex_file, 278 ALWAYS_INLINE ClassAccessor(const DexFile& dex_file, uint32_t class_def_index); 280 ClassAccessor(const DexFile& dex_file,
|
D | class_iterator.h | 24 class ClassAccessor; variable 39 friend class ClassAccessor; variable
|
D | dex_file_verifier.cc | 299 ClassAccessor::Method* direct_methods, 321 uint32_t FindFirstClassDataDefiner(const ClassAccessor& accessor); 1131 ClassAccessor accessor(*dex_file_, ptr_); in CheckStaticFieldTypes() 1134 for (const ClassAccessor::Field& field : accessor.GetStaticFields()) { in CheckStaticFieldTypes() 1426 ClassAccessor::Method* direct_methods, in CheckIntraClassDataItemMethods() 1521 ClassAccessor::Method direct_methods(*dex_file_, direct_methods_ptr); in CheckIntraClassDataItem() 1918 auto fn_member = [&](const ClassAccessor::BaseItem& member, const char* member_type) { in CheckIntraHiddenapiClassData() 1936 auto fn_field = [&](const ClassAccessor::Field& field) { fn_member(field, "field"); }; in CheckIntraHiddenapiClassData() 1937 auto fn_method = [&](const ClassAccessor::Method& method) { fn_member(method, "method"); }; in CheckIntraHiddenapiClassData() 1938 ClassAccessor accessor(*dex_file_, class_data); in CheckIntraHiddenapiClassData() [all …]
|
/art/tools/veridex/ |
D | precise_hidden_api_finder.cc | 37 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()
|
D | resolver.cc | 29 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()
|
D | flow_analysis.h | 112 VeriFlowAnalysis(VeridexResolver* resolver, const ClassAccessor::Method& method); 189 FlowAnalysisCollector(VeridexResolver* resolver, const ClassAccessor::Method& method) in FlowAnalysisCollector() 208 const ClassAccessor::Method& method, in FlowAnalysisSubstitutor()
|
D | precise_hidden_api_finder.h | 54 const std::function<void(VeridexResolver*, const ClassAccessor::Method&)>& action);
|
D | hidden_api_finder.cc | 61 for (ClassAccessor accessor : dex_file.GetClasses()) { in CollectAccesses() 63 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in CollectAccesses()
|
/art/test/983-source-transform-verify/ |
D | source_transform_art.cc | 56 for (ClassAccessor accessor : dex->GetClasses()) { in VerifyClassData() 57 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClassData()
|
/art/compiler/driver/ |
D | dex_compilation_unit.cc | 78 ClassAccessor accessor(*GetDexFile(), GetClassDefIndex()); in RequiresConstructorBarrier() 79 for (const ClassAccessor::Field& field : accessor.GetInstanceFields()) { in RequiresConstructorBarrier()
|
/art/dexdump/ |
D | dexdump_cfg.h | 27 void DumpMethodCFG(const ClassAccessor::Method& method, std::ostream& os);
|
D | dexdump.cc | 651 ClassAccessor accessor(*pDexFile, idx); in dumpClassDef() 1257 static void dumpMethod(const ClassAccessor::Method& method, int i) { in dumpMethod() 1378 static void dumpField(const ClassAccessor::Field& field, int i, const u1** data = nullptr) { in dumpField() 1435 ClassAccessor accessor(*dex_file, dex_file->GetClassDef(idx)); in dumpCfg() 1436 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in dumpCfg() 1556 ClassAccessor accessor(*pDexFile, pClassDef, /* parse_hiddenapi_class_data= */ true); in dumpClass() 1567 for (const ClassAccessor::Field& field : accessor.GetStaticFields()) { in dumpClass() 1577 for (const ClassAccessor::Field& field : accessor.GetInstanceFields()) { in dumpClass() 1587 for (const ClassAccessor::Method& method : accessor.GetDirectMethods()) { in dumpClass() 1597 for (const ClassAccessor::Method& method : accessor.GetVirtualMethods()) { in dumpClass()
|
/art/dex2oat/dex/ |
D | dex_to_dex_decompiler_test.cc | 85 for (ClassAccessor accessor : updated_dex_file->GetClasses()) { in RunTest() 87 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in RunTest()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 117 art::ClassAccessor accessor(*dex_file_, class_def_index); in GetMethodCacheEntryForOffset() 119 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in GetMethodCacheEntryForOffset() 144 for (art::ClassAccessor accessor : dex_file_->GetClasses()) { in GetClassDefIndex() 145 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in GetClassDefIndex() 365 for (art::ClassAccessor accessor : ext_dex_file->dex_file_->GetClasses()) { in ExtDexFileGetAllMethodInfos() 366 for (const art::ClassAccessor::Method& method : accessor.GetMethods()) { in ExtDexFileGetAllMethodInfos()
|
/art/runtime/ |
D | hidden_api.cc | 184 MemberSignature::MemberSignature(const ClassAccessor::Field& field) { in MemberSignature() 193 MemberSignature::MemberSignature(const ClassAccessor::Method& method) { in MemberSignature() 375 const std::function<void(const ClassAccessor::Field&)>& fn_visit) { in VisitMembers() 376 ClassAccessor accessor(dex_file, class_def, /* parse_hiddenapi_class_data= */ true); in VisitMembers() 382 const std::function<void(const ClassAccessor::Method&)>& fn_visit) { in VisitMembers() 383 ClassAccessor accessor(dex_file, class_def, /* parse_hiddenapi_class_data= */ true); in VisitMembers() 392 ClassAccessor::Field, ClassAccessor::Method>::type; in GetDexFlags()
|
D | hidden_api.h | 186 explicit MemberSignature(const ClassAccessor::Field& field); 187 explicit MemberSignature(const ClassAccessor::Method& method); 262 ALWAYS_INLINE inline uint32_t CreateRuntimeFlags(const ClassAccessor::BaseItem& member) { in CreateRuntimeFlags()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 108 class DexClass : public ClassAccessor { 110 explicit DexClass(const ClassAccessor& accessor) : ClassAccessor(accessor) {} in DexClass() 156 DexMember(const DexClass& klass, const ClassAccessor::Field& item) in DexMember() 161 DexMember(const DexClass& klass, const ClassAccessor::Method& item) in DexMember() 212 inline const ClassAccessor::Method& GetMethod() const { in GetMethod() 214 return down_cast<const ClassAccessor::Method&>(item_); in GetMethod() 228 const ClassAccessor::BaseItem& item_; 241 for (ClassAccessor accessor : dex_file->GetClasses()) { in ForEachDexClass() 250 for (const ClassAccessor::Field& field : klass.GetFields()) { in ForEachDexMember() 253 for (const ClassAccessor::Method& method : klass.GetMethods()) { in ForEachDexMember() [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 93 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() 577 for (ClassAccessor accessor : dex_file.GetClasses()) { in ProcessDexFile() 578 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in ProcessDexFile()
|
D | dexanalyze_bytecode.cc | 116 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/dexlist/ |
D | dexlist.cc | 144 ClassAccessor accessor(*pDexFile, class_def); in dumpClass() 145 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in dumpClass()
|
/art/runtime/verifier/ |
D | class_verifier.cc | 243 ClassAccessor accessor(*dex_file, class_def); in VerifyClass() 254 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClass()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 982 for (ClassAccessor accessor : dex_file->GetClasses()) { in CheckResult() 983 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in CheckResult() 1363 ClassAccessor accessor(*dex, *dex->FindClassDef(type_idx)); in TEST_F() 1365 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in TEST_F() 1473 ClassAccessor accessor(*dex_file, *class_def); in TEST_F() 1474 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in TEST_F() 1498 for (const ClassAccessor::Method& method2 : accessor.GetMethods()) { in TEST_F() 1554 for (ClassAccessor accessor : dex_file->GetClasses()) { in TEST_F() 1555 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in TEST_F() 2006 for (ClassAccessor accessor : dex->GetClasses()) { in TEST_F() [all …]
|