Home
last modified time | relevance | path

Searched refs:mainFunc (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Dcoroswitch_in_cctor.cpp60 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()
Djs_mode_launch.cpp73 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/
Dpending_exception_test.cpp56 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/
Djs_function.cpp432 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()
Djs_function.h105 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc,
256 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
Decma_context.cpp252 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()
Decma_context.h507 …JSTaggedValue InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &this…
/arkcompiler/runtime_core/static_core/disassembler/tests/
Dinstructions_test.cpp281 auto mainFunc = prog->functionTable.find("main:()"); in TEST() local
282 mainFunc->second.regsNum = 0; in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_manager.h167 void SetAOTMainFuncEntry(JSHandle<JSFunction> mainFunc, const JSPandaFile *jsPandaFile,
Daot_file_manager.cpp257 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/
Djs_pandafile_manager_test.cpp270 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/
Dpanda_file_translator.cpp147 JSHandle<JSFunction> mainFunc = factory->NewJSFunctionByHClass(method, hclass); in GenerateProgramInternal() local
152 program->SetMainFunction(thread, mainFunc.GetTaggedValue()); in GenerateProgramInternal()