Searched refs:mainMethod (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | compiler_queue_test.cpp | 134 Method *mainMethod = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 135 ASSERT_NE(mainMethod, nullptr); in TEST_F() 144 mainMethod->SetHotnessCounter(3U); in TEST_F() 151 queue.AddTask(CompilerTask {mainMethod, false}); in TEST_F() 155 GetAndCheckMethodsIfExists(&queue, gMethod, fMethod, mainMethod); in TEST_F() 162 Method *mainMethod = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 163 ASSERT_NE(mainMethod, nullptr); in TEST_F() 172 mainMethod->SetHotnessCounter(3U); in TEST_F() 182 queue.AddTask(CompilerTask {mainMethod, false}); in TEST_F() 184 GetAndCheckMethodsIfExists(&queue, fMethod, gMethod, mainMethod); in TEST_F() [all …]
|
D | interpreter_test_switch.cpp | 119 Method *mainMethod; in TEST_F() local 130 mainMethod = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() 131 ASSERT_NE(mainMethod, nullptr); in TEST_F() 138 v = mainMethod->Invoke(thread, args.data()); in TEST_F() 148 EXPECT_EQ(event.method, mainMethod); in TEST_F()
|
D | method_test.cpp | 172 Method *mainMethod = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 173 ASSERT_NE(mainMethod, nullptr); in TEST_F() 187 …std::unique_ptr<Frame, decltype(frameDeleter)> frame(CreateFrame(0, mainMethod, nullptr), frameDel… in TEST_F() 538 Method *mainMethod = klass->GetDirectMethod(utf::CStringAsMutf8("main")); in TEST_F() local 539 ASSERT_NE(mainMethod, nullptr); in TEST_F() 550 Value v = mainMethod->Invoke(thread, args.data()); in TEST_F()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
D | register_native_allocation_test.cpp | 71 ets_method mainMethod = env_->GetStaticp_method(testClass, "main_method", ":I"); in TEST_F() local 72 ASSERT_NE(mainMethod, nullptr); in TEST_F() 73 ASSERT_EQ(env_->CallStaticIntMethod(testClass, mainMethod), 0); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | aot_file_manager.cpp | 279 MethodLiteral *mainMethod = jsPandaFile->FindMethodLiteral(mainFuncMethodId); in SetAOTMainFuncEntry() local 280 mainMethod->SetAotCodeBit(true); in SetAOTMainFuncEntry() 281 mainMethod->SetNativeBit(false); in SetAOTMainFuncEntry()
|