Home
last modified time | relevance | path

Searched refs:newJsModulePath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/
H A Dfile_path_utils_test.cpp263 EXPECT_EQ(newJsModulePath, std::string());
277 EXPECT_EQ(newJsModulePath, std::string());
305 EXPECT_EQ(newJsModulePath, std::string());
333 EXPECT_EQ(newJsModulePath, std::string());
347 EXPECT_EQ(newJsModulePath, std::string());
538 EXPECT_EQ(newJsModulePath, "");
553 EXPECT_EQ(newJsModulePath, "");
568 EXPECT_EQ(newJsModulePath, "");
584 EXPECT_FALSE(newJsModulePath);
599 EXPECT_FALSE(newJsModulePath);
[all …]
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_path_utils.cpp273 std::string newJsModulePath = MakeNewJsModulePath(curJsModulePath, npmPackage); in FindNpmPackage() local
274 if (!newJsModulePath.empty()) { in FindNpmPackage()
275 return newJsModulePath; in FindNpmPackage()
377 std::string newJsModulePath; in NormalizeUri() local
379 return newJsModulePath; in NormalizeUri()
387 newJsModulePath = MakeNewJsModulePath(curJsModulePath, normalizeUri); in NormalizeUri()
392 if (newJsModulePath.empty()) { in NormalizeUri()
393 newJsModulePath = FindNpmPackage(curJsModulePath, normalizeUri); in NormalizeUri()
398 newJsModulePath = FindNpmPackage(curJsModulePath, normalizeUri); in NormalizeUri()
403 FixExtName(newJsModulePath); in NormalizeUri()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/
H A Djsi_module_searcher.cpp131 std::string newJsModulePath; in operator ()() local
134 return newJsModulePath; in operator ()()
139 newJsModulePath = MakeNewJsModulePath(curJsModulePath, newJsModuleUri); in operator ()()
143 newJsModulePath = ParseOhmUri(curJsModulePath, newJsModuleUri); in operator ()()
144 if (newJsModulePath.empty()) { in operator ()()
145 newJsModulePath = FindNpmPackage(curJsModulePath, newJsModuleUri); in operator ()()
150 newJsModulePath = FindNpmPackage(curJsModulePath, newJsModuleUri); in operator ()()
154 FixExtName(newJsModulePath); in operator ()()
156 return newJsModulePath; in operator ()()