Searched refs:npmPackage (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 258 const std::string& moduleInstallPath, const std::string& npmPackage, size_t start) in FindNpmPackageInTopLevel() argument 261 …tring path = moduleInstallPath + NPM_PATH_SEGMENT + '/' + std::to_string(level) + '/' + npmPackage; in FindNpmPackageInTopLevel() 271 std::string FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage) in FindNpmPackage() argument 273 std::string newJsModulePath = MakeNewJsModulePath(curJsModulePath, npmPackage); in FindNpmPackage() 288 return FindNpmPackageInTopLevel(moduleInstallPath, npmPackage); in FindNpmPackage() 298 … moduleInstallPath + JoinString(pathVector, '/') + '/' + NPM_PATH_SEGMENT + '/' + npmPackage; in FindNpmPackage() 313 return FindNpmPackageInTopLevel(moduleInstallPath, npmPackage, index); in FindNpmPackage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/ |
H A D | jsi_module_searcher.h | 40 … const std::string& moduleInstallPath, const std::string& npmPackage, size_t start = 0) const; 41 …std::string FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage) cons…
|
H A D | jsi_module_searcher.cpp | 281 const std::string& moduleInstallPath, const std::string& npmPackage, size_t start) const in FindNpmPackageInTopLevel() argument 285 … moduleInstallPath + NPM_PATH_SEGMENT + SEPERATOR + std::to_string(level) + SEPERATOR + npmPackage; in FindNpmPackageInTopLevel() 295 …leSearcher::FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage) const in FindNpmPackage() 300 std::string path = moduleInstallPath + npmPackage; in FindNpmPackage()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | file_path_utils.h | 34 const std::string& moduleInstallPath, const std::string& npmPackage, size_t start = 0); 35 std::string FindNpmPackage(const std::string& curJsModulePath, const std::string& npmPackage);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/ |
H A D | file_path_utils_test.cpp | 386 const std::string& npmPackage = ""; variable 388 std::string newJsModulePath = FindNpmPackageInTopLevel(moduleInstallPath, npmPackage, start); 401 const std::string& npmPackage = ""; variable 402 std::string newJsModulePath = FindNpmPackage(curJsModulePath, npmPackage);
|