| /arkcompiler/ets_runtime/ecmascript/module/tests/ |
| D | ecma_module_test.cpp | 308 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0() 315 …ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, moduleRecordName, module… in HWTEST_F_L0() 340 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0() 349 entryPoint = ModulePathHelper::ConcatFileNameWithMerge( in HWTEST_F_L0() 376 …ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, moduleRecordName, module… in HWTEST_F_L0() 389 …entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf2.get(), baseFilename, moduleReco… in HWTEST_F_L0() 419 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0() 463 ModulePathHelper::ParseOhmUrl(instance, inputFileName, outFileName, entryPoint); in HWTEST_F_L0() 469 ModulePathHelper::ParseOhmUrl(instance, inputFileName, outFileName, entryPoint); in HWTEST_F_L0() 477 ModulePathHelper::ParseOhmUrl(instance, inputFileName, outFileName, entryPoint); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | module_path_helper.cpp | 21 CString ModulePathHelper::ConcatFileNameWithMerge(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatFileNameWithMerge() 64 void ModulePathHelper::ParseOhmUrl(EcmaVM *vm, const CString &inputFileName, in ParseOhmUrl() 118 CString ModulePathHelper::ParseUrl(EcmaVM *vm, const CString &recordName) in ParseUrl() 148 CString ModulePathHelper::ParsePrefixBundle(JSThread *thread, const JSPandaFile *jsPandaFile, in ParsePrefixBundle() 203 CString ModulePathHelper::MakeNewRecord(const JSPandaFile *jsPandaFile, CString &baseFileName, in MakeNewRecord() 251 CString ModulePathHelper::FindOhpmEntryPoint(const JSPandaFile *jsPandaFile, in FindOhpmEntryPoint() 287 CString ModulePathHelper::FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, in FindPackageInTopLevelWithNamespace() 329 CString ModulePathHelper::ParseOhpmPackage(const JSPandaFile *jsPandaFile, in ParseOhpmPackage() 360 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() 389 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() [all …]
|
| D | module_path_helper.h | 60 class ModulePathHelper { 165 … if (StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX) || in IsNativeModuleRequest() 166 StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX) || in IsNativeModuleRequest() 167 … StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFIX)) { in IsNativeModuleRequest()
|
| D | js_module_source_text.cpp | 108 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge( in HostResolveImportedModuleWithMerge() 113 if (entryPoint == ModulePathHelper::PREVIEW_OF_ACROSS_HAP_FLAG && in HostResolveImportedModuleWithMerge() 287 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_BUNDLE) || in CheckNativeModule() 288 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_PACKAGE)|| in CheckNativeModule() 293 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX)) { in CheckNativeModule() 296 … if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX)) { in CheckNativeModule() 299 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFI… in CheckNativeModule()
|
| D | js_module_manager.cpp | 352 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile()
|
| /arkcompiler/ets_runtime/ecmascript/require/ |
| D | js_cjs_module.cpp | 107 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in Load() 115 … requestEntryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile, mergedFilename, in Load()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_cjs_module.cpp | 66 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in ResolveFilename()
|
| D | builtins_promise_job.cpp | 178 ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile.get(), in DynamicImportJob()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.cpp | 45 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteFromFile() 160 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteModuleBuffer() 317 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteModuleBufferSecure()
|
| D | js_pandafile_manager.cpp | 76 …bool getBuffer = resolveBufferCallback(ModulePathHelper::ParseHapPath(filename), &data, &dataSize); in LoadJSPandaFile()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | bytecode_info_collector.cpp | 692 if (ModulePathHelper::IsNativeModuleRequest(moduleRequestName)) { in CollectRecordExportInfo() 696 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile_, in CollectRecordExportInfo()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | ts_type_parser.cpp | 148 if (ModulePathHelper::IsNativeModuleRequest(cstringRelativePath)) { in ResolveImportType() 154 …ModulePathHelper::ConcatFileNameWithMerge(thread_, jsPandaFile, baseFileName, recordName, cstringR… in ResolveImportType()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_context.cpp | 319 ModulePathHelper::ResolveCurrentPath(thread_, dirname, filename, jsPandaFile); in CJSExecution()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 191 using ModulePathHelper = ecmascript::ModulePathHelper; typedef 907 ModulePathHelper::ParseOhmUrl(vm, entry, name, entry); in GetExportObject()
|