Home
last modified time | relevance | path

Searched refs:moduleInstallPath (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/
H A Djsi_module_searcher.cpp201 if (moduleInstallPath.empty()) { in MakeNewJsModulePath()
297 std::string moduleInstallPath = bundleInstallPath_; in FindNpmPackage() local
298 moduleInstallPath.append(NODE_MODULES_PATH).append(SEPERATOR); in FindNpmPackage()
300 std::string path = moduleInstallPath + npmPackage; in FindNpmPackage()
310 std::string moduleInstallPath; in ParseOhmUri() local
326 moduleInstallPath = bundleInstallPath_; in ParseOhmUri()
328 moduleInstallPath.append(SOURCE_ASSETS_PATH).append(SEPERATOR); in ParseOhmUri()
338 moduleInstallPath = GetInstallPath(curJsModulePath, false); in ParseOhmUri()
339 if (moduleInstallPath.empty()) { in ParseOhmUri()
350 moduleInstallPath = GetInstallPath(curJsModulePath); in ParseOhmUri()
[all …]
H A Djsi_module_searcher.h40 … const std::string& moduleInstallPath, const std::string& npmPackage, size_t start = 0) const;
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_path_utils.cpp169 if (moduleInstallPath.empty()) { in MakeNewJsModulePath()
278 if (moduleInstallPath.empty()) { in FindNpmPackage()
319 std::string moduleInstallPath; in ParseOhmUri() local
333 moduleInstallPath = std::string(BUNDLE_INSTALL_PATH); in ParseOhmUri()
336 moduleInstallPath.append(bundleName).append("/"); in ParseOhmUri()
338 moduleInstallPath.append(pathVector[index++]).append("/"); in ParseOhmUri()
347 moduleInstallPath = GetInstallPath(curJsModulePath, false); in ParseOhmUri()
348 if (moduleInstallPath.empty()) { in ParseOhmUri()
351 moduleInstallPath.append(pathVector[index++]).append("/"); in ParseOhmUri()
359 moduleInstallPath = GetInstallPath(curJsModulePath); in ParseOhmUri()
[all …]
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dfile_path_utils.h34 const std::string& moduleInstallPath, const std::string& npmPackage, size_t start = 0);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/
H A Dfile_path_utils_test.cpp385 const std::string& moduleInstallPath = ""; variable
388 std::string newJsModulePath = FindNpmPackageInTopLevel(moduleInstallPath, npmPackage, start);