Home
last modified time | relevance | path

Searched refs:method_type (Results 1 – 25 of 27) sorted by relevance

12

/art/runtime/mirror/
Dstack_frame_info.cc31 Handle<MethodType> method_type, in AssignFields() argument
37 SetFields<true>(declaring_class.Get(), method_type.Get(), method_name.Get(), in AssignFields()
40 SetFields<false>(declaring_class.Get(), method_type.Get(), method_name.Get(), in AssignFields()
47 ObjPtr<MethodType> method_type, in SetFields() argument
55 method_type); in SetFields()
Dmethod_handle_impl.cc35 Handle<MethodType> method_type) in Initialize() argument
39 SetFieldObject<false>(MethodTypeOffset(), method_type.Get()); in Initialize()
48 Handle<MethodType> method_type) in Create() argument
53 mh->Initialize(art_field_or_method, kind, method_type); in Create()
Dmethod_type.cc68 ObjPtr<MethodType> method_type) { in CloneWithoutLeadingParameter() argument
70 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter()
71 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter()
72 const int32_t dst_ptypes_count = method_type->GetNumberOfPTypes() - 1; in CloneWithoutLeadingParameter()
84 ObjPtr<MethodType> method_type, in CollectTrailingArguments() argument
87 int32_t ptypes_length = method_type->GetNumberOfPTypes(); in CollectTrailingArguments()
89 return method_type; in CollectTrailingArguments()
94 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CollectTrailingArguments()
95 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments()
Dmethod_handles_lookup.cc50 Handle<MethodType> method_type) { in FindConstructor() argument
54 find_constructor->InvokeFinal<'L', 'L', 'L'>(self, this, klass.Get(), method_type.Get())); in FindConstructor()
Dstack_frame_info.h37 Handle<MethodType> method_type,
57 ObjPtr<MethodType> method_type,
Dmethod_type.h41 ObjPtr<MethodType> method_type)
47 ObjPtr<MethodType> method_type,
Dmethod_handle_impl.h84 void Initialize(uintptr_t art_field_or_method, Kind kind, Handle<MethodType> method_type)
123 Handle<MethodType> method_type)
Ddex_cache_test.cc154 auto* method_type = method_types_cache->Get(i); in TEST_F() local
156 ASSERT_EQ(method1_type.Get(), method_type); in TEST_F()
158 ASSERT_EQ(method2_type.Get(), method_type); in TEST_F()
Dmethod_handles_lookup.h50 Handle<MethodType> method_type)
Dvar_handle_test.cc238 ObjPtr<MethodType> method_type, in AccessModeMatch() argument
241 return vh->GetMethodTypeMatchForAccessMode(access_mode, method_type) == expected_match; in AccessModeMatch()
249 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeExactMatch() local
252 method_type, in AccessModeExactMatch()
261 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeWithConversionsMatch() local
264 method_type, in AccessModeWithConversionsMatch()
273 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeNoMatch() local
276 method_type, in AccessModeNoMatch()
386 auto test_mode = [=](VarHandle::AccessMode access_mode, Handle<MethodType> method_type) in TEST_F()
388 return fvh->GetMethodTypeForAccessMode(self, access_mode)->IsExactMatch(method_type.Get()); in TEST_F()
[all …]
Dvar_handle.h129 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type)
Dvar_handle.cc1339 ObjPtr<MethodType> method_type) { in GetMethodTypeMatchForAccessMode() argument
1344 ObjPtr<Class> mt_rtype = method_type->GetRType(); in GetMethodTypeMatchForAccessMode()
1367 if (vh_ptypes_count != method_type->GetPTypes()->GetLength()) { in GetMethodTypeMatchForAccessMode()
1372 ObjPtr<ObjectArray<Class>> mt_ptypes = method_type->GetPTypes(); in GetMethodTypeMatchForAccessMode()
/art/runtime/interpreter/
Dinterpreter.h53 DeoptimizationMethodType method_type)
/art/runtime/entrypoints/
Dentrypoint_utils.cc303 ObjPtr<mirror::MethodType> method_type = in ResolveMethodTypeFromCode() local
305 if (UNLIKELY(method_type == nullptr)) { in ResolveMethodTypeFromCode()
310 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
312 return method_type; in ResolveMethodTypeFromCode()
/art/runtime/verifier/
Dmethod_verifier.cc572 ArtMethod* ResolveMethodAndCheckAccess(uint32_t method_idx, MethodType method_type)
597 ArtMethod* VerifyInvocationArgs(const Instruction* inst, MethodType method_type, bool is_range)
602 void VerifyInvocationArgsUnresolvedMethod(const Instruction* inst, MethodType method_type,
608 MethodType method_type, bool is_range,
3743 uint32_t dex_method_idx, MethodType method_type) { in ResolveMethodAndCheckAccess() argument
3789 if (res_method->IsConstructor() && method_type != METHOD_DIRECT) { in ResolveMethodAndCheckAccess()
3809 if (method_type != METHOD_INTERFACE && in ResolveMethodAndCheckAccess()
3810 method_type != METHOD_STATIC && in ResolveMethodAndCheckAccess()
3812 method_type != METHOD_DIRECT) && in ResolveMethodAndCheckAccess()
3813 method_type != METHOD_SUPER) { in ResolveMethodAndCheckAccess()
[all …]
/art/runtime/
Dmethod_handles.h133 Handle<mirror::MethodType> method_type,
Dmethod_handles-inl.h242 Handle<mirror::MethodType> method_type, in CopyArguments() argument
246 Handle<mirror::ObjectArray<mirror::Class>> ptypes(hs.NewHandle(method_type->GetPTypes())); in CopyArguments()
Dtransaction_test.cc556 ObjPtr<mirror::MethodType> method_type = in TEST_F() local
558 ASSERT_TRUE(method_type != nullptr); in TEST_F()
560 ASSERT_TRUE(h_dex_cache->GetResolvedMethodType(proto_index) == method_type); in TEST_F()
Dthread.cc203 DeoptimizationMethodType method_type, in DeoptimizationContextRecord() argument
209 deopt_method_type_(method_type), in DeoptimizationContextRecord()
278 DeoptimizationMethodType method_type) { in PushDeoptimizationContext() argument
285 method_type, in PushDeoptimizationContext()
293 DeoptimizationMethodType* method_type) { in PopDeoptimizationContext() argument
300 *method_type = record->GetDeoptimizationMethodType(); in PopDeoptimizationContext()
3929 const DeoptimizationMethodType method_type = DeoptimizationMethodType::kDefault; in QuickDeliverException() local
3937 method_type); in QuickDeliverException()
4674 DeoptimizationMethodType method_type; in DeoptimizeWithDeoptimizationException() local
4675 PopDeoptimizationContext(result, &pending_exception, &from_code, &method_type); in DeoptimizeWithDeoptimizationException()
[all …]
Dthread.h1150 DeoptimizationMethodType method_type)
1155 DeoptimizationMethodType* method_type)
/art/compiler/optimizing/
Dcode_generator.cc884 HLoadMethodType* method_type, in CreateLoadMethodTypeRuntimeCallLocationSummary() argument
887 DCHECK_EQ(method_type->InputCount(), 1u); in CreateLoadMethodTypeRuntimeCallLocationSummary()
889 new (method_type->GetBlock()->GetGraph()->GetAllocator()) LocationSummary( in CreateLoadMethodTypeRuntimeCallLocationSummary()
890 method_type, LocationSummary::kCallOnMainOnly); in CreateLoadMethodTypeRuntimeCallLocationSummary()
896 void CodeGenerator::GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type) { in GenerateLoadMethodTypeRuntimeCall() argument
897 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall()
898 MoveConstant(locations->GetTemp(0), method_type->GetProtoIndex().index_); in GenerateLoadMethodTypeRuntimeCall()
900 InvokeRuntime(kQuickResolveMethodType, method_type, method_type->GetDexPc()); in GenerateLoadMethodTypeRuntimeCall()
Dcode_generator.h657 static void CreateLoadMethodTypeRuntimeCallLocationSummary(HLoadMethodType* method_type,
660 void GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type);
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc634 DeoptimizationMethodType method_type; in HandleDeoptimization() local
638 /* out */ &method_type); in HandleDeoptimization()
669 method_type); in HandleDeoptimization()
2358 Handle<mirror::MethodType> method_type( in artInvokePolymorphic() local
2360 if (UNLIKELY(method_type.IsNull())) { in artInvokePolymorphic()
2405 method_type, in artInvokePolymorphic()
2414 method_type, in artInvokePolymorphic()
2427 method_type, in artInvokePolymorphic()
/art/dexdump/
Ddexdump.cc1810 std::string method_type = pDexFile->GetProtoSignature(method_type_id).ToString(); in dumpCallSite() local
1817 fprintf(gOutFile, " link_argument[2] : %s (MethodType)\n", method_type.c_str()); in dumpCallSite()
/art/dexlayout/
Ddexlayout.cc1740 std::string method_type = GetSignatureForProtoId(proto_id); in DumpCallSite() local
1747 fprintf(out_file_, " link_argument[2] : %s (MethodType)\n", method_type.c_str()); in DumpCallSite()

12