/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 | 40 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,
|
D | class_iterator.h | 24 class ClassAccessor; variable 39 friend class ClassAccessor; variable
|
D | dex_file_verifier.cc | 323 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/ |
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 | 53 for (ClassAccessor accessor : dex->GetClasses()) { in VerifyClassData() 54 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClassData()
|
/art/dex2oat/dex/ |
D | verification_results.cc | 63 ClassAccessor accessor(dex_file, class_def); in AddUncompilableClass() 64 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in AddUncompilableClass()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 62 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/ |
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 | 712 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/ |
D | hiddenapi.cc | 124 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/ |
D | hidden_api.cc | 270 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()
|
D | hidden_api.h | 192 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/ |
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() 578 for (ClassAccessor accessor : dex_file.GetClasses()) { in ProcessDexFile() 579 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/runtime/verifier/ |
D | class_verifier.cc | 106 ClassAccessor accessor(*dex_file, class_def); in VerifyClass() 114 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in VerifyClass()
|
/art/dexlist/ |
D | dexlist.cc | 148 ClassAccessor accessor(*pDexFile, class_def); in dumpClass() 149 for (const ClassAccessor::Method& method : accessor.GetMethods()) { in dumpClass()
|
/art/openjdkjvmti/ |
D | ti_redefine.h | 55 class ClassAccessor; variable 198 uint32_t GetNewClassSize(art::ClassAccessor& accessor)
|