/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile.h | 63 static constexpr char ENTRY_FUNCTION_NAME[] = "func_main_0"; member in panda::ecmascript::JSPandaFile 178 uint32_t GetMainMethodIndex(const CString &recordName = ENTRY_FUNCTION_NAME, bool isNewVersion = false) const in GetMainMethodIndex() argument 218 void UpdateMainMethodIndex(uint32_t mainMethodIndex, const CString &recordName = ENTRY_FUNCTION_NAME) in UpdateMainMethodIndex() argument 233 int GetModuleRecordIdx(const CString &recordName = ENTRY_FUNCTION_NAME) const in GetModuleRecordIdx() 246 int GetHasTopLevelAwait(const CString &recordName = ENTRY_FUNCTION_NAME) const in GetHasTopLevelAwait() 371 info = jsRecordInfo_.find(ENTRY_FUNCTION_NAME); in FindRecordInfo() 423 return (name == PATCH_FUNCTION_NAME_0) || (name == ENTRY_FUNCTION_NAME); in IsEntryOrPatch()
|
H A D | panda_file_translator.h | 48 const MethodLiteral *methodLiteral, const CString &methodName = JSPandaFile::ENTRY_FUNCTION_NAME);
|
H A D | js_pandafile.cpp | 168 jsRecordInfo_.insert({JSPandaFile::ENTRY_FUNCTION_NAME, info}); in InitializeUnMergedPF() 283 if (entryPoint.empty() || entryPoint == JSPandaFile::ENTRY_FUNCTION_NAME) { in GetRecordName() 439 CString recordName = IsBundlePack() ? ENTRY_FUNCTION_NAME : GetRecordName(methodIdx); in GetRecordNameWithBundlePack()
|
H A D | js_pandafile_manager.cpp | 548 methodName = JSPandaFile::ENTRY_FUNCTION_NAME; in GenerateJSPandaFile()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
H A D | js_pandafile_test.cpp | 268 const_cast<JSPandaFile *>(pf1.get())-> FindRecordInfo(JSPandaFile::ENTRY_FUNCTION_NAME); in HWTEST_F_L0() 307 auto &recordInfo = pf->FindRecordInfo(JSPandaFile::ENTRY_FUNCTION_NAME); in HWTEST_F_L0() 310 EXPECT_TRUE(pf->FindRecordInfo(JSPandaFile::ENTRY_FUNCTION_NAME).IsParsedConstpoolOfCurrentVM(instance)); in HWTEST_F_L0()
|
H A D | panda_file_translator_test.cpp | 95 JSHandle<ecmascript::Program> program2 = pfManager->GenerateProgram(vm, pf.get(), JSPandaFile::ENTRY_FUNCTION_NAME); in HWTEST_F_L0()
|
H A D | js_pandafile_manager_test.cpp | 290 JSHandle<ecmascript::Program> program = pfManager->GenerateProgram(vm, pf.get(), JSPandaFile::ENTRY_FUNCTION_NAME); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/include/ |
H A D | abc_file.h | 90 static constexpr char ENTRY_FUNCTION_NAME[] = "func_main_0"; member in panda::defect_scan_aux::final
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
H A D | quick_fix_manager.cpp | 265 if (std::strcmp(patchMethodName.data(), JSPandaFile::ENTRY_FUNCTION_NAME) != 0 && in IsQuickFixCausedException()
|
H A D | patch_loader.cpp | 488 if (methodName == JSPandaFile::ENTRY_FUNCTION_NAME) { in GeneratePatchInfo()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_manager.cpp | 528 JSRecordInfo recordInfo = const_cast<JSPandaFile *>(jsPandaFile)->FindRecordInfo(JSPandaFile::ENTRY_FUNCTION_NAME); in ResolveModule() 838 CString entryPoint = JSPandaFile::ENTRY_FUNCTION_NAME; in ExecuteCjsModule()
|
H A D | js_module_source_text.cpp | 1294 entryPoint = JSPandaFile::ENTRY_FUNCTION_NAME; in ModuleExecution() 1831 entryPoint = JSPandaFile::ENTRY_FUNCTION_NAME; in ExecuteAsyncModule()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | file_generators.cpp | 198 auto found = addr2name[funcEntry].find(panda::ecmascript::JSPandaFile::ENTRY_FUNCTION_NAME); in CollectFuncEntryInfo() 262 auto found = addr2name[funcEntry].find(panda::ecmascript::JSPandaFile::ENTRY_FUNCTION_NAME); in CollectFuncEntryInfoByLiteCG()
|
H A D | pass.h | 846 auto pos = methodName.find(JSPandaFile::ENTRY_FUNCTION_NAME); in IsFunctionMain()
|
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
H A D | abc_file.cpp | 1035 ASSERT(func_main->GetFunctionName() == ENTRY_FUNCTION_NAME); 1465 if (func_name != ENTRY_FUNCTION_NAME) { 1483 if (func_name.find(ENTRY_FUNCTION_NAME) == std::string::npos) {
|
/arkcompiler/toolchain/tooling/agent/ |
H A D | debugger_impl.cpp | 1089 JSPandaFile::ENTRY_FUNCTION_NAME); in EvaluateOnCallFrame() 1555 JSPandaFile::ENTRY_FUNCTION_NAME); in CallFunctionOn() 2113 DebuggerApi::GenerateFuncFromBuffer(vm_, dest.data(), dest.size(), JSPandaFile::ENTRY_FUNCTION_NAME); in CheckAndGenerateCondFunc()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 3710 ecmascript::CString entry = JSPandaFile::ENTRY_FUNCTION_NAME; in GetSourceCode()
|