/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_backup.cpp | 58 if (FileUtil::FileExists(backupFile_) && !FileUtil::RenameFile(backupFile_, backupBakFile_)) { in Backup() 65 if (!FileUtil::RenameFile(backupTmpFile_, backupFile_)) { in Backup() 68 FileUtil::RenameFile(backupBakFile_, backupFile_); in Backup() 100 if (!FileUtil::RenameFile(backupBakFile_, backupFile_)) { in CheckBackupFile()
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_control_file_manager_test.cpp | 116 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function 533 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, 538 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", 566 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, 573 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", 585 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH, 589 RenameFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", 602 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH, 607 RenameFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH + "_blk", 620 RenameFile(Constants::SPECIFIC_OSACCOUNT_CONSTRAINTS_JSON_PATH, [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 99 int32_t BundleDaemonHandler::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleDaemonHandler 111 if (!BundleFileUtils::RenameFile(realOldPath, newFile)) { in RenameFile() 201 if (!BundleFileUtils::RenameFile(static_cast<char *>(realOldPath), newFile)) { in MoveFile() 230 if (!BundleFileUtils::RenameFile(oldFileName.c_str(), newFileName.c_str())) { in MoveFile()
|
H A D | bundle_file_utils.cpp | 135 bool BundleFileUtils::RenameFile(const char *oldFile, const char *newFile) in RenameFile() function in OHOS::BundleFileUtils
|
H A D | bundle_daemon.cpp | 185 return BundleDaemon::GetInstance().handler_.RenameFile(oldFile.c_str(), newFile.c_str()); in RenameFileInvoke()
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/ |
H A D | account_dump_helper_test.cpp | 109 static int RenameFile(const std::string &src, const std::string &des) in RenameFile() function 437 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH, 445 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk", 460 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH, 475 RenameFile(Constants::ACCOUNT_LIST_FILE_JSON_PATH + "_blk",
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | move_file.cpp | 131 static int RenameFile(const string &src, const string &dest) in RenameFile() function 178 return RenameFile(src, dest); in MoveFile()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/ |
H A D | bundle_file_utils.h | 36 static bool RenameFile(const char *oldDir, const char *newDir);
|
H A D | bundle_daemon_handler.h | 28 int32_t RenameFile(const char *oldFile, const char *newFile);
|
/ohos5.0/base/security/selinux_adapter/test/unittest/common/ |
H A D | test_common.h | 31 int RenameFile(const std::string &src, const std::string &des);
|
H A D | test_common.cpp | 150 int RenameFile(const std::string &src, const std::string &des) in RenameFile() function
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_operator_test.cpp | 597 auto ret = InstalldOperator::RenameFile("", ""); 599 ret = InstalldOperator::RenameFile("", "/test/123"); 601 ret = InstalldOperator::RenameFile("/test/123", ""); 603 ret = InstalldOperator::RenameFile("/test/123", "/test/123"); 615 auto ret = InstalldOperator::RenameFile(TEST_PATH, TEST_PATH); 1018 auto result = InstalldOperator::RenameFile("/data/OperatorTest", "/data/OperatorTest"); 1020 result = InstalldOperator::RenameFile("/data/OperatorTest", "/data/OperatorTest1");
|
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/ |
H A D | native_leak_util.cpp | 58 if (!FaultDetectorUtil::RenameFile(filePath, newPath)) { in RemoveInvalidFile()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_daemon_client.h | 37 int32_t RenameFile(const char *oldFile, const char *newFile);
|
H A D | bundle_util.h | 63 static bool RenameFile(const char *oldFile, const char *newFile);
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | move.cpp | 140 static int RenameFile(const string &src, const string &dest) in RenameFile() function 178 return RenameFile(src, dest); in MoveFile()
|
H A D | movedir.cpp | 124 static int RenameFile(const string &src, const string &dest, const int mode, deque<struct ErrFiles>… in RenameFile() function 238 int res = RenameFile(src, dest, mode, errfiles); in RecurMoveDir()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 93 static bool RenameFile(const std::string &fileName, const std::string &fileType) in RenameFile() function 105 return RenameFile(fileName, STR_BACKUP); in RenameToBackupFile() 111 return RenameFile(fileName, STR_BROKEN); in RenameToBrokenFile()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/ |
H A D | fault_detector_util.h | 55 static bool RenameFile(const std::string &path, const std::string &newPath);
|
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/task/export/ |
H A D | event_write_handler.cpp | 87 if (!FileUtil::RenameFile(item.first, item.second)) { in CopyTmpZipFilesToDest()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | sqlite_utils.h | 55 static bool RenameFile(const std::string &srcFile, const std::string &destFile);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 171 static bool RenameFile(const std::string &oldPath, const std::string &newPath);
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/ |
H A D | file_util.h | 104 bool RenameFile(const std::string& src, const std::string& dest);
|
/ohos5.0/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 198 static int RenameFile(const string &src, const string &dest) in RenameFile() function
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/test/unittest/common/ |
H A D | adapter_utility_ohos_test.cpp | 472 auto ret = FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0), 477 (void)FileUtil::RenameFile(GenerateLogFileName(caseName, SUFFIX_0),
|