Searched refs:curJsModulePath (Results 1 – 2 of 2) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/extractortool/src/ |
| D | file_path_utils.cpp | 140 std::string GetInstallPath(const std::string& curJsModulePath, bool module) in GetInstallPath() argument 143 …if (StringStartWith(curJsModulePath, BUNDLE_INSTALL_PATH, std::string(BUNDLE_INSTALL_PATH).length(… in GetInstallPath() 146 if (!StringStartWith(curJsModulePath, OTHER_BUNDLE_INSTALL_PATH, in GetInstallPath() 151 pos = curJsModulePath.find('/', std::string(OTHER_BUNDLE_INSTALL_PATH).length()); in GetInstallPath() 158 pos = curJsModulePath.find('/', pos + 1); in GetInstallPath() 164 return curJsModulePath.substr(0, pos + 1); in GetInstallPath() 168 const std::string& curJsModulePath, const std::string& newJsModuleUri) in MakeNewJsModulePath() argument 170 std::string moduleInstallPath = GetInstallPath(curJsModulePath, true); in MakeNewJsModulePath() 176 SplitString(curJsModulePath, pathVector, moduleInstallPath.length()); in MakeNewJsModulePath() 273 std::string FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage) in FindNpmPackage() argument [all …]
|
| D | file_path_utils.h | 32 std::string GetInstallPath(const std::string& curJsModulePath, bool module = true); 33 …std::string MakeNewJsModulePath(const std::string& curJsModulePath, const std::string& newJsModule… 37 std::string FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage); 38 std::string ParseOhmUri(const std::string& originBundleName, const std::string& curJsModulePath, 41 …const std::string& bundleName, const std::string& curJsModulePath, const std::string& newJsModuleU…
|