Home
last modified time | relevance | path

Searched refs:ModulePathHelper (Results 1 – 14 of 14) 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()
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 …]
Dmodule_path_helper.h60 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()
Djs_module_source_text.cpp108 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()
Djs_module_manager.cpp352 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile()
/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/builtins/
Dbuiltins_cjs_module.cpp66 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in ResolveFilename()
Dbuiltins_promise_job.cpp178 ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile.get(), in DynamicImportJob()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_executor.cpp45 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()
Djs_pandafile_manager.cpp76 …bool getBuffer = resolveBufferCallback(ModulePathHelper::ParseHapPath(filename), &data, &dataSize); in LoadJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp692 if (ModulePathHelper::IsNativeModuleRequest(moduleRequestName)) { in CollectRecordExportInfo()
696 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile_, in CollectRecordExportInfo()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp148 if (ModulePathHelper::IsNativeModuleRequest(cstringRelativePath)) { in ResolveImportType()
154ModulePathHelper::ConcatFileNameWithMerge(thread_, jsPandaFile, baseFileName, recordName, cstringR… in ResolveImportType()
/arkcompiler/ets_runtime/ecmascript/
Decma_context.cpp319 ModulePathHelper::ResolveCurrentPath(thread_, dirname, filename, jsPandaFile); in CJSExecution()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp191 using ModulePathHelper = ecmascript::ModulePathHelper; typedef
907 ModulePathHelper::ParseOhmUrl(vm, entry, name, entry); in GetExportObject()