/art/runtime/mirror/ |
D | method_type.cc | 57 ObjPtr<MethodType> MethodType::Create(Thread* self, RawMethodType method_type) { in Create() argument 58 Handle<mirror::Class> return_type = method_type.GetRTypeHandle(); in Create() 59 RawPTypesAccessor p_types(method_type); in Create() 80 ObjPtr<MethodType> method_type) { in CloneWithoutLeadingParameter() argument 82 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter() 83 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter() 84 const int32_t dst_ptypes_count = method_type->GetNumberOfPTypes() - 1; in CloneWithoutLeadingParameter() 96 ObjPtr<MethodType> method_type, in CollectTrailingArguments() argument 99 int32_t ptypes_length = method_type->GetNumberOfPTypes(); in CollectTrailingArguments() 101 return method_type; in CollectTrailingArguments() [all …]
|
D | method_type-inl.h | 99 inline MethodType::RawPTypesAccessor::RawPTypesAccessor(RawMethodType method_type) in RawPTypesAccessor() argument 100 : method_type_(method_type) { in RawPTypesAccessor() 101 DCHECK(method_type.IsValid()); in RawPTypesAccessor() 114 Handle<MethodType> method_type, HandleScopeType* hs) { in NewHandlePTypes() argument 115 Handle<ObjectArray<mirror::Class>> p_types = hs->NewHandle(method_type->GetPTypes()); in NewHandlePTypes() 121 RawMethodType method_type, [[maybe_unused]] HandleScopeType* hs) { in NewHandlePTypes() argument 122 return RawPTypesAccessor(method_type); in NewHandlePTypes() 125 inline MethodType::ObjPtrPTypesAccessor MethodType::GetPTypes(ObjPtr<MethodType> method_type) { in GetPTypes() argument 126 return ObjPtrPTypesAccessor(method_type->GetPTypes()); in GetPTypes() 129 inline MethodType::ObjPtrPTypesAccessor MethodType::GetPTypes(Handle<MethodType> method_type) { in GetPTypes() argument [all …]
|
D | method_type.h | 64 static ObjPtr<MethodType> Create(Thread* self, RawMethodType method_type) 68 ObjPtr<MethodType> method_type) 74 ObjPtr<MethodType> method_type, 127 explicit RawPTypesAccessor(RawMethodType method_type); 137 static HandlePTypesAccessor NewHandlePTypes(Handle<MethodType> method_type, HandleScopeType* hs) 140 static RawPTypesAccessor NewHandlePTypes(RawMethodType method_type, HandleScopeType* hs) 143 static ObjPtrPTypesAccessor GetPTypes(ObjPtr<MethodType> method_type) 145 static ObjPtrPTypesAccessor GetPTypes(Handle<MethodType> method_type) 147 static RawPTypesAccessor GetPTypes(RawMethodType method_type) 150 static ObjPtr<mirror::Class> GetRType(ObjPtr<MethodType> method_type) [all …]
|
D | stack_frame_info.cc | 31 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()
|
D | method_handle_impl.cc | 35 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()
|
D | method_handles_lookup.cc | 50 Handle<MethodType> method_type) { in FindConstructor() argument 54 find_constructor->InvokeFinal<'L', 'L', 'L'>(self, this, klass.Get(), method_type.Get())); in FindConstructor()
|
D | stack_frame_info.h | 38 Handle<MethodType> method_type, 58 ObjPtr<MethodType> method_type,
|
D | var_handle.h | 130 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, ObjPtr<MethodType> method_type) 132 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, Handle<MethodType> method_type) 134 MatchKind GetMethodTypeMatchForAccessMode(AccessMode access_mode, RawMethodType method_type) 146 void GetMethodTypeForAccessMode(AccessMode access_mode, /*out*/ RawMethodType method_type) 209 MethodTypeType method_type)
|
D | method_handle_impl.h | 85 void Initialize(uintptr_t art_field_or_method, Kind kind, Handle<MethodType> method_type) 124 Handle<MethodType> method_type)
|
D | dex_cache_test.cc | 154 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()
|
D | method_handles_lookup.h | 51 Handle<MethodType> method_type)
|
D | var_handle_test.cc | 238 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 …]
|
D | var_handle.cc | 1340 AccessMode access_mode, ObjPtr<VarHandle> var_handle, MethodTypeType method_type) { in GetMethodTypeMatchForAccessModeImpl() argument 1344 ObjPtr<Class> mt_rtype = MethodType::GetRType(method_type); in GetMethodTypeMatchForAccessModeImpl() 1367 auto mt_ptypes = MethodType::GetPTypes(method_type); in GetMethodTypeMatchForAccessModeImpl() 1391 AccessMode access_mode, ObjPtr<MethodType> method_type) { in GetMethodTypeMatchForAccessMode() argument 1392 return GetMethodTypeMatchForAccessModeImpl(access_mode, this, method_type); in GetMethodTypeMatchForAccessMode() 1396 AccessMode access_mode, Handle<MethodType> method_type) { in GetMethodTypeMatchForAccessMode() argument 1397 return GetMethodTypeMatchForAccessMode(access_mode, method_type.Get()); in GetMethodTypeMatchForAccessMode() 1401 AccessMode access_mode, RawMethodType method_type) { in GetMethodTypeMatchForAccessMode() argument 1402 return GetMethodTypeMatchForAccessModeImpl(access_mode, this, method_type); in GetMethodTypeMatchForAccessMode() 1407 RawMethodType method_type(&method_type_hs); in GetMethodTypeForAccessMode() local [all …]
|
/art/runtime/interpreter/ |
D | interpreter.h | 54 DeoptimizationMethodType method_type)
|
/art/runtime/verifier/ |
D | method_verifier.cc | 572 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, 3736 uint32_t dex_method_idx, MethodType method_type) { in ResolveMethodAndCheckAccess() argument 3782 if (res_method->IsConstructor() && method_type != METHOD_DIRECT) { in ResolveMethodAndCheckAccess() 3802 if (method_type != METHOD_INTERFACE && in ResolveMethodAndCheckAccess() 3803 method_type != METHOD_STATIC && in ResolveMethodAndCheckAccess() 3805 method_type != METHOD_DIRECT) && in ResolveMethodAndCheckAccess() 3806 method_type != METHOD_SUPER) { in ResolveMethodAndCheckAccess() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 302 ObjPtr<mirror::MethodType> method_type = in ResolveMethodTypeFromCode() local 304 if (UNLIKELY(method_type == nullptr)) { in ResolveMethodTypeFromCode() 309 method_type = class_linker->ResolveMethodType(hs.Self(), proto_idx, dex_cache, class_loader); in ResolveMethodTypeFromCode() 311 return method_type; in ResolveMethodTypeFromCode()
|
/art/runtime/ |
D | method_handles-inl.h | 200 Handle<mirror::MethodType> method_type, in CopyArguments() argument 204 Handle<mirror::ObjectArray<mirror::Class>> ptypes(hs.NewHandle(method_type->GetPTypes())); in CopyArguments()
|
D | method_handles.h | 137 Handle<mirror::MethodType> method_type,
|
D | thread.cc | 199 DeoptimizationMethodType method_type, in DeoptimizationContextRecord() argument 205 deopt_method_type_(method_type), in DeoptimizationContextRecord() 274 DeoptimizationMethodType method_type) { in PushDeoptimizationContext() argument 281 method_type, in PushDeoptimizationContext() 289 DeoptimizationMethodType* method_type) { in PopDeoptimizationContext() argument 296 *method_type = record->GetDeoptimizationMethodType(); in PopDeoptimizationContext() 3969 const DeoptimizationMethodType method_type = DeoptimizationMethodType::kDefault; in QuickDeliverException() local 3977 method_type); in QuickDeliverException() 4698 DeoptimizationMethodType method_type; in DeoptimizeWithDeoptimizationException() local 4699 PopDeoptimizationContext(result, &pending_exception, &from_code, &method_type); in DeoptimizeWithDeoptimizationException() [all …]
|
D | transaction_test.cc | 625 ObjPtr<mirror::MethodType> method_type = in TEST_F() local 627 ASSERT_TRUE(method_type != nullptr); in TEST_F() 629 ASSERT_TRUE(h_dex_cache->GetResolvedMethodType(proto_index) == method_type); in TEST_F()
|
D | class_linker.cc | 10248 ObjPtr<mirror::MethodType> method_type = mirror::MethodType::Create(self, raw_method_type); in ResolveMethodType() local 10249 if (method_type != nullptr) { in ResolveMethodType() 10253 dex_cache->SetResolvedMethodType(proto_idx, method_type.Ptr()); in ResolveMethodType() 10255 return method_type; in ResolveMethodType() 10262 /*out*/ mirror::RawMethodType method_type) { in ResolveMethodType() argument 10276 method_type.SetRType(return_type); in ResolveMethodType() 10287 method_type.AddPType(param_type); in ResolveMethodType() 10422 method_type(hs.NewHandle(mirror::MethodType::Create(self, return_type, method_params))); in ResolveMethodHandleForField() local 10423 if (UNLIKELY(method_type.IsNull())) { in ResolveMethodHandleForField() 10429 return mirror::MethodHandleImpl::Create(self, target, kind, method_type); in ResolveMethodHandleForField() [all …]
|
/art/compiler/optimizing/ |
D | code_generator.cc | 801 HLoadMethodType* method_type, in CreateLoadMethodTypeRuntimeCallLocationSummary() argument 804 DCHECK_EQ(method_type->InputCount(), 1u); in CreateLoadMethodTypeRuntimeCallLocationSummary() 806 new (method_type->GetBlock()->GetGraph()->GetAllocator()) LocationSummary( in CreateLoadMethodTypeRuntimeCallLocationSummary() 807 method_type, LocationSummary::kCallOnMainOnly); in CreateLoadMethodTypeRuntimeCallLocationSummary() 813 void CodeGenerator::GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type) { in GenerateLoadMethodTypeRuntimeCall() argument 814 LocationSummary* locations = method_type->GetLocations(); in GenerateLoadMethodTypeRuntimeCall() 815 MoveConstant(locations->GetTemp(0), method_type->GetProtoIndex().index_); in GenerateLoadMethodTypeRuntimeCall() 817 InvokeRuntime(kQuickResolveMethodType, method_type, method_type->GetDexPc()); in GenerateLoadMethodTypeRuntimeCall()
|
D | code_generator.h | 654 static void CreateLoadMethodTypeRuntimeCallLocationSummary(HLoadMethodType* method_type, 657 void GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type);
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 648 DeoptimizationMethodType method_type; in HandleDeoptimization() local 652 /* out */ &method_type); in HandleDeoptimization() 683 method_type); in HandleDeoptimization() 2368 Handle<mirror::MethodType> method_type( in artInvokePolymorphic() local 2370 if (UNLIKELY(method_type.IsNull())) { in artInvokePolymorphic() 2414 method_type, in artInvokePolymorphic() 2423 method_type, in artInvokePolymorphic() 2436 method_type, in artInvokePolymorphic()
|
/art/dexdump/ |
D | dexdump.cc | 1810 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()
|