Home
last modified time | relevance | path

Searched refs:fromPath (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/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 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; in CORE_BEGIN_NAMESPACE()
H A Drofs_filesystem.h53 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override; in CORE_BEGIN_NAMESPACE()
H A Dproxy_filesystem.h56 bool Rename(BASE_NS::string_view fromPath, BASE_NS::string_view toPath) override;
/ohos5.0/base/startup/appspawn/service/hnp/base/
H A Dhnp_sal.c56 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 Dmtp_media_library.cpp675 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 Dhnp_stub.h23 void HnpRelPath(const char *fromPath, const char *toPath, char *relPath);
H A Dhnp_installer_test.cpp972 const char *fromPath = "test"; variable
976 HnpRelPath(fromPath, toPath, relPath);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_file_system.h73 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 Dfs_work_agent.c962 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 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
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_media_library.h81 uint32_t MoveObjectSub(const sf::path &fromPath, const sf::path &toPath, const bool &isDir,