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 D | key_backup_test.cpp | 111 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 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() 186 auto pathTo = NormalizePath(toPath); in Rename()
|
H A D | file_manager.cpp | 183 string_view toPath; in Rename() local 185 if (ParseUri(to, toProtocol, toPath)) { 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 158 auto pathTo = ValidatePath(toPath); 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 | 71 * @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 D | bundle_mgr_service_event_handler.cpp | 140 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