/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
D | coroswitch_in_cctor.cpp | 60 const std::string mainFunc = "ETSGLOBAL::main"; in TEST_F() local 61 EXPECT_EXIT(Runtime::GetCurrent()->ExecutePandaFile(abcFile_.c_str(), mainFunc.c_str(), {}), in TEST_F()
|
D | js_mode_launch.cpp | 73 const std::string mainFunc = "ETSGLOBAL::main"; in TEST_F() local 74 auto res = Runtime::GetCurrent()->ExecutePandaFile(abcFile_.c_str(), mainFunc.c_str(), {}); in TEST_F()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
D | pending_exception_test.cpp | 56 const std::string mainFunc = "ETSGLOBAL::main"; in DEATH_TEST_P() local 58 EXPECT_EXIT(Runtime::GetCurrent()->ExecutePandaFile(fileName.c_str(), mainFunc.c_str(), {}), in DEATH_TEST_P()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_function.cpp | 432 JSTaggedValue JSFunction::InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc, in InvokeOptimizedEntrypoint() argument 435 if (mainFunc->IsClassConstructor()) { in InvokeOptimizedEntrypoint() 444 Method *method = mainFunc->GetCallTarget(); in InvokeOptimizedEntrypoint() 450 RuntimeStubs::StartCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType(), true); in InvokeOptimizedEntrypoint() 455 args = JSFunction::GetArgsData(true, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint() 458 args = JSFunction::GetArgsData(false, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint() 464 RuntimeStubs::EndCallTimer(thread->GetGlueAddr(), mainFunc.GetTaggedType()); in InvokeOptimizedEntrypoint() 473 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo) in GetArgsData() argument 477 Method *method = mainFunc->GetCallTarget(); in GetArgsData() 487 args[0] = mainFunc.GetTaggedValue().GetRawData(); in GetArgsData()
|
D | js_function.h | 105 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc, 256 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
|
D | ecma_context.cpp | 252 JSTaggedValue EcmaContext::InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTagged… in InvokeEcmaAotEntrypoint() argument 256 aotFileManager_->SetAOTMainFuncEntry(mainFunc, jsPandaFile, entryPoint); in InvokeEcmaAotEntrypoint() 257 return JSFunction::InvokeOptimizedEntrypoint(thread_, mainFunc, thisArg, entryPoint, cjsInfo); in InvokeEcmaAotEntrypoint()
|
D | ecma_context.h | 507 …JSTaggedValue InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &this…
|
/arkcompiler/runtime_core/static_core/disassembler/tests/ |
D | instructions_test.cpp | 281 auto mainFunc = prog->functionTable.find("main:()"); in TEST() local 282 mainFunc->second.regsNum = 0; in TEST()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
D | aot_file_manager.h | 167 void SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc, const JSPandaFile *jsPandaFile,
|
D | aot_file_manager.cpp | 257 void AOTFileManager::SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc, const JSPandaFile *jsPandaF… in SetAOTMainFuncEntry() argument 282 Method *method = mainFunc->GetCallTarget(); in SetAOTMainFuncEntry()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
D | js_pandafile_manager_test.cpp | 270 JSHandle<JSFunction> mainFunc(thread, program->GetMainFunction()); in HWTEST_F_L0() local 271 …<JSTaggedValue> funcName = JSFunction::GetFunctionName(thread, JSHandle<JSFunctionBase>(mainFunc)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | panda_file_translator.cpp | 147 JSHandle<JSFunction> mainFunc = factory->NewJSFunctionByHClass(method, hclass); in GenerateProgramInternal() local 152 program->SetMainFunction(thread, mainFunc.GetTaggedValue()); in GenerateProgramInternal()
|