/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.cpp | 19 * This function use recordName, requestName to get baseFileName and entryPoint. 39 CString entryPoint = TranslateExpressionInputWithEts(thread, jsPandaFile, baseFileName, requestName); in ConcatFileNameWithMerge() local 40 if (entryPoint.empty()) { in ConcatFileNameWithMerge() 41 THROW_MODULE_NOT_FOUND_ERROR_WITH_RETURN_VALUE(thread, requestName, recordName, entryPoint); in ConcatFileNameWithMerge() 43 return entryPoint; in ConcatFileNameWithMerge() 47 CString entryPoint = ParseThirdPartyPackage(jsPandaFile, recordName, requestName); in ConcatFileNameWithMerge() local 48 if (entryPoint.empty()) { in ConcatFileNameWithMerge() 49 THROW_MODULE_NOT_FOUND_ERROR_WITH_RETURN_VALUE(thread, requestName, recordName, entryPoint); in ConcatFileNameWithMerge() 51 return entryPoint; in ConcatFileNameWithMerge() 66 CString entryPoint in ConcatMergeFileNameToNormalized() local 86 CString entryPoint; ConcatImportFileNormalizedOhmurlWithRecordName() local 335 CString entryPoint = moduleRequestName; ParsePrefixBundle() local 413 CString entryPoint; MakeNewRecord() local 479 CString entryPoint; FindOhpmEntryPoint() local 495 CString entryPoint; FindPackageInTopLevelWithNamespace() local 543 CString entryPoint; ParseOhpmPackage() local 574 CString entryPoint; ParseThirdPartyPackage() local 607 CString entryPoint = ParseOhpmPackage(jsPandaFile, recordName, normalizeRequestName); ParseThirdPartyPackage() local 639 CString entryPoint = ConfirmLoadingIndexOrNot(jsPandaFile, packageEntryPoint); FindNpmEntryPoint() local 656 CString entryPoint; FindPackageInTopLevel() local 774 CString entryPoint; TranslateExpressionInputWithEts() local 928 CString entryPoint = ConcatImportFileNormalizedOhmurlWithRecordName(thread, jsPandaFile, baseFileName, TranslateExpressionToNormalized() local [all...] |
H A D | napi_module_loader.cpp | 58 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pandaFile, in LoadModuleNameSpaceWithPath() local 63 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, abcFilePath, entryPoint); in LoadModuleNameSpaceWithPath() 71 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entryPoint, &recordInfo); in LoadModuleNameSpaceWithPath() 73 LOG_FULL(ERROR) << "cannot find record '" << entryPoint <<"' in basefileName " << abcFilePath << "," in LoadModuleNameSpaceWithPath() 75 CString msg = "cannot find record '" + entryPoint + "' in basefileName " + abcFilePath + "," + in LoadModuleNameSpaceWithPath() 80 if (!moduleManager->IsLocalModuleLoaded(entryPoint) || moduleManager->IsLocalModuleInstantiated(entryPoint)) { in LoadModuleNameSpaceWithPath() 81 if (!JSPandaFileExecutor::ExecuteFromAbcFile(thread, abcFilePath, entryPoint.c_str(), false, true)) { in LoadModuleNameSpaceWithPath() 82 CString msg = "Cannot execute request from napi load module : " + entryPoint + in LoadModuleNameSpaceWithPath() 87 JSHandle<SourceTextModule> moduleRecord = moduleManager->HostGetImportedModule(entryPoint); in LoadModuleNameSpaceWithPath() [all...] |
H A D | module_path_helper.h | 235 CString entryPoint = packageEntryPoint; in ConfirmLoadingIndexOrNot() local 236 if (jsPandaFile->HasRecord(entryPoint)) { in ConfirmLoadingIndexOrNot() 237 return entryPoint; in ConfirmLoadingIndexOrNot() 240 entryPoint += PACKAGE_ENTRY_FILE; in ConfirmLoadingIndexOrNot() 241 entryPoint = PathHelper::NormalizePath(entryPoint); in ConfirmLoadingIndexOrNot() 242 if (jsPandaFile->HasRecord(entryPoint)) { in ConfirmLoadingIndexOrNot() 243 return entryPoint; in ConfirmLoadingIndexOrNot()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | js_pandafile_executor.h | 33 std::string_view entryPoint); 35 [[maybe_unused]] std::string_view entryPoint); 40 std::string_view entryPoint, 44 std::string_view entryPoint, bool needUpdate = false, 47 std::string_view entryPoint, const CString &filename = "", 55 std::string_view entryPoint, bool executeFromJob = false); 65 std::string_view entryPoint, 74 const CString &entryPoint);
|
H A D | literal_data_extractor.h | 37 JSHandle<ConstantPool> constpool, const CString &entryPoint = ""); 41 JSHandle<ConstantPool> constpool, const CString &entryPoint = "", 46 JSHandle<ConstantPool> constpool, const CString &entryPoint = ""); 48 EntityId id, JSHandle<ConstantPool> constpool, const CString &entryPoint = "", 53 EntityId id, JSHandle<ConstantPool> constpool, const CString &entryPoint = "", 60 const CString &entryPoint = ""); 65 const CString &entryPoint = "", 78 const CString &entryPoint = "", bool isLoadedAOT = false, uint32_t entryIndex = 0, 85 const CString &entryPoint = "");
|
H A D | js_pandafile_executor.cpp | 29 [[maybe_unused]] std::string_view entryPoint) in ParseAbcEntryPoint() 35 return {filename, entryPoint.data()}; in ParseAbcEntryPoint() 110 const CString &filename, std::string_view entryPoint, bool needUpdate, bool executeFromJob) in ExecuteFromAbsolutePathAbcFile() 115 CString entry = entryPoint.data(); in ExecuteFromAbsolutePathAbcFile() 122 std::string_view entryPoint, bool needUpdate, bool executeFromJob) in ExecuteFromAbcFile() 131 std::tie(name, entry) = ParseAbcEntryPoint(thread, filename, entryPoint); in ExecuteFromAbcFile() 134 entry = entryPoint.data(); in ExecuteFromAbcFile() 142 const void *buffer, size_t size, std::string_view entryPoint, const CString &filename, bool needUpdate, in ExecuteFromBuffer() 150 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, normalName, entryPoint, buffer, size, needUpdate); in ExecuteFromBuffer() 162 CString entry = entryPoint in ExecuteFromBuffer() 28 ParseAbcEntryPoint(JSThread *thread, const CString &filename, [[maybe_unused]] std::string_view entryPoint) ParseAbcEntryPoint() argument 109 ExecuteFromAbsolutePathAbcFile(JSThread *thread, const CString &filename, std::string_view entryPoint, bool needUpdate, bool executeFromJob) ExecuteFromAbsolutePathAbcFile() argument 121 ExecuteFromAbcFile(JSThread *thread, const CString &filename, std::string_view entryPoint, bool needUpdate, bool executeFromJob) ExecuteFromAbcFile() argument 141 ExecuteFromBuffer(JSThread *thread, const void *buffer, size_t size, std::string_view entryPoint, const CString &filename, bool needUpdate, bool executeFromJob) ExecuteFromBuffer() argument 263 Execute(JSThread *thread, const JSPandaFile *jsPandaFile, std::string_view entryPoint, bool executeFromJob) Execute() argument 320 ExecuteFromBufferSecure(JSThread *thread, uint8_t *buffer, size_t size, std::string_view entryPoint, const CString &filename, bool needUpdate) ExecuteFromBufferSecure() argument 445 ExecuteSecureWithOhmUrl(JSThread *thread, uint8_t *buffer, size_t size, const CString &filename, const CString &entryPoint) ExecuteSecureWithOhmUrl() argument 449 ", entryPoint:" << entryPoint; ExecuteSecureWithOhmUrl() local 559 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile.get(), ExecuteAbcFileWithSingletonPatternFlag() local 606 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile.get(), IsExecuteModuleInAbcFile() local [all...] |
H A D | js_pandafile_manager.h | 34 JSHandle<Program> GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile, std::string_view entryPoint); 36 std::shared_ptr<JSPandaFile> LoadJSPandaFile(JSThread *thread, const CString &filename, std::string_view entryPoint, 39 std::shared_ptr<JSPandaFile> LoadJSPandaFile(JSThread *thread, const CString &filename, std::string_view entryPoint, 44 std::string_view entryPoint, uint8_t *buffer, size_t size, 112 std::string_view entryPoint); 118 std::string_view entryPoint);
|
H A D | js_pandafile_manager.cpp | 44 std::string_view entryPoint, bool needUpdate) in LoadJSPandaFile() 59 jsPandaFile = GenerateJSPandafileFromBufferCache(thread, filename, entryPoint); in LoadJSPandaFile() 119 std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), filename, entryPoint); in LoadJSPandaFile() 130 std::string_view entryPoint, const void *buffer, size_t size, bool needUpdate) in LoadJSPandaFile() 172 std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPoint); in LoadJSPandaFile() 182 std::string_view entryPoint, uint8_t *buffer, size_t size, bool needUpdate) in LoadJSPandaFileSecure() 219 std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPoint); in LoadJSPandaFileSecure() 232 std::string_view entryPoint) in GenerateProgram() 235 return PandaFileTranslator::GenerateProgram(vm, jsPandaFile, entryPoint); in GenerateProgram() 523 const CString &desc, std::string_view entryPoint) in GenerateJSPandaFile() 43 LoadJSPandaFile(JSThread *thread, const CString &filename, std::string_view entryPoint, bool needUpdate) LoadJSPandaFile() argument 129 LoadJSPandaFile(JSThread *thread, const CString &filename, std::string_view entryPoint, const void *buffer, size_t size, bool needUpdate) LoadJSPandaFile() argument 181 LoadJSPandaFileSecure(JSThread *thread, const CString &filename, std::string_view entryPoint, uint8_t *buffer, size_t size, bool needUpdate) LoadJSPandaFileSecure() argument 231 GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile, std::string_view entryPoint) GenerateProgram() argument 522 GenerateJSPandaFile(JSThread *thread, const panda_file::File *pf, const CString &desc, std::string_view entryPoint) GenerateJSPandaFile() argument 600 GenerateJSPandafileFromBufferCache( JSThread *thread, const CString &filename, std::string_view entryPoint) GenerateJSPandafileFromBufferCache() argument [all...] |
H A D | literal_data_extractor.cpp | 33 const CString &entryPoint) in ExtractObjectDatas() 47 &methodId, &kind, &constpool, &entryPoint](const LiteralValue &value, const LiteralTag &tag) { in ExtractObjectDatas() 101 DefineMethodInLiteral(thread, jsPandaFile, methodId, constpool, kind, length, entryPoint); in ExtractObjectDatas() 131 const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &entryPoint) in GetDatasIgnoreTypeForClass() 140 return EnumerateLiteralVals(thread, lda, jsPandaFile, index, constpool, entryPoint); in GetDatasIgnoreTypeForClass() 145 const CString &entryPoint) in GetDatasIgnoreType() 148 return EnumerateLiteralVals(thread, lda, jsPandaFile, index, constpool, entryPoint); in GetDatasIgnoreType() 152 const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &entryPoint) in EnumerateLiteralVals() 161 index, [literals, &pos, factory, thread, jsPandaFile, &methodId, &kind, &constpool, &entryPoint] in EnumerateLiteralVals() 211 DefineFunctionTemplate(thread, jsPandaFile, methodId, constpool, kind, length, entryPoint); in EnumerateLiteralVals() 29 ExtractObjectDatas(JSThread *thread, const JSPandaFile *jsPandaFile, size_t index, JSMutableHandle<TaggedArray> elements, JSMutableHandle<TaggedArray> properties, JSHandle<ConstantPool> constpool, const CString &entryPoint) ExtractObjectDatas() argument 130 GetDatasIgnoreTypeForClass(JSThread *thread, const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &entryPoint) GetDatasIgnoreTypeForClass() argument 143 GetDatasIgnoreType(JSThread *thread, const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &entryPoint) GetDatasIgnoreType() argument 151 EnumerateLiteralVals(JSThread *thread, LiteralDataAccessor &lda, const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &entryPoint) EnumerateLiteralVals() argument 241 DefineFunctionTemplate(JSThread *thread, const JSPandaFile *jsPandaFile, uint32_t offset, JSHandle<ConstantPool> constpool, FunctionKind kind, uint16_t length, const CString &entryPoint, bool isLoadedAOT, uint32_t entryIndex, JSHandle<JSTaggedValue> sendableEnv, ClassKind classKind) DefineFunctionTemplate() argument 321 DefineMethodInLiteral(JSThread *thread, const JSPandaFile *jsPandaFile, uint32_t offset, JSHandle<ConstantPool> constpool, FunctionKind kind, uint16_t length, const CString &entryPoint, bool isLoadedAOT, uint32_t entryIndex, JSHandle<JSTaggedValue> sendableEnv, ClassKind classKind) DefineMethodInLiteral() argument 516 GetDatasIgnoreTypeForClass(JSThread *thread, const JSPandaFile *jsPandaFile, EntityId id, JSHandle<ConstantPool> constpool, const CString &entryPoint, bool isLoadedAOT, JSHandle<AOTLiteralInfo> entryIndexes, ElementsKind *newKind, JSHandle<JSTaggedValue> sendableEnv, ClassKind classKind) GetDatasIgnoreTypeForClass() argument 536 GetDatasIgnoreType(JSThread *thread, const JSPandaFile *jsPandaFile, EntityId id, JSHandle<ConstantPool> constpool, const CString &entryPoint, bool isLoadedAOT, JSHandle<AOTLiteralInfo> entryIndexes, ElementsKind *newKind, JSHandle<JSTaggedValue> sendableEnv, ClassKind classKind) GetDatasIgnoreType() argument [all...] |
H A D | js_pandafile.cpp | 274 CString entryPoint; in GetEntryPoint() local 275 if (FindOhmUrlInPF(recordName, entryPoint) && HasRecord(entryPoint)) { in GetEntryPoint() 276 return entryPoint; in GetEntryPoint() 281 CString JSPandaFile::GetRecordName(const CString &entryPoint) const in GetRecordName() 283 if (entryPoint.empty() || entryPoint == JSPandaFile::ENTRY_FUNCTION_NAME) { in GetRecordName() 286 return entryPoint; in GetRecordName() 289 bool JSPandaFile::FindOhmUrlInPF(const CString &recordName, CString &entryPoint) const in FindOhmUrlInPF() 293 entryPoint in FindOhmUrlInPF() [all...] |
H A D | panda_file_translator.h | 39 std::string_view entryPoint); 54 static void ParseFuncAndLiteralConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, const CString &entryPoint,
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/ |
H A D | asm_printer.cpp | 36 void AssemblyPrinter<aarch32::Aarch32Encoder>::MakeCall(const void *entryPoint) in MakeCall() argument 38 *str_ << "blx " << std::hex << entryPoint << "\n"; in MakeCall() local 58 void AssemblyPrinter<aarch64::Aarch64Encoder>::MakeCall(const void *entryPoint) in MakeCall() argument 60 *str_ << "bl " << std::hex << entryPoint << "\n"; in MakeCall() local 80 void AssemblyPrinter<amd64::Amd64Encoder>::MakeCall(const void *entryPoint) in MakeCall() argument 82 *str_ << "callq " << std::hex << entryPoint << "@plt\n"; in MakeCall() local
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_promise_job.cpp | 146 CString entryPoint = JSPandaFile::ENTRY_MAIN_FUNCTION; in DynamicImportJob() local 187 entryPoint = in DynamicImportJob() 191 moduleName = entryPoint; in DynamicImportJob() 194 JSPandaFileManager::GetInstance()->LoadJSPandaFile(thread, fileName, entryPoint); in DynamicImportJob() 200 bool hasRecord = jsPandaFile->CheckAndGetRecordInfo(entryPoint, &recordInfo); in DynamicImportJob() 202 CString normalizeStr = ModulePathHelper::ReformatPath(entryPoint); in DynamicImportJob() 210 thread, entryPoint, ModuleTypes::JSON_MODULE, resolve, reject, jsPandaFile.get()); in DynamicImportJob() 213 thread->GetEcmaVM()->PushToDeregisterModuleList(entryPoint); in DynamicImportJob() 216 if (!JSPandaFileExecutor::ExecuteFromAbcFile(thread, fileName.c_str(), entryPoint.c_str(), false, true)) { in DynamicImportJob() 217 CString msg = "Cannot execute request dynamic-imported module : " + entryPoint; in DynamicImportJob() [all...] |
/arkcompiler/toolchain/tooling/test/ |
H A D | debugger_cint_client_test.cpp | 72 auto [pandaFile, entryPoint] = GetTestEntryPoint(testName); in HWTEST_P_L0() 73 auto res = JSNApi::Execute(instance, pandaFile.c_str(), entryPoint.c_str()); in HWTEST_P_L0()
|
H A D | debugger_client_test.cpp | 73 auto [pandaFile, entryPoint] = GetTestEntryPoint(testName); in HWTEST_P_L0() 74 auto res = JSNApi::Execute(instance, pandaFile.c_str(), entryPoint.c_str()); in HWTEST_P_L0()
|
H A D | debugger_cinterp_test.cpp | 64 auto [pandaFile, entryPoint] = GetTestEntryPoint(testName); in HWTEST_P_L0() 65 auto res = JSNApi::Execute(instance, pandaFile.c_str(), entryPoint.c_str()); in HWTEST_P_L0()
|
H A D | debugger_entry_test.cpp | 64 auto [pandaFile, entryPoint] = GetTestEntryPoint(testName); in HWTEST_P_L0() 65 auto res = JSNApi::Execute(instance, pandaFile.c_str(), entryPoint.c_str()); in HWTEST_P_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_context.cpp | 278 const JSPandaFile *jsPandaFile, std::string_view entryPoint, in InvokeEcmaAotEntrypoint() 281 aotFileManager_->SetAOTMainFuncEntry(mainFunc, jsPandaFile, entryPoint); in InvokeEcmaAotEntrypoint() 301 std::string_view entryPoint, JSHandle<JSFunction> &func, bool executeFromJob) in CommonInvokeEcmaEntrypoint() 306 CString entry = entryPoint.data(); in CommonInvokeEcmaEntrypoint() 338 CJSExecution(func, global, jsPandaFile, entryPoint); in CommonInvokeEcmaEntrypoint() 342 result = InvokeEcmaAotEntrypoint(func, global, jsPandaFile, entryPoint); in CommonInvokeEcmaEntrypoint() 377 std::string_view entryPoint, bool executeFromJob) in InvokeEcmaEntrypoint() 382 LOG_FULL(INFO) << "current executing file's name " << entryPoint.data(); in InvokeEcmaEntrypoint() 386 moduleLogger->SetStartTime(CString(entryPoint)); in InvokeEcmaEntrypoint() 388 JSHandle<Program> program = JSPandaFileManager::GetInstance()->GenerateProgram(vm_, jsPandaFile, entryPoint); in InvokeEcmaEntrypoint() 277 InvokeEcmaAotEntrypoint(JSHandle<JSFunction> mainFunc, JSHandle<JSTaggedValue> &thisArg, const JSPandaFile *jsPandaFile, std::string_view entryPoint, CJSInfo* cjsInfo) InvokeEcmaAotEntrypoint() argument 300 CommonInvokeEcmaEntrypoint(const JSPandaFile *jsPandaFile, std::string_view entryPoint, JSHandle<JSFunction> &func, bool executeFromJob) CommonInvokeEcmaEntrypoint() argument 376 InvokeEcmaEntrypoint(const JSPandaFile *jsPandaFile, std::string_view entryPoint, bool executeFromJob) InvokeEcmaEntrypoint() argument 412 InvokeEcmaEntrypointForHotReload( const JSPandaFile *jsPandaFile, std::string_view entryPoint, bool executeFromJob) InvokeEcmaEntrypointForHotReload() argument 437 CJSExecution(JSHandle<JSFunction> &func, JSHandle<JSTaggedValue> &thisArg, const JSPandaFile *jsPandaFile, std::string_view entryPoint) CJSExecution() argument [all...] |
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | runtime.cpp | 952 static bool GetClassAndMethod(std::string_view entryPoint, PandaString *className, PandaString *methodName) in GetClassAndMethod() argument 954 size_t pos = entryPoint.find_last_of("::"); in GetClassAndMethod() 959 *className = PandaString(entryPoint.substr(0, pos - 1)); in GetClassAndMethod() 960 *methodName = PandaString(entryPoint.substr(pos + 1)); in GetClassAndMethod() 973 Expected<Method *, Runtime::Error> Runtime::ResolveEntryPoint(std::string_view entryPoint) in ResolveEntryPoint() argument 978 if (!GetClassAndMethod(entryPoint, &className, &methodName)) { in ResolveEntryPoint() 979 LOG(ERROR, RUNTIME) << "Invalid entry point: " << entryPoint; in ResolveEntryPoint() 1013 LOG(ERROR, RUNTIME) << "Cannot find method '" << entryPoint << "'"; in ResolveEntryPoint() 1046 std::string_view entryPoint) in ExtractLanguageContext() 1050 if (!GetClassAndMethod(entryPoint, in ExtractLanguageContext() 1045 ExtractLanguageContext(const panda_file::File *pf, std::string_view entryPoint) ExtractLanguageContext() argument 1086 CreateApplicationClassLinkerContext(std::string_view filename, std::string_view entryPoint) CreateApplicationClassLinkerContext() argument 1139 ExecutePandaFile(std::string_view filename, std::string_view entryPoint, const std::vector<std::string> &args) ExecutePandaFile() argument 1187 Execute(std::string_view entryPoint, const std::vector<std::string> &args) Execute() argument [all...] |
/arkcompiler/toolchain/tooling/backend/ |
H A D | js_pt_hooks.cpp | 80 void JSPtHooks::LoadModule(std::string_view pandaFileName, std::string_view entryPoint) in LoadModule() argument 86 if (debugger_->NotifyScriptParsed(pandaFileName.data(), entryPoint)) { in LoadModule()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/call/ |
H A D | call_ets.cpp | 200 Expected<Method *, char const *> ResolveEntryPoint(InteropCtx *ctx, std::string_view entryPoint) in ResolveEntryPoint() argument 206 if (auto packageSep = entryPoint.rfind('.'); packageSep != PandaString::npos) { in ResolveEntryPoint() 207 complexClassName = 'L' + PandaString(entryPoint.substr(0, packageSep + 1)) + "ETSGLOBAL;"; in ResolveEntryPoint() 210 methodName = utf::CStringAsMutf8(&entryPoint.at(packageSep + 1)); in ResolveEntryPoint() 213 methodName = utf::CStringAsMutf8(entryPoint.data()); in ResolveEntryPoint()
|
/arkcompiler/runtime_core/static_core/compiler/ |
H A D | compile_method.cpp | 177 auto entryPoint = const_cast<uint8_t *>(codeInfo.GetCode()); in GetEntryPoint() local 179 reinterpret_cast<uintptr_t>(entryPoint), codeInfo.GetCodeSize(), in GetEntryPoint() 182 return entryPoint; in GetEntryPoint() 245 auto entryPoint = in CheckCompilation() local 247 if (entryPoint == nullptr) { in CheckCompilation() 251 if (!runtime->TrySetOsrCode(method, entryPoint)) { in CheckCompilation() 257 runtime->SetCompiledEntryPoint(method, entryPoint); in CheckCompilation()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
H A D | ecma_module_test.cpp | 310 CString entryPoint = ModulePathHelper::ReformatPath(requestPath); in HWTEST_F_L0() local 311 EXPECT_EQ("@entry.@hw-agconnect.hmcore", entryPoint); in HWTEST_F_L0() 315 entryPoint = ModulePathHelper::ReformatPath(requestPath); in HWTEST_F_L0() 316 EXPECT_EQ("@entry.@hw-agconnect.hmcore", entryPoint); in HWTEST_F_L0() 320 entryPoint = ModulePathHelper::ReformatPath(requestPath); in HWTEST_F_L0() 321 EXPECT_EQ("lib*.so", entryPoint); in HWTEST_F_L0() 325 entryPoint = ModulePathHelper::ReformatPath(requestPath); in HWTEST_F_L0() 326 EXPECT_EQ("bundleName/moduleName/lib*.so", entryPoint); in HWTEST_F_L0() 356 CString entryPoint = ModulePathHelper::MakeNewRecord(thread, pf.get(), baseFilename, moduleRecordName, in HWTEST_F_L0() local 358 EXPECT_EQ(result, entryPoint); in HWTEST_F_L0() 389 CString entryPoint = ModulePathHelper::FindPackageInTopLevelWithNamespace( HWTEST_F_L0() local 391 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local 397 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local 403 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local 426 CString entryPoint = ModulePathHelper::ParseOhpmPackage(pf.get(), moduleRecordName, moduleRequestName); HWTEST_F_L0() local 427 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local 438 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local 466 CString entryPoint = ModulePathHelper::FindPackageInTopLevel(pf.get(), moduleRequestName, packagePath); HWTEST_F_L0() local 753 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, moduleRecordName, HWTEST_F_L0() local 785 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, moduleRecordName, HWTEST_F_L0() local 820 CString entryPoint = HWTEST_F_L0() local 865 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge( HWTEST_F_L0() local 914 CString entryPoint; HWTEST_F_L0() local 1743 CString entryPoint = "ENTRY_MAIN_FUNCTION"; HWTEST_F_L0() local 1767 CString entryPoint = "com.example.myapplication/hsp/ets/pages/Index"; HWTEST_F_L0() local 1777 CString entryPoint = "com.example.myapplication/entry@har/ets/pages/Index"; HWTEST_F_L0() local 2250 CString entryPoint = ModulePathHelper::ConcatMergeFileNameToNormalized(thread, pf.get(), baseFilename, recordName, HWTEST_F_L0() local 2286 CString entryPoint = ModulePathHelper::ConcatImportFileNormalizedOhmurlWithRecordName(thread, pf.get(), HWTEST_F_L0() local 2288 EXPECT_EQ(CString(), entryPoint); HWTEST_F_L0() local [all...] |
/arkcompiler/runtime_core/static_core/verification/absint/ |
H A D | absint.cpp | 136 uint8_t const *entryPoint = nullptr; in VerifyEntryPoints() local 140 while (execCtx.GetEntryPointForChecking(&entryPoint, &entryType) == ExecContext::Status::OK) { in VerifyEntryPoints() 144 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(entryPoint) - reinterpret_cast<uintptr_t>(codeStart)), in VerifyEntryPoints() 147 auto result = AbstractInterpret(verifCtx, entryPoint, entryType); in VerifyEntryPoints()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | notification_manager.h | 70 void LoadModuleEvent(std::string_view name, std::string_view entryPoint) const in LoadModuleEvent() 73 it->LoadModule(name, entryPoint); in LoadModuleEvent()
|