Home
last modified time | relevance | path

Searched refs:fromPath (Results 1 - 11 of 11) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_backup_test/
H A Dkey_backup_test.cpp112 string fromPath = "/data/test/KeyBackup/test2/"; in HWTEST_F() local
114 EXPECT_FALSE(access(fromPath.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()
121 EXPECT_EQ(KeyBackup::GetInstance().MkdirParent(fromPath, DEFAULT_WRITE_FILE_PERM), 0); in HWTEST_F()
122 EXPECT_TRUE(access(fromPath.c_str(), F_OK) == 0); in HWTEST_F()
123 EXPECT_EQ(KeyBackup::GetInstance().HandleCopyDir(fromPath, toPath), 0); in HWTEST_F()
127 EXPECT_EQ(KeyBackup::GetInstance().GetAttr(fromPath, attr2), 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()
185 auto pathFrom = NormalizePath(fromPath); in Rename()
H A Dfile_manager.cpp179 string_view fromPath; in Rename() local
181 if (ParseUri(from, fromProtocol, fromPath)) { 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
157 auto pathFrom = ValidatePath(fromPath); 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.h70 * @param fromPath Path to file or directory to be renamed
73 virtual bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) = 0;

Completed in 4 milliseconds