Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dmethod_type.cc59 ObjPtr<MethodType> method_type) { in CloneWithoutLeadingParameter() argument
61 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter()
62 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter()
63 const int32_t dst_ptypes_count = method_type->GetNumberOfPTypes() - 1; in CloneWithoutLeadingParameter()
75 ObjPtr<MethodType> method_type, in CollectTrailingArguments() argument
78 int32_t ptypes_length = method_type->GetNumberOfPTypes(); in CollectTrailingArguments()
80 return method_type; in CollectTrailingArguments()
85 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CollectTrailingArguments()
86 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments()
Dmethod_handle_impl.cc35 Handle<MethodType> method_type) in Initialize() argument
40 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_handles_lookup.cc53 Handle<MethodType> method_type) { in FindConstructor() argument
59 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(method_type.Get())) in FindConstructor()
Dmethod_type.h41 ObjPtr<MethodType> method_type)
47 ObjPtr<MethodType> method_type,
Dmethod_handle_impl.h96 void Initialize(uintptr_t art_field_or_method, Kind kind, Handle<MethodType> method_type)
135 Handle<MethodType> method_type)
Dmethod_handles_lookup.h50 Handle<MethodType> method_type)
Dvar_handle_test.cc234 ObjPtr<MethodType> method_type, in AccessModeMatch() argument
237 return vh->GetMethodTypeMatchForAccessMode(access_mode, method_type) == expected_match; in AccessModeMatch()
245 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeExactMatch() local
248 method_type, in AccessModeExactMatch()
257 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeWithConversionsMatch() local
260 method_type, in AccessModeWithConversionsMatch()
269 ObjPtr<MethodType> method_type = MethodTypeOf(descriptor); in AccessModeNoMatch() local
272 method_type, in AccessModeNoMatch()
382 auto test_mode = [=](VarHandle::AccessMode access_mode, Handle<MethodType> method_type) in TEST_F()
384 return fvh->GetMethodTypeForAccessMode(self, access_mode)->IsExactMatch(method_type.Get()); in TEST_F()
[all …]
Dvar_handle.h128 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type)
Dvar_handle.cc1333 ObjPtr<MethodType> method_type) { in GetMethodTypeMatchForAccessMode() argument
1338 ObjPtr<Class> mt_rtype = method_type->GetRType(); in GetMethodTypeMatchForAccessMode()
1361 if (vh_ptypes_count != method_type->GetPTypes()->GetLength()) { in GetMethodTypeMatchForAccessMode()
1366 ObjPtr<ObjectArray<Class>> mt_ptypes = method_type->GetPTypes(); in GetMethodTypeMatchForAccessMode()
/art/runtime/interpreter/
Dinterpreter.h53 DeoptimizationMethodType method_type)
/art/runtime/entrypoints/
Dentrypoint_utils.cc275 ObjPtr<mirror::MethodType> method_type = in ResolveMethodTypeFromCode() local
277 if (UNLIKELY(method_type == nullptr)) { in ResolveMethodTypeFromCode()
282 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode()
284 return method_type; in ResolveMethodTypeFromCode()
/art/runtime/verifier/
Dmethod_verifier.cc594 ArtMethod* ResolveMethodAndCheckAccess(uint32_t method_idx, MethodType method_type)
619 ArtMethod* VerifyInvocationArgs(const Instruction* inst, MethodType method_type, bool is_range)
624 void VerifyInvocationArgsUnresolvedMethod(const Instruction* inst, MethodType method_type,
630 MethodType method_type, bool is_range,
3816 uint32_t dex_method_idx, MethodType method_type) { in ResolveMethodAndCheckAccess() argument
3862 if (res_method->IsConstructor() && method_type != METHOD_DIRECT) { in ResolveMethodAndCheckAccess()
3882 if (method_type != METHOD_INTERFACE && in ResolveMethodAndCheckAccess()
3883 method_type != METHOD_STATIC && in ResolveMethodAndCheckAccess()
3885 method_type != METHOD_DIRECT) && in ResolveMethodAndCheckAccess()
3886 method_type != METHOD_SUPER) { in ResolveMethodAndCheckAccess()
[all …]
/art/compiler/optimizing/
Dcode_generator.cc874 HLoadMethodType* method_type, in CreateLoadMethodTypeRuntimeCallLocationSummary() argument
877 DCHECK_EQ(method_type->InputCount(), 1u); in CreateLoadMethodTypeRuntimeCallLocationSummary()
879 new (method_type->GetBlock()->GetGraph()->GetAllocator()) LocationSummary( in CreateLoadMethodTypeRuntimeCallLocationSummary()
880 method_type, LocationSummary::kCallOnMainOnly); in CreateLoadMethodTypeRuntimeCallLocationSummary()
886 void CodeGenerator::GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type) { in GenerateLoadMethodTypeRuntimeCall() argument
887 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall()
888 MoveConstant(locations->GetTemp(0), method_type->GetProtoIndex().index_); in GenerateLoadMethodTypeRuntimeCall()
890 InvokeRuntime(kQuickResolveMethodType, method_type, method_type->GetDexPc()); in GenerateLoadMethodTypeRuntimeCall()
Dcode_generator.h629 static void CreateLoadMethodTypeRuntimeCallLocationSummary(HLoadMethodType* method_type,
632 void GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type);
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc609 DeoptimizationMethodType method_type; in HandleDeoptimization() local
613 /* out */ &method_type); in HandleDeoptimization()
2446 Handle<mirror::MethodType> method_type( in artInvokePolymorphic() local
2448 if (UNLIKELY(method_type.IsNull())) { in artInvokePolymorphic()
2494 method_type, in artInvokePolymorphic()
2503 method_type, in artInvokePolymorphic()
2516 method_type, in artInvokePolymorphic()
/art/runtime/
Dthread.cc193 DeoptimizationMethodType method_type, in DeoptimizationContextRecord() argument
199 deopt_method_type_(method_type), in DeoptimizationContextRecord()
266 DeoptimizationMethodType method_type) { in PushDeoptimizationContext() argument
272 method_type, in PushDeoptimizationContext()
280 DeoptimizationMethodType* method_type) { in PopDeoptimizationContext() argument
287 *method_type = record->GetDeoptimizationMethodType(); in PopDeoptimizationContext()
3666 const DeoptimizationMethodType method_type = DeoptimizationMethodType::kDefault; in QuickDeliverException() local
3682 method_type); in QuickDeliverException()
4355 DeoptimizationMethodType method_type; in DeoptimizeWithDeoptimizationException() local
4356 PopDeoptimizationContext(result, &pending_exception, &from_code, &method_type); in DeoptimizeWithDeoptimizationException()
[all …]
Dthread.h1044 DeoptimizationMethodType method_type)
1049 DeoptimizationMethodType* method_type)
DAndroid.bp178 "mirror/method_type.cc",
Dclass_linker.cc9563 method_type(hs.NewHandle(mirror::MethodType::Create(self, return_type, method_params))); in ResolveMethodHandleForField() local
9564 if (UNLIKELY(method_type.IsNull())) { in ResolveMethodHandleForField()
9570 return mirror::MethodHandleImpl::Create(self, target, kind, method_type); in ResolveMethodHandleForField()
9732 method_type(hs.NewHandle(mirror::MethodType::Create(self, return_type, method_params))); in ResolveMethodHandleForMethod() local
9733 if (UNLIKELY(method_type.IsNull())) { in ResolveMethodHandleForMethod()
9742 return lookup->FindConstructor(self, constructor_class, method_type); in ResolveMethodHandleForMethod()
9746 return mirror::MethodHandleImpl::Create(self, target, kind, method_type); in ResolveMethodHandleForMethod()
/art/dexdump/
Ddexdump.cc1720 std::string method_type = pDexFile->GetProtoSignature(method_type_id).ToString(); in dumpCallSite() local
1727 fprintf(gOutFile, " link_argument[2] : %s (MethodType)\n", method_type.c_str()); in dumpCallSite()