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 D | key_backup_test.cpp | 112 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 D | proxy_filesystem.cpp | 182 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 D | file_manager.cpp | 179 string_view fromPath; in Rename() local 181 if (ParseUri(from, fromProtocol, fromPath)) { in Rename() 189 return filesystem->Rename(fromPath, toPath); in Rename()
|
H A D | std_filesystem.cpp | 155 bool StdFilesystem::Rename(const string_view fromPath, const string_view toPath) in Rename() argument 157 auto pathFrom = ValidatePath(fromPath); in Rename()
|
H A D | proxy_filesystem.h | 56 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
H A D | rofs_filesystem.h | 53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
H A D | memory_filesystem.h | 53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
H A D | std_filesystem.h | 51 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_filesystem.h | 54 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
H A D | ohos_filesystem.cpp | 131 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 D | intf_file_system.h | 70 * @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