/art/tools/veridex/ |
D | hidden_api_finder.h | 48 void CheckMethod(uint32_t method_idx, VeridexResolver* resolver, MethodReference ref); 49 void CheckField(uint32_t field_idx, VeridexResolver* resolver, MethodReference ref); 50 void DumpReferences(std::ostream& os, const std::vector<MethodReference>& references); 55 std::map<std::string, std::vector<MethodReference>> reflection_locations_; 56 std::map<std::string, std::vector<MethodReference>> method_locations_; 57 std::map<std::string, std::vector<MethodReference>> field_locations_;
|
D | precise_hidden_api_finder.h | 54 void AddUsesAt(const std::vector<ReflectAccessInfo>& accesses, MethodReference ref); 58 std::map<MethodReference, std::vector<ReflectAccessInfo>> concrete_uses_; 59 std::map<MethodReference, std::vector<ReflectAccessInfo>> abstract_uses_;
|
D | precise_hidden_api_finder.cc | 48 MethodReference ref) { in AddUsesAt() 73 std::map<MethodReference, std::vector<ReflectAccessInfo>> current_uses in Run() 87 std::map<std::string, std::vector<MethodReference>> named_uses; in Dump() 89 MethodReference ref = it.first; in Dump() 107 for (const MethodReference& ref : it.second) { in Dump()
|
D | hidden_api_finder.cc | 34 MethodReference ref) { in CheckMethod() 45 MethodReference ref) { in CheckField() 181 std::vector<MethodReference>>& pair : method_locations_) { in Dump() 193 std::vector<MethodReference>>& pair : field_locations_) { in Dump() 224 const std::vector<MethodReference>& references) { in DumpReferences() 229 for (const MethodReference& ref : references) { in DumpReferences()
|
D | hidden_api.h | 51 static std::string GetApiMethodName(MethodReference ref) { in GetApiMethodName()
|
/art/compiler/dex/ |
D | verification_results.h | 51 void CreateVerifiedMethodFor(MethodReference ref) 54 const VerifiedMethod* GetVerifiedMethod(MethodReference ref) const 60 bool IsCandidateForCompilation(MethodReference& method_ref, const uint32_t access_flags) const; 67 using AtomicMap = AtomicDexRefMap<MethodReference, const VerifiedMethod*>; 68 using VerifiedMethodMap = SafeMap<MethodReference, const VerifiedMethod*>;
|
D | inline_method_analyser.h | 123 static bool IsSyntheticAccessor(MethodReference ref); 127 const MethodReference& method_ref, 135 const MethodReference& method_ref, 141 const MethodReference& method_ref,
|
D | verification_results.cc | 49 MethodReference ref = method_verifier->GetMethodReference(); in ProcessVerifiedMethod() 99 const VerifiedMethod* VerificationResults::GetVerifiedMethod(MethodReference ref) const { in GetVerifiedMethod() 109 void VerificationResults::CreateVerifiedMethodFor(MethodReference ref) { in CreateVerifiedMethodFor() 136 bool VerificationResults::IsCandidateForCompilation(MethodReference&, in IsCandidateForCompilation() argument 156 MethodReference ref = it->first; in AddDexFile()
|
/art/libdexfile/dex/ |
D | method_reference.h | 28 class MethodReference : public DexFileReference { 30 MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} in MethodReference() function 41 bool operator()(MethodReference mr1, MethodReference mr2) const { in operator() 50 bool SlowCompare(MethodReference mr1, MethodReference mr2) const { in SlowCompare()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 34 MethodReference method_ref) override; 91 MethodReference method_ref, 107 void ResolveMethodCalls(uint32_t quick_code_offset, MethodReference method_ref); 124 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method) in UnprocessedMethodCallPatch() 131 MethodReference GetTargetMethod() const { in GetTargetMethod() 137 MethodReference target_method_;
|
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher.h | 40 using const_iterator = SafeMap<MethodReference, uint32_t>::const_iterator; 59 uint32_t GetOffset(MethodReference method_ref) { in GetOffset() 65 void SetOffset(MethodReference method_ref, uint32_t offset) { in SetOffset() 72 MethodReference method_ref) { in ReserveSpace() 152 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) override; 153 SafeMap<MethodReference, uint32_t> map;
|
D | multi_oat_relative_patcher_test.cc | 28 static const MethodReference kNullMethodRef = MethodReference(nullptr, 0u); 38 MethodReference method_ref) override { in ReserveSpace() 110 MethodReference last_reserve_method_ = kNullMethodRef; 138 MethodReference ref1(dex_file, 1u); in TEST_F() 139 MethodReference ref2(dex_file, 2u); in TEST_F() 171 MethodReference ref1(dex_file, 1u); in TEST_F() 172 MethodReference ref2(dex_file, 2u); in TEST_F() 173 MethodReference ref3(dex_file, 3u); in TEST_F()
|
D | relative_patcher.h | 81 virtual std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) = 0; 116 MethodReference method_ref) = 0;
|
D | relative_patcher_test.h | 97 MethodReference MethodRef(uint32_t method_idx) { in MethodRef() 99 return MethodReference(nullptr, method_idx); in MethodRef() 103 MethodReference method_ref, 211 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() 346 std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) override { in FindMethodOffset() 354 SafeMap<MethodReference, uint32_t> map; 369 std::vector<MethodReference> compiled_method_refs_;
|
D | multi_oat_relative_patcher.cc | 77 MethodReference ref) { in FindMethodOffset()
|
/art/runtime/verifier/ |
D | method_verifier-inl.h | 33 inline MethodReference MethodVerifier::GetMethodReference() const { in GetMethodReference() 34 return MethodReference(dex_file_, dex_method_idx_); in GetMethodReference()
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.h | 67 const MethodReference& method_ref); 79 bool ShouldCompileMethod(const MethodReference& ref); 92 std::vector<MethodReference> methods_;
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 133 CompiledMethod* GetCompiledMethod(MethodReference ref) const; 135 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method); 136 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref); 199 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const; 315 typedef AtomicDexRefMap<MethodReference, CompiledMethod*> MethodTable;
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 109 MethodReference(method->GetDexFile(), method->GetDexMethodIndex())); in SaveProfilingInfo() 168 ProfileMethodInfo pmi(MethodReference(method->GetDexFile(), in SaveProfilingInfoWithFakeInlineCaches() 255 Hotness h = info1.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() 274 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() 279 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F() 312 Hotness h = info.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_base.h | 29 MethodReference method_ref) override;
|
D | relative_patcher_x86_base.cc | 27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/dex2oat/linker/mips64/ |
D | relative_patcher_mips64.h | 31 MethodReference method_ref) override;
|
/art/dex2oat/linker/mips/ |
D | relative_patcher_mips.h | 33 MethodReference method_ref) override;
|
/art/test/595-profile-saving/ |
D | profile-saving.cc | 62 MethodReference(art_method->GetDexFile(), in Java_Main_presentInProfile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 55 explicit ProfileMethodInfo(MethodReference reference) : ref(reference) {} in ProfileMethodInfo() 57 ProfileMethodInfo(MethodReference reference, const std::vector<ProfileInlineCache>& caches) in ProfileMethodInfo() 61 MethodReference ref; 283 bool AddMethodIndex(MethodHotness::Flag flags, const MethodReference& ref); 309 bool AddMethodHotness(const MethodReference& method_ref, const MethodHotness& hotness); 364 MethodHotness GetMethodHotness(const MethodReference& method_ref) const; 463 int32_t GetMethodAggregationCounter(const MethodReference& method_ref) const;
|