Home
last modified time | relevance | path

Searched refs:modulePath (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/module/
Dnapi_module_loader.cpp24 CString &modulePath) in LoadModuleNameSpaceWithModuleInfo() argument
27 "," << "modulePath:" << modulePath; in LoadModuleNameSpaceWithModuleInfo()
28 CString moduleStr = ModulePathHelper::GetModuleNameWithPath(modulePath); in LoadModuleNameSpaceWithModuleInfo()
32 if (modulePath.size() != 0) { in LoadModuleNameSpaceWithModuleInfo()
47 …e<JSTaggedValue> nameSp = LoadModuleNameSpaceWithPath(thread, abcFilePath, requestPath, modulePath, in LoadModuleNameSpaceWithModuleInfo()
53 CString &requestPath, CString &modulePath, const JSPandaFile *pandaFile) in LoadModuleNameSpaceWithPath() argument
62 abcFilePath, modulePath, requestPath); in LoadModuleNameSpaceWithPath()
Dnapi_module_loader.h24 CString &modulePath);
26 CString &requestPath, CString &modulePath, const JSPandaFile *pandaFile);
Dmodule_path_helper.h181 static CString TranslateNapiFileRequestPath(JSThread *thread, const CString &modulePath,
301 inline static CString GetModuleNameWithPath(const CString modulePath) in GetModuleNameWithPath() argument
303 size_t pos1 = modulePath.find(PathHelper::SLASH_TAG); in GetModuleNameWithPath()
306 return modulePath.substr(pos1, modulePath.size() - pos1 + 1); in GetModuleNameWithPath()
Dmodule_path_helper.cpp1030 CString ModulePathHelper::TranslateNapiFileRequestPath(JSThread *thread, const CString &modulePath, in TranslateNapiFileRequestPath() argument
1034 CString moduleName = GetModuleNameWithPath(modulePath); in TranslateNapiFileRequestPath()
1038 return modulePath + PathHelper::SLASH_TAG + requestName; in TranslateNapiFileRequestPath()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/
Dets_interop_js_gtest.h93 void LoadModuleAs(const std::string &moduleName, const std::string &modulePath) in LoadModuleAs() argument
95 auto res = LoadModule(moduleName, modulePath); in LoadModuleAs()
97 std::cerr << "Failed to load module: " << modulePath << std::endl; in LoadModuleAs()
103 bool LoadModule(const std::string &moduleName, const std::string &modulePath) in LoadModule() argument
118 auto pathToModule = interopJsTestPath_ + "/" + modulePath; in LoadModule()
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dfile_path_utils.h42 …bool MakeFilePath(const std::string& codePath, const std::string& modulePath, std::string& fileNam…
Dfile_path_utils.cpp409 bool MakeFilePath(const std::string& codePath, const std::string& modulePath, std::string& fileName) in MakeFilePath() argument
412 path.append("/").append(modulePath); in MakeFilePath()
/arkcompiler/ets_frontend/arkguard/src/initialization/
DInitializer.ts43 const ohPackagePath = path.join(projectConfig.modulePath, 'oh-package.json5');
/arkcompiler/ets_frontend/ets2panda/linter/lib/
DTypeScriptLinter.ts685 const modulePath = path.normalize(sourceFile.fileName); constant
686 if (TypeScriptLinter.sharedModulesCache.has(modulePath)) {
687 return TypeScriptLinter.sharedModulesCache.get(modulePath)!;
690 TypeScriptLinter.sharedModulesCache.set(modulePath, isSharedModule);
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_expo.cpp5847 ecmascript::CString modulePath = module_path.c_str(); in GetModuleNameSpaceWithModuleInfo() local
5849 requestPath, modulePath); in GetModuleNameSpaceWithModuleInfo()