Home
last modified time | relevance | path

Searched refs:resolver (Results 1 – 13 of 13) sorted by relevance

/art/tools/class2greylist/test/src/com/android/class2greylist/
DApiResolverTest.java38 ApiResolver resolver = new ApiResolver(publicApis); in testFindPublicAlternativeExactly() local
39 resolver.resolvePublicAlternatives("{@link a.b.C#foo(int)}", "Lb/c/D;->bar()V", 1); in testFindPublicAlternativeExactly()
48 ApiResolver resolver = new ApiResolver(publicApis); in testFindPublicAlternativeDeducedPackageName() local
49 resolver.resolvePublicAlternatives("{@link C#foo(int)}", "La/b/D;->bar()V", 1); in testFindPublicAlternativeDeducedPackageName()
58 ApiResolver resolver = new ApiResolver(publicApis); in testFindPublicAlternativeDeducedPackageAndClassName() local
59 resolver.resolvePublicAlternatives("{@link #foo(int)}", "La/b/C;->bar()V", 1); in testFindPublicAlternativeDeducedPackageAndClassName()
68 ApiResolver resolver = new ApiResolver(publicApis); in testFindPublicAlternativeDeducedParameterTypes() local
69 resolver.resolvePublicAlternatives("{@link #foo}", "La/b/C;->bar()V", 1); in testFindPublicAlternativeDeducedParameterTypes()
77 ApiResolver resolver = new ApiResolver(publicApis); in testFindPublicAlternativeFailDueToMultipleParameterTypes() local
79 () -> resolver.resolvePublicAlternatives("{@link #foo}", "La/b/C;->bar()V", 1)); in testFindPublicAlternativeFailDueToMultipleParameterTypes()
[all …]
/art/compiler/optimizing/
Dparallel_move_test.cc188 TypeParam resolver(&allocator); in TYPED_TEST() local
190 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
192 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
194 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
199 TypeParam resolver(&allocator); in TYPED_TEST() local
201 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
203 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str()); in TYPED_TEST()
205 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str()); in TYPED_TEST()
215 TypeParam resolver(&allocator); in TYPED_TEST() local
217 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))); in TYPED_TEST()
[all …]
Dparallel_move_resolver.cc284 ParallelMoveResolverWithSwap* resolver, int blocked, int if_scratch, int number_of_registers) in ScratchRegisterScope() argument
285 : resolver_(resolver), in ScratchRegisterScope()
291 resolver->SpillScratch(reg_); in ScratchRegisterScope()
Dparallel_move_resolver.h66 ScratchRegisterScope(ParallelMoveResolverWithSwap* resolver,
/art/tools/veridex/
Dhidden_api_finder.cc33 VeridexResolver* resolver, in CheckMethod() argument
37 const auto& name = HiddenApi::GetApiMethodName(resolver->GetDexFile(), method_id); in CheckMethod()
42 VeridexResolver* resolver, in CheckField() argument
46 const auto& name = HiddenApi::GetApiFieldName(resolver->GetDexFile(), field_id); in CheckField()
50 void HiddenApiFinder::CollectAccesses(VeridexResolver* resolver, in CollectAccesses() argument
52 const DexFile& dex_file = resolver->GetDexFile(); in CollectAccesses()
99 CheckMethod(inst->VRegB_35c(), resolver, method.GetReference()); in CollectAccesses()
108 CheckMethod(inst->VRegB_3rc(), resolver, method.GetReference()); in CollectAccesses()
119 CheckField(inst->VRegC_22c(), resolver, method.GetReference()); in CollectAccesses()
130 CheckField(inst->VRegC_22c(), resolver, method.GetReference()); in CollectAccesses()
[all …]
Dprecise_hidden_api_finder.cc38 for (const std::unique_ptr<VeridexResolver>& resolver : resolvers) { in RunInternal() local
39 for (ClassAccessor accessor : resolver->GetDexFile().GetClasses()) { in RunInternal()
43 action(resolver.get(), method); in RunInternal()
67 [this] (VeridexResolver* resolver, const ClassAccessor::Method& method) { in Run() argument
68 FlowAnalysisCollector collector(resolver, method); in Run()
84 [this, current_uses] (VeridexResolver* resolver, in Run()
86 FlowAnalysisSubstitutor substitutor(resolver, method, current_uses); in Run()
Dresolver.cc137 VeridexResolver* resolver = GetResolverOf(kls); in LookupMethodIn() local
140 const DexFile& other_dex_file = resolver->dex_file_; in LookupMethodIn()
154 VeriClass* super = resolver->GetVeriClass(kls.GetClassDef()->superclass_idx_); in LookupMethodIn()
156 VeriMethod super_method = resolver->LookupMethodIn(*super, method_name, method_signature); in LookupMethodIn()
168 VeriClass* itf = resolver->GetVeriClass(idx); in LookupMethodIn()
170 VeriMethod itf_method = resolver->LookupMethodIn(*itf, method_name, method_signature); in LookupMethodIn()
192 VeridexResolver* resolver = GetResolverOf(kls); in LookupFieldIn() local
195 const DexFile& other_dex_file = resolver->dex_file_; in LookupFieldIn()
212 VeriClass* itf = resolver->GetVeriClass(idx); in LookupFieldIn()
214 VeriField itf_field = resolver->LookupFieldIn(*itf, field_name, field_type); in LookupFieldIn()
[all …]
Dhidden_api_finder.h49 void CollectAccesses(VeridexResolver* resolver, const ClassFilter& class_filter);
50 void CheckMethod(uint32_t method_idx, VeridexResolver* resolver, MethodReference ref);
51 void CheckField(uint32_t field_idx, VeridexResolver* resolver, MethodReference ref);
Dflow_analysis.h112 VeriFlowAnalysis(VeridexResolver* resolver, const ClassAccessor::Method& method);
189 FlowAnalysisCollector(VeridexResolver* resolver, const ClassAccessor::Method& method) in FlowAnalysisCollector() argument
190 : VeriFlowAnalysis(resolver, method) {} in FlowAnalysisCollector()
207 FlowAnalysisSubstitutor(VeridexResolver* resolver, in FlowAnalysisSubstitutor() argument
210 : VeriFlowAnalysis(resolver, method), accesses_(accesses) {} in FlowAnalysisSubstitutor()
Dveridex.cc331 VeridexResolver* resolver = in Resolve() local
333 resolvers->emplace_back(resolver); in Resolve()
334 resolver_map[reinterpret_cast<uintptr_t>(dex_file->Begin())] = resolver; in Resolve()
337 for (const std::unique_ptr<VeridexResolver>& resolver : *resolvers) { in Resolve()
338 resolver->Run(); in Resolve()
DAndroid.bp24 "resolver.cc",
Dflow_analysis.cc30 VeriFlowAnalysis::VeriFlowAnalysis(VeridexResolver* resolver, in VeriFlowAnalysis() argument
32 : resolver_(resolver), in VeriFlowAnalysis()
/art/test/626-checker-arm64-scratch-register/smali/
DMain2.smali259 # // resolver's scratch register pool (provided by VIXL) was in the