Home
last modified time | relevance | path

Searched refs:toPath (Results 1 - 12 of 12) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_backup_test/
H A Dkey_backup_test.cpp111 string toPath = "/data/test/KeyBackup/test3"; in HWTEST_F() local
113 EXPECT_FALSE(access(toPath.c_str(), F_OK) == 0); in HWTEST_F()
115 EXPECT_EQ(KeyBackup::GetInstance().HandleCopyDir(fromPath, toPath), -1); in HWTEST_F()
119 EXPECT_EQ(KeyBackup::GetInstance().HandleCopyDir(fromPath, toPath), 0); in HWTEST_F()
123 EXPECT_EQ(KeyBackup::GetInstance().HandleCopyDir(fromPath, toPath), 0); in HWTEST_F()
126 EXPECT_EQ(KeyBackup::GetInstance().GetAttr(toPath, attr), 0); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dproxy_filesystem.cpp182 bool ProxyFilesystem::Rename(const string_view fromPath, const string_view toPath) in Rename() argument
184 if (!fromPath.empty() && !toPath.empty()) { in Rename()
186 auto pathTo = NormalizePath(toPath); in Rename()
H A Dfile_manager.cpp183 string_view toPath; in Rename() local
185 if (ParseUri(to, toProtocol, toPath)) { in Rename()
189 return filesystem->Rename(fromPath, toPath); in Rename()
H A Dstd_filesystem.cpp155 bool StdFilesystem::Rename(const string_view fromPath, const string_view toPath) in Rename() argument
158 auto pathTo = ValidatePath(toPath); in Rename()
H A Dproxy_filesystem.h56 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
H A Drofs_filesystem.h53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
H A Dmemory_filesystem.h53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
H A Dstd_filesystem.h51 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_filesystem.h54 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
H A Dohos_filesystem.cpp131 bool OhosFilesystem::Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) in Rename() argument
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_file_system.h71 * @param toPath Path with destination name
73 virtual bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) = 0;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service_event_handler.cpp140 auto toPath = tempDir + ServiceConstants::PATH_SEPARATOR + MODULE_PREFIX in MoveTempPath() local
143 if (InstalldClient::GetInstance()->MoveFile(path, toPath) != ERR_OK) { in MoveTempPath()
144 LOG_W(BMS_TAG_DEFAULT, "move from %{public}s to %{public}s failed", path.c_str(), toPath.c_str()); in MoveTempPath()
148 toPaths.emplace_back(toPath); in MoveTempPath()

Completed in 10 milliseconds