/ohos5.0/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 | 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; in CORE_BEGIN_NAMESPACE()
|
H A D | rofs_filesystem.h | 53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override; in CORE_BEGIN_NAMESPACE()
|
H A D | proxy_filesystem.h | 56 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
|
/ohos5.0/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_sal.c | 56 APPSPAWN_STATIC void HnpRelPath(const char *fromPath, const char *toPath, char *relPath) in HnpRelPath() argument 58 char *from = strdup(fromPath); in HnpRelPath()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_media_library.cpp | 675 MoveHandlePathMap(fromPath.string(), toPath.string()); in MoveObjectSub() 677 ModifyHandlePathMap(fromPath.string(), toPath.string()); in MoveObjectSub() 681 MoveRepeatDirHandlePathMap(fromPath, toPath); in MoveObjectSub() 685 auto ite = pathToHandleMap.find(fromPath.string()); in MoveObjectSub() 729 auto fromPath = sf::path(from); in MoveObject() local 731 bool isDir = sf::is_directory(fromPath, ec); in MoveObject() 739 sf::rename(fromPath, toPath, ec); in MoveObject() 744 isDir ? sf::remove_all(fromPath, ec) : sf::remove(fromPath, ec); in MoveObject() 750 MoveObjectSub(fromPath, toPath, isDir, repeatHandle); in MoveObject() 773 auto fromPath = sf::path(from); in CopyObject() local [all …]
|
/ohos5.0/base/startup/appspawn/test/unittest/hnp_test/ |
H A D | hnp_stub.h | 23 void HnpRelPath(const char *fromPath, const char *toPath, char *relPath);
|
H A D | hnp_installer_test.cpp | 972 const char *fromPath = "test"; variable 976 HnpRelPath(fromPath, toPath, relPath);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/ |
H A D | intf_file_system.h | 73 virtual bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) = 0; in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 962 static int32_t CopyFile(const char *fromPath, const char *toPath) in CopyFile() argument 968 uint32_t rRet = GetRealFilePath(fromPath, realFromPath, sizeof(realFromPath)); in CopyFile() 1014 char fromPath[FILE_NAME_MAX_BUF] = { 0 }; in CopyWork() local 1020 …nt32_t joinRet1 = JoinFileName((char *)(transControl->args.cp.buffer), fromPath, sizeof(fromPath)); in CopyWork() 1024 int32_t ret = CopyFile(fromPath, toPath); in CopyWork()
|
/ohos5.0/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
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_media_library.h | 81 uint32_t MoveObjectSub(const sf::path &fromPath, const sf::path &toPath, const bool &isDir,
|