Home
last modified time | relevance | path

Searched refs:MethodReference (Results 1 – 25 of 65) sorted by relevance

123

/art/tools/veridex/
Dhidden_api_finder.h48 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_;
Dprecise_hidden_api_finder.h54 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_;
Dprecise_hidden_api_finder.cc48 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()
Dhidden_api_finder.cc34 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()
Dhidden_api.h51 static std::string GetApiMethodName(MethodReference ref) { in GetApiMethodName()
/art/compiler/dex/
Dverification_results.h51 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*>;
Dinline_method_analyser.h123 static bool IsSyntheticAccessor(MethodReference ref);
127 const MethodReference& method_ref,
135 const MethodReference& method_ref,
141 const MethodReference& method_ref,
Dverification_results.cc49 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/
Dmethod_reference.h28 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/
Drelative_patcher_arm_base.h34 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/
Dmulti_oat_relative_patcher.h40 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;
Dmulti_oat_relative_patcher_test.cc28 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()
Drelative_patcher.h81 virtual std::pair<bool, uint32_t> FindMethodOffset(MethodReference ref) = 0;
116 MethodReference method_ref) = 0;
Drelative_patcher_test.h97 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_;
Dmulti_oat_relative_patcher.cc77 MethodReference ref) { in FindMethodOffset()
/art/runtime/verifier/
Dmethod_verifier-inl.h33 inline MethodReference MethodVerifier::GetMethodReference() const { in GetMethodReference()
34 return MethodReference(dex_file_, dex_method_idx_); in GetMethodReference()
/art/dex2oat/dex/
Ddex_to_dex_compiler.h67 const MethodReference& method_ref);
79 bool ShouldCompileMethod(const MethodReference& ref);
92 std::vector<MethodReference> methods_;
/art/dex2oat/driver/
Dcompiler_driver.h133 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/
Dprofiling_info_test.cc109 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/
Drelative_patcher_x86_base.h29 MethodReference method_ref) override;
Drelative_patcher_x86_base.cc27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
/art/dex2oat/linker/mips64/
Drelative_patcher_mips64.h31 MethodReference method_ref) override;
/art/dex2oat/linker/mips/
Drelative_patcher_mips.h33 MethodReference method_ref) override;
/art/test/595-profile-saving/
Dprofile-saving.cc62 MethodReference(art_method->GetDexFile(), in Java_Main_presentInProfile()
/art/libprofile/profile/
Dprofile_compilation_info.h55 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;

123