Lines Matching refs:res_method

609                                                       ArtMethod* res_method)
3752 ArtMethod* res_method = dex_cache_->GetResolvedMethod(dex_method_idx); in ResolveMethodAndCheckAccess() local
3753 if (res_method == nullptr) { in ResolveMethodAndCheckAccess()
3754 res_method = class_linker->FindResolvedMethod( in ResolveMethodAndCheckAccess()
3764 if (res_method == nullptr) { in ResolveMethodAndCheckAccess()
3768 res_method = class_linker->FindIncompatibleMethod( in ResolveMethodAndCheckAccess()
3772 if (res_method == nullptr) { in ResolveMethodAndCheckAccess()
3782 if (res_method->IsConstructor() && method_type != METHOD_DIRECT) { in ResolveMethodAndCheckAccess()
3784 << res_method->PrettyMethod(); in ResolveMethodAndCheckAccess()
3788 if (res_method->IsClassInitializer()) { in ResolveMethodAndCheckAccess()
3790 << res_method->PrettyMethod(); in ResolveMethodAndCheckAccess()
3825 res_method->GetDeclaringClass()->IsObjectClass() && in ResolveMethodAndCheckAccess()
3826 !res_method->IsPublic()) { in ResolveMethodAndCheckAccess()
3830 << "non-public object method " << res_method->PrettyMethod() << " " in ResolveMethodAndCheckAccess()
3836 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess()
3838 << res_method->PrettyMethod() in ResolveMethodAndCheckAccess()
3840 return res_method; in ResolveMethodAndCheckAccess()
3843 if (res_method->IsPrivate() && (method_type == METHOD_VIRTUAL || method_type == METHOD_SUPER)) { in ResolveMethodAndCheckAccess()
3845 << res_method->PrettyMethod(); in ResolveMethodAndCheckAccess()
3852 if ((method_type == METHOD_DIRECT && (!res_method->IsDirect() || res_method->IsStatic())) || in ResolveMethodAndCheckAccess()
3853 (method_type == METHOD_STATIC && !res_method->IsStatic()) || in ResolveMethodAndCheckAccess()
3856 method_type == METHOD_INTERFACE) && res_method->IsDirect()) || in ResolveMethodAndCheckAccess()
3858 (!res_method->IsNative() || !res_method->IsVarargs()))) { in ResolveMethodAndCheckAccess()
3860 "type of " << res_method->PrettyMethod(); in ResolveMethodAndCheckAccess()
3868 << res_method->PrettyMethod() << " without error. Initially this method was " in ResolveMethodAndCheckAccess()
3870 return res_method; in ResolveMethodAndCheckAccess()
3876 T* it, const Instruction* inst, MethodType method_type, bool is_range, ArtMethod* res_method) { in VerifyInvocationArgsFromIterator() argument
3906 if (res_method != nullptr) { in VerifyInvocationArgsFromIterator()
3907 if (!res_method->IsConstructor()) { in VerifyInvocationArgsFromIterator()
3929 if (res_method != nullptr && !res_method->IsMiranda()) { in VerifyInvocationArgsFromIterator()
3930 ObjPtr<mirror::Class> klass = res_method->GetDeclaringClass(); in VerifyInvocationArgsFromIterator()
4015 return res_method; in VerifyInvocationArgsFromIterator()
4088 explicit MethodParamListDescriptorIterator(ArtMethod* res_method) : in MethodParamListDescriptorIterator() argument
4089 res_method_(res_method), pos_(0), params_(res_method->GetParameterTypeList()), in MethodParamListDescriptorIterator()
4118 ArtMethod* res_method = ResolveMethodAndCheckAccess(method_idx, method_type); in VerifyInvocationArgs() local
4119 if (res_method == nullptr) { // error or class is unresolved in VerifyInvocationArgs()
4161 << " to super " << res_method->PrettyMethod(); in VerifyInvocationArgs()
4166 (res_method->GetMethodIndex() >= super.GetClass()->GetVTableLength())) { in VerifyInvocationArgs()
4170 << "." << res_method->GetName() in VerifyInvocationArgs()
4171 << res_method->GetSignature(); in VerifyInvocationArgs()
4182 return VerifyInvocationArgsFromIterator(&it, inst, method_type, is_range, res_method); in VerifyInvocationArgs()
4185 MethodParamListDescriptorIterator it(res_method); in VerifyInvocationArgs()
4186 return VerifyInvocationArgsFromIterator(&it, inst, method_type, is_range, res_method); in VerifyInvocationArgs()