Lines Matching refs:self

336     Thread* self,  in ConvertAndCopyArgumentsFromCallerFrame()  argument
355 return PerformConversions<ShadowFrameGetter, ShadowFrameSetter>(self, in ConvertAndCopyArgumentsFromCallerFrame()
423 Thread* self, in MethodHandleInvokeMethod() argument
463 self, new_shadow_frame, StackedShadowFrameType::kShadowFrameUnderConstruction); in MethodHandleInvokeMethod()
485 if (!emulated_stack_frame->WriteToShadowFrame(self, in MethodHandleInvokeMethod()
489 DCHECK(self->IsExceptionPending()); in MethodHandleInvokeMethod()
498 if (!ConvertAndCopyArgumentsFromCallerFrame(self, in MethodHandleInvokeMethod()
505 DCHECK(self->IsExceptionPending()); in MethodHandleInvokeMethod()
515 PerformCall(self, in MethodHandleInvokeMethod()
522 if (self->IsExceptionPending()) { in MethodHandleInvokeMethod()
529 StackHandleScope<2> hs(self); in MethodHandleInvokeMethod()
539 emulated_stack_frame->SetReturnValue(self, local_result); in MethodHandleInvokeMethod()
543 DCHECK(self->IsExceptionPending()); in MethodHandleInvokeMethod()
558 Thread* self, in MethodHandleInvokeTransform() argument
583 StackHandleScope<1> hs(self); in MethodHandleInvokeTransform()
593 sf.Assign(mirror::EmulatedStackFrame::CreateFromShadowFrameAndArgs(self, in MethodHandleInvokeTransform()
602 DCHECK(self->IsExceptionPending()); in MethodHandleInvokeTransform()
612 PerformCall(self, in MethodHandleInvokeTransform()
619 if (self->IsExceptionPending()) { in MethodHandleInvokeTransform()
625 sf->GetReturnValue(self, result); in MethodHandleInvokeTransform()
629 inline static ObjPtr<mirror::Class> GetAndInitializeDeclaringClass(Thread* self, ArtField* field) in GetAndInitializeDeclaringClass() argument
637 StackHandleScope<1> hs(self); in GetAndInitializeDeclaringClass()
639 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(self, h, true, true)) { in GetAndInitializeDeclaringClass()
640 DCHECK(self->IsExceptionPending()); in GetAndInitializeDeclaringClass()
647 ArtMethod* RefineTargetMethod(Thread* self, in RefineTargetMethod() argument
672 DCHECK(self->IsExceptionPending()); in RefineTargetMethod()
716 bool DoInvokePolymorphicMethod(Thread* self, in DoInvokePolymorphicMethod() argument
723 StackHandleScope<2> hs(self); in DoInvokePolymorphicMethod()
735 ArtMethod* called_method = RefineTargetMethod(self, in DoInvokePolymorphicMethod()
743 DCHECK(self->IsExceptionPending()); in DoInvokePolymorphicMethod()
762 self, in DoInvokePolymorphicMethod()
772 self, in DoInvokePolymorphicMethod()
780 inline static void MethodHandleFieldGet(Thread* self, in MethodHandleFieldGet() argument
789 DoFieldGetCommon<Primitive::kPrimBoolean>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
792 DoFieldGetCommon<Primitive::kPrimByte>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
795 DoFieldGetCommon<Primitive::kPrimChar>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
798 DoFieldGetCommon<Primitive::kPrimShort>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
801 DoFieldGetCommon<Primitive::kPrimInt>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
804 DoFieldGetCommon<Primitive::kPrimLong>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
807 DoFieldGetCommon<Primitive::kPrimInt>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
810 DoFieldGetCommon<Primitive::kPrimLong>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
813 DoFieldGetCommon<Primitive::kPrimNot>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
822 inline bool MethodHandleFieldPut(Thread* self, in MethodHandleFieldPut() argument
836 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
839 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
842 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
845 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
849 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
853 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
856 self, shadow_frame, obj, field, value); in MethodHandleFieldPut()
900 bool MethodHandleFieldAccess(Thread* self, in MethodHandleFieldAccess() argument
906 StackHandleScope<1> hs(self); in MethodHandleFieldAccess()
915 MethodHandleFieldGet(self, shadow_frame, obj, field, field_type, result); in MethodHandleFieldAccess()
917 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
923 ObjPtr<mirror::Object> obj = GetAndInitializeDeclaringClass(self, field); in MethodHandleFieldAccess()
925 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
928 MethodHandleFieldGet(self, shadow_frame, obj, field, field_type, result); in MethodHandleFieldAccess()
930 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
949 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
953 return MethodHandleFieldPut(self, shadow_frame, obj, field, field_type, value); in MethodHandleFieldAccess()
956 ObjPtr<mirror::Object> obj = GetAndInitializeDeclaringClass(self, field); in MethodHandleFieldAccess()
958 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
973 DCHECK(self->IsExceptionPending()); in MethodHandleFieldAccess()
976 return MethodHandleFieldPut(self, shadow_frame, obj, field, field_type, value); in MethodHandleFieldAccess()
984 bool DoVarHandleInvokeTranslationUnchecked(Thread* self, in DoVarHandleInvokeTranslationUnchecked() argument
1002 if (!PerformConversions(self, callsite_type, vh_type, &getter, &setter)) { in DoVarHandleInvokeTranslationUnchecked()
1012 bool DoVarHandleInvokeTranslation(Thread* self, in DoVarHandleInvokeTranslation() argument
1034 StackHandleScope<6> hs(self); in DoVarHandleInvokeTranslation()
1065 hs.NewHandle(vh->GetMethodTypeForAccessMode(self, access_mode)); in DoVarHandleInvokeTranslation()
1067 mirror::MethodType::CloneWithoutLeadingParameter(self, method_handle->GetMethodType())); in DoVarHandleInvokeTranslation()
1082 hs.NewHandle(mirror::MethodType::CloneWithoutLeadingParameter(self, callsite_type.Get())); in DoVarHandleInvokeTranslation()
1086 return DoVarHandleInvokeTranslationUnchecked(self, in DoVarHandleInvokeTranslation()
1096 static inline bool MethodHandleInvokeInternal(Thread* self, in MethodHandleInvokeInternal() argument
1113 self, in MethodHandleInvokeInternal()
1121 return DoVarHandleInvokeTranslation(self, in MethodHandleInvokeInternal()
1129 return DoInvokePolymorphicMethod(self, in MethodHandleInvokeInternal()
1138 Thread* self, in MethodHandleInvokeExactInternal() argument
1145 StackHandleScope<1> hs(self); in MethodHandleInvokeExactInternal()
1155 return MethodHandleFieldAccess<do_convert>(self, in MethodHandleInvokeExactInternal()
1166 return DoInvokePolymorphicMethod(self, in MethodHandleInvokeExactInternal()
1173 return DoVarHandleInvokeTranslation(self, in MethodHandleInvokeExactInternal()
1185 ArtMethod* called_method = RefineTargetMethod(self, in MethodHandleInvokeExactInternal()
1193 DCHECK(self->IsExceptionPending()); in MethodHandleInvokeExactInternal()
1216 const char* old_cause = self->StartAssertNoThreadSuspension("DoCallCommon"); in MethodHandleInvokeExactInternal()
1224 self->EndAssertNoThreadSuspension(old_cause); in MethodHandleInvokeExactInternal()
1228 PerformCall(self, in MethodHandleInvokeExactInternal()
1235 if (self->IsExceptionPending()) { in MethodHandleInvokeExactInternal()
1243 bool MethodHandleInvoke(Thread* self, in MethodHandleInvoke() argument
1252 return MethodHandleInvokeExactInternal(self, in MethodHandleInvoke()
1259 return MethodHandleInvokeInternal(self, in MethodHandleInvoke()
1268 bool MethodHandleInvokeExact(Thread* self, in MethodHandleInvokeExact() argument
1287 return MethodHandleInvokeInternal(self, in MethodHandleInvokeExact()
1295 return MethodHandleInvokeExactInternal(self, in MethodHandleInvokeExact()