| /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() 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 …]
|
| D | module_path_helper.h | 60 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()
|
| D | js_module_source_text.cpp | 129 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()
|
| D | js_module_manager.cpp | 402 … (base::StringHelper::StringStartWith(moduleFileName, ModulePathHelper::BUNDLE_INSTALL_PATH) || in SkipDefaultBundleFile()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_promise_job.cpp | 37 using ModulePathHelper = ecmascript::ModulePathHelper; typedef 169 if (ModulePathHelper::NeedTranstale(requestPath)) { in DynamicImportJob() 170 …ModulePathHelper::TranstaleExpressionInput(thread, requestPath, curJsPandaFile.get(), specifierStr… in DynamicImportJob() 187 ModulePathHelper::ConcatFileNameWithMerge(thread, curJsPandaFile.get(), in DynamicImportJob()
|
| D | builtins_cjs_module.cpp | 66 ModulePathHelper::ResolveCurrentPath(thread, parent, dirname, jsPandaFile); in ResolveFilename()
|
| /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/ |
| D | ecma_vm.cpp | 771 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()
|
| D | ecma_context.cpp | 388 ModulePathHelper::ResolveCurrentPath(thread_, dirname, filename, jsPandaFile); in CJSExecution()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.cpp | 49 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()
|
| D | js_pandafile_manager.cpp | 84 …bool getBuffer = resolveBufferCallback(ModulePathHelper::ParseHapPath(filename), &data, &dataSize); in LoadJSPandaFile()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi.cpp | 196 using ModulePathHelper = ecmascript::ModulePathHelper; typedef
|
| D | jsnapi_expo.cpp | 190 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/ |
| D | bytecode_info_collector.cpp | 770 if (ModulePathHelper::IsNativeModuleRequest(moduleRequestName)) { in CollectRecordExportInfo() 774 CString entryPoint = ModulePathHelper::ConcatFileNameWithMerge(thread, jsPandaFile_, in CollectRecordExportInfo()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | ts_type_parser.cpp | 153 if (ModulePathHelper::IsNativeModuleRequest(cstringRelativePath)) { in ResolveImportType() 159 …ModulePathHelper::ConcatFileNameWithMerge(thread_, jsPandaFile, baseFileName, recordName, cstringR… in ResolveImportType()
|