Home
last modified time | relevance | path

Searched refs:ModulePathHelper (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp308 …CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, pf.get(), baseFilename, mod… in HWTEST_F_L0()
315ModulePathHelper::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()
376ModulePathHelper::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/
Dmodule_path_helper.cpp21 CString ModulePathHelper::ConcatFileNameWithMerge(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatFileNameWithMerge()
65 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()
286 CString ModulePathHelper::FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, in FindPackageInTopLevelWithNamespace()
328 CString ModulePathHelper::ParseOhpmPackage(const JSPandaFile *jsPandaFile, in ParseOhpmPackage()
359 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage()
388 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage()
[all …]
Dmodule_path_helper.h60 class ModulePathHelper {
174 … if (StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX) || in IsNativeModuleRequest()
175 StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX) || in IsNativeModuleRequest()
176 … StringHelper::StringStartWith(requestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFIX)) { in IsNativeModuleRequest()
Djs_module_source_text.cpp129 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge( in HostResolveImportedModuleWithMerge()
134 if (entryPoint == ModulePathHelper::PREVIEW_OF_ACROSS_HAP_FLAG && in HostResolveImportedModuleWithMerge()
308 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_BUNDLE) || in CheckNativeModule()
309 StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::PREFIX_PACKAGE)|| in CheckNativeModule()
314 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_OHOS_PREFIX)) { in CheckNativeModule()
317 … if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAPI_APP_PREFIX)) { in CheckNativeModule()
320 …if (StringHelper::StringStartWith(moduleRequestName, ModulePathHelper::REQUIRE_NAITVE_MODULE_PREFI… in CheckNativeModule()
Djs_module_manager.cpp402 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp37 using ModulePathHelper = ecmascript::ModulePathHelper; typedef
169 if (ModulePathHelper::NeedTranstale(requestPath)) { in DynamicImportJob()
170ModulePathHelper::TranstaleExpressionInput(thread, requestPath, curJsPandaFile.get(), specifierStr… in DynamicImportJob()
187 ModulePathHelper::ConcatFileNameWithMerge(thread, curJsPandaFile.get(), in DynamicImportJob()
Dbuiltins_cjs_module.cpp66 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in ResolveFilename()
/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module.cpp107 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in Load()
115 … requestEntryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile, mergedFilename, in Load()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp771 if (fileName.length() > ModulePathHelper::BUNDLE_INSTALL_PATH_LEN && in GetCurrentModuleInfo()
772 fileName.find(ModulePathHelper::BUNDLE_INSTALL_PATH) == 0) { in GetCurrentModuleInfo()
773 fileName = fileName.substr(ModulePathHelper::BUNDLE_INSTALL_PATH_LEN); in GetCurrentModuleInfo()
779 CString moduleName = ModulePathHelper::GetModuleName(recordName); in GetCurrentModuleInfo()
Decma_context.cpp388 ModulePathHelper::ResolveCurrentPath(thread_, dirname, filename, jsPandaFile); in CJSExecution()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_executor.cpp49 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteFromAbcFile()
167 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteModuleBuffer()
329 ModulePathHelper::ParseOhmUrl(vm, normalName, name, entry); in ExecuteModuleBufferSecure()
Djs_pandafile_manager.cpp84 …bool getBuffer = resolveBufferCallback(ModulePathHelper::ParseHapPath(filename), &data, &dataSize); in LoadJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp196 using ModulePathHelper = ecmascript::ModulePathHelper; typedef
Djsnapi_expo.cpp190 using ModulePathHelper = ecmascript::ModulePathHelper; typedef
2566 ecmascript::CString moduleName = ModulePathHelper::GetModuleName(entryPoint.c_str()); in SetModuleInfo()
3733 ModulePathHelper::ParseOhmUrl(vm, entry, name, entry); in GetExportObject()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp770 if (ModulePathHelper::IsNativeModuleRequest(moduleRequestName)) { in CollectRecordExportInfo()
774 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile_, in CollectRecordExportInfo()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp153 if (ModulePathHelper::IsNativeModuleRequest(cstringRelativePath)) { in ResolveImportType()
159ModulePathHelper::ConcatFileNameWithMerge(thread_, jsPandaFile, baseFileName, recordName, cstringR… in ResolveImportType()