/art/runtime/interpreter/ |
D | interpreter.cc | 325 JValue ExecuteGotoImpl(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in ExecuteGotoImpl() argument 332 JValue ExecuteGotoImpl<true, false>(Thread* self, MethodHelper& mh, 336 JValue ExecuteGotoImpl<false, false>(Thread* self, MethodHelper& mh, 340 JValue ExecuteGotoImpl<true, true>(Thread* self, MethodHelper& mh, 344 JValue ExecuteGotoImpl<false, true>(Thread* self, MethodHelper& mh, 349 static JValue Execute(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, 353 static inline JValue Execute(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in Execute() argument 355 DCHECK(shadow_frame.GetMethod() == mh.GetMethod() || in Execute() 366 return ExecuteSwitchImpl<false, true>(self, mh, code_item, shadow_frame, result_register); in Execute() 368 return ExecuteSwitchImpl<false, false>(self, mh, code_item, shadow_frame, result_register); in Execute() [all …]
|
D | interpreter.h | 45 extern JValue EnterInterpreterFromStub(Thread* self, MethodHelper& mh, 50 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 57 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
D | interpreter_goto_table_impl.cc | 38 TraceExecution(shadow_frame, inst, dex_pc, mh); \ 113 JValue ExecuteGotoImpl(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in ExecuteGotoImpl() argument 335 MethodHelper mh(hs.NewHandle(shadow_frame.GetMethod())); in ExecuteGotoImpl() local 336 Class* return_type = mh.GetReturnType(); in ExecuteGotoImpl() 433 String* s = ResolveString(self, mh, inst->VRegB_21c()); in ExecuteGotoImpl() 444 String* s = ResolveString(self, mh, inst->VRegB_31c()); in ExecuteGotoImpl() 2276 UnexpectedOpcode(inst, mh); in ExecuteGotoImpl() 2280 UnexpectedOpcode(inst, mh); in ExecuteGotoImpl() 2284 UnexpectedOpcode(inst, mh); in ExecuteGotoImpl() 2288 UnexpectedOpcode(inst, mh); in ExecuteGotoImpl() [all …]
|
D | interpreter_common.h | 70 extern JValue ExecuteSwitchImpl(Thread* self, MethodHelper& mh, 75 extern JValue ExecuteGotoImpl(Thread* self, MethodHelper& mh, 187 static inline String* ResolveString(Thread* self, MethodHelper& mh, uint32_t string_idx) in ResolveString() argument 200 return mh.ResolveString(string_idx); in ResolveString() 342 void UnexpectedOpcode(const Instruction* inst, MethodHelper& mh) 347 const uint32_t dex_pc, MethodHelper& mh) in TraceExecution() argument 355 << inst->DumpString(mh.GetMethod()->GetDexFile()) << "\n"; in TraceExecution()
|
D | interpreter_common.cc | 488 void UnexpectedOpcode(const Instruction* inst, MethodHelper& mh) { in UnexpectedOpcode() argument 489 LOG(FATAL) << "Unexpected instruction: " << inst->DumpString(mh.GetMethod()->GetDexFile()); in UnexpectedOpcode() 493 static void UnstartedRuntimeInvoke(Thread* self, MethodHelper& mh, 546 MethodHelper mh(hs.NewHandle(method)); in DoCall() local 585 Class* arg_type = mh.GetClassFromTypeIdx(params->GetTypeItem(shorty_pos).type_idx_); in DoCall() 653 (method->GetEntryPointFromInterpreter())(self, mh, code_item, new_shadow_frame, result); in DoCall() 655 UnstartedRuntimeInvoke(self, mh, code_item, new_shadow_frame, result, first_dest_reg); in DoCall() 795 static void UnstartedRuntimeInvoke(Thread* self, MethodHelper& mh, in UnstartedRuntimeInvoke() argument 874 MethodHelper mh(hs.NewHandle(shadow_frame->GetVRegReference(arg_offset)->AsArtMethod())); in UnstartedRuntimeInvoke() local 875 result->SetL(mh.GetNameAsString(self)); in UnstartedRuntimeInvoke() [all …]
|
D | interpreter_switch_impl.cc | 61 JValue ExecuteSwitchImpl(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in ExecuteSwitchImpl() argument 86 TraceExecution(shadow_frame, inst, dex_pc, mh); in ExecuteSwitchImpl() 346 String* s = ResolveString(self, mh, inst->VRegB_21c()); in ExecuteSwitchImpl() 357 String* s = ResolveString(self, mh, inst->VRegB_31c()); in ExecuteSwitchImpl() 2170 UnexpectedOpcode(inst, mh); in ExecuteSwitchImpl() 2177 JValue ExecuteSwitchImpl<true, false>(Thread* self, MethodHelper& mh, 2181 JValue ExecuteSwitchImpl<false, false>(Thread* self, MethodHelper& mh, 2185 JValue ExecuteSwitchImpl<true, true>(Thread* self, MethodHelper& mh, 2189 JValue ExecuteSwitchImpl<false, true>(Thread* self, MethodHelper& mh,
|
/art/runtime/entrypoints/interpreter/ |
D | interpreter_entrypoints.cc | 28 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh, in artInterpreterToCompiledCodeBridge() argument 52 InvokeWithShadowFrame(self, shadow_frame, arg_offset, mh, result); in artInterpreterToCompiledCodeBridge() 56 result, mh.GetShorty()); in artInterpreterToCompiledCodeBridge()
|
D | interpreter_entrypoints.h | 36 void (*pInterpreterToInterpreterBridge)(Thread* self, MethodHelper& mh, 39 void (*pInterpreterToCompiledCodeBridge)(Thread* self, MethodHelper& mh,
|
/art/runtime/ |
D | reflection.cc | 223 mirror::ObjectArray<mirror::Object>* args, MethodHelper& mh) in BuildArgArrayFromObjectArray() argument 225 const DexFile::TypeList* classes = mh.GetMethod()->GetParameterTypeList(); in BuildArgArrayFromObjectArray() 234 mh.GetClassFromTypeIdx(classes->GetTypeItem(args_offset).type_idx_); in BuildArgArrayFromObjectArray() 238 PrettyMethod(mh.GetMethod(), false).c_str(), in BuildArgArrayFromObjectArray() 266 PrettyMethod(mh.GetMethod(), false).c_str(), \ in BuildArgArrayFromObjectArray() 367 MethodHelper mh(h_m); in CheckMethodArguments() local 370 mirror::Class* param_type = mh.GetClassFromTypeIdx(type_idx); in CheckMethodArguments() 504 MethodHelper& mh, JValue* result) { in InvokeWithShadowFrame() argument 513 ArgArray arg_array(mh.GetShorty(), mh.GetShortyLength()); in InvokeWithShadowFrame() 516 mh.GetShorty()); in InvokeWithShadowFrame() [all …]
|
D | native_bridge_art_interface.cc | 32 MethodHelper mh(scope.NewHandle(m)); in GetMethodShorty() local 33 return mh.GetShorty(); in GetMethodShorty()
|
D | reflection.h | 67 MethodHelper& mh, JValue* result)
|
D | class_linker.cc | 3990 MethodHelper mh(method); in CheckProxyMethod() local 3995 CHECK_EQ(mh.GetReturnType(), mh2.GetReturnType()); in CheckProxyMethod() 4256 MethodHelper mh(hs.NewHandle<mirror::ArtMethod>(nullptr)); in ValidateSuperClassDescriptors() local 4261 mh.ChangeMethod(klass->GetVTableEntry(i)); in ValidateSuperClassDescriptors() 4263 if (mh.GetMethod() != super_mh.GetMethod() && in ValidateSuperClassDescriptors() 4264 !mh.HasSameSignatureWithDifferentClassLoaders(&super_mh)) { in ValidateSuperClassDescriptors() 4268 PrettyMethod(mh.GetMethod()).c_str(), in ValidateSuperClassDescriptors() 4278 mh.ChangeMethod(klass->GetIfTable()->GetMethodArray(i)->GetWithoutChecks(j)); in ValidateSuperClassDescriptors() 4280 if (mh.GetMethod() != super_mh.GetMethod() && in ValidateSuperClassDescriptors() 4281 !mh.HasSameSignatureWithDifferentClassLoaders(&super_mh)) { in ValidateSuperClassDescriptors() [all …]
|
D | debugger.cc | 3562 MethodHelper mh(hs.NewHandle(m)); in InvokeMethod() local 3573 mirror::Class* parameter_type = mh.GetClassFromTypeIdx(types->GetTypeItem(i).type_idx_); in InvokeMethod() 3588 m = mh.GetMethod(); in InvokeMethod()
|
/art/runtime/entrypoints/portable/ |
D | portable_trampoline_entrypoints.cc | 121 static size_t ComputeArgsInRegs(MethodHelper& mh) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in ComputeArgsInRegs() argument 126 size_t num_params = mh.NumArgs(); in ComputeArgsInRegs() 128 args_in_regs = args_in_regs + (mh.IsParamALongOrDouble(i) ? 2 : 1); in ComputeArgsInRegs() 199 MethodHelper mh(hs.NewHandle(method)); in artPortableToInterpreterBridge() local 206 BuildPortableShadowFrameVisitor shadow_frame_builder(mh, sp, in artPortableToInterpreterBridge() 225 JValue result = interpreter::EnterInterpreterFromStub(self, mh, code_item, *shadow_frame); in artPortableToInterpreterBridge()
|
/art/runtime/mirror/ |
D | object_test.cc | 485 MethodHelper mh(hs.NewHandle(m1_1)); in TEST_F() local 487 EXPECT_TRUE(mh.HasSameNameAndSignature(&mh2)); in TEST_F() 488 EXPECT_TRUE(mh2.HasSameNameAndSignature(&mh)); in TEST_F() 490 mh.ChangeMethod(m2_1); in TEST_F() 492 EXPECT_TRUE(mh.HasSameNameAndSignature(&mh2)); in TEST_F() 493 EXPECT_TRUE(mh2.HasSameNameAndSignature(&mh)); in TEST_F() 495 mh.ChangeMethod(m3_1); in TEST_F() 497 EXPECT_TRUE(mh.HasSameNameAndSignature(&mh2)); in TEST_F() 498 EXPECT_TRUE(mh2.HasSameNameAndSignature(&mh)); in TEST_F() 500 mh.ChangeMethod(m4_1); in TEST_F() [all …]
|
D | art_method.cc | 145 MethodHelper mh(hs.NewHandle(this)); in FindOverriddenMethod() local 152 if (mh.HasSameNameAndSignature(&interface_mh)) { in FindOverriddenMethod() 235 MethodHelper mh(h_this); in FindCatchBlock() local 255 Class* iter_exception_type = mh.GetClassFromTypeIdx(iter_type_idx); in FindCatchBlock()
|
D | art_method.h | 41 typedef void (EntryPointFromInterpreter)(Thread* self, MethodHelper& mh,
|
/art/runtime/arch/arm64/ |
D | entrypoints_init_arm64.cc | 27 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 30 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
/art/runtime/arch/x86/ |
D | entrypoints_init_x86.cc | 27 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 30 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
/art/runtime/arch/x86_64/ |
D | entrypoints_init_x86_64.cc | 28 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 31 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
/art/runtime/arch/arm/ |
D | entrypoints_init_arm.cc | 28 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 31 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
/art/runtime/arch/mips/ |
D | entrypoints_init_mips.cc | 29 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, 32 extern "C" void artInterpreterToCompiledCodeBridge(Thread* self, MethodHelper& mh,
|
/art/compiler/driver/ |
D | compiler_driver.cc | 631 static void ResolveExceptionsForMethod(MethodHelper* mh, in ResolveExceptionsForMethod() argument 634 const DexFile::CodeItem* code_item = mh->GetMethod()->GetCodeItem(); in ResolveExceptionsForMethod() 654 if (!mh->GetMethod()->IsResolvedTypeIdx(encoded_catch_handler_handlers_type_idx)) { in ResolveExceptionsForMethod() 657 mh->GetMethod()->GetDexFile())); in ResolveExceptionsForMethod() 674 MethodHelper mh(hs.NewHandle<mirror::ArtMethod>(nullptr)); in ResolveCatchBlockExceptionsClassVisitor() local 676 mh.ChangeMethod(c->GetVirtualMethod(i)); in ResolveCatchBlockExceptionsClassVisitor() 677 ResolveExceptionsForMethod(&mh, *exceptions_to_resolve); in ResolveCatchBlockExceptionsClassVisitor() 680 mh.ChangeMethod(c->GetDirectMethod(i)); in ResolveCatchBlockExceptionsClassVisitor() 681 ResolveExceptionsForMethod(&mh, *exceptions_to_resolve); in ResolveCatchBlockExceptionsClassVisitor() 1153 MethodHelper mh(hs.NewHandle(method)); in GetCodeAndMethodForDirectCall() local [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 507 MethodHelper mh(hs.NewHandle(method)); in artQuickToInterpreterBridge() local 508 JValue result = interpreter::EnterInterpreterFromStub(self, mh, code_item, *shadow_frame); in artQuickToInterpreterBridge() 801 MethodHelper mh(hs.NewHandle(called)); in artQuickResolutionTrampoline() local 802 uint32_t method_index = mh.FindDexMethodIndexInOtherDexFile(*dex_file, dex_method_idx); in artQuickResolutionTrampoline()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2197 MethodHelper mh(h_called_method); in CodeFlowVerifyInstruction() local 2198 mirror::Class* return_type_class = mh.GetReturnType(can_load_classes_); in CodeFlowVerifyInstruction() 2243 MethodHelper mh(h_called_method); in CodeFlowVerifyInstruction() local 2244 mirror::Class* return_type_class = mh.GetReturnType(can_load_classes_); in CodeFlowVerifyInstruction()
|