/ohos5.0/base/update/updater/services/diffpatch/diff/ |
H A D | update_diff.cpp | 137 const std::string &newFileName, const std::string &patchFileName) in MakePatch() argument 140 return BlocksDiff::MakePatch(oldFileName, newFileName, patchFileName); in MakePatch() 150 if (newParser_->Parse(newFileName) != 0 || oldParser_->Parse(oldFileName) != 0) { in MakePatch() 187 const std::string &newFileName, const std::string &patchFileName) in DiffImage() argument 194 return updateDiff->MakePatch(oldFileName, newFileName, patchFileName); in DiffImage() 198 const std::string &newFileName, const std::string &patchFileName) in DiffBlock() argument 205 return updateDiff->MakePatch(oldFileName, newFileName, patchFileName); in DiffBlock()
|
H A D | update_diff.h | 57 …int32_t MakePatch(const std::string &oldFileName, const std::string &newFileName, const std::strin… 60 const std::string &newFileName, const std::string &patchFileName); 63 const std::string &newFileName, const std::string &patchFileName);
|
H A D | blocks_diff.h | 53 const std::string &newFileName, const std::string &patchFileName);
|
H A D | blocks_diff.cpp | 62 int32_t BlocksDiff::MakePatch(const std::string &oldFileName, const std::string &newFileName, in MakePatch() argument 75 int32_t ret1 = PatchMapFile(newFileName, newBuffer); in MakePatch() 77 PATCH_LOGE("Failed to open %s", newFileName.c_str()); in MakePatch()
|
/ohos5.0/foundation/multimedia/ringtone_library/frameworks/ringtone_extension_hap/RingtoneLibraryExt/entry/src/main/ets/RingtoneBackupExtAbility/ |
H A D | RingtoneBackupExtAbility.ts | 140 let newFileName = srcFileName; 142 while (this.isFileExist(`${dirPath}/${newFileName}`)) { 144 newFileName = `${fileNameWithoutExt}(${count})`; 146 newFileName = `${fileNameWithoutExt}(${count}).${fileExt}`; 151 await fs.copyFile(srcFile, `${dirPath}/${newFileName}`);
|
/ohos5.0/base/hiviewdfx/hiview/base/running_status_logger/ |
H A D | running_status_logger.cpp | 67 std::string newFileName = GetLogDir() + "runningstatus_" + FormatTimeStamp(true) + suffix; in GenerateNewestFileName() local 68 HIVIEW_LOGD("create new log file: %{public}s.", newFileName.c_str()); in GenerateNewestFileName() 69 return newFileName; in GenerateNewestFileName()
|
/ohos5.0/base/update/updater/services/include/patch/ |
H A D | update_patch.h | 73 …FilePatchWriter(const std::string &newFileName) : UpdatePatchWriter(), newFileName_(newFileName) {} in FilePatchWriter() argument
|
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_rdbstore.cpp | 1080 values.PutString(FileColumn::FILE_NAME, newFileName); in FileRename() 1082 FillFileType(newFileName, values); in FileRename() 1100 const std::string &newFileName) in FileMoveAndRename() argument 1103 values.PutString(FileColumn::FILE_NAME, newFileName); in FileMoveAndRename() 1105 FillFileType(newFileName, values); in FileMoveAndRename() 1118 string newFileName = newNode.fileName; in HandleRenameValue() local 1121 FileRename(rename, position, newFileName); in HandleRenameValue() 1132 const std::string &newParentCloudId, const std::string &newFileName) in Rename() argument 1134 int32_t ret = CheckName(newFileName); in Rename() 1150 ret = CheckNameForSpace(newFileName, S_ISDIR(metaBase.mode)); in Rename() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_list.c | 502 int32_t FileListRenameFile(FileList *fileList, uint16_t fileId, const char *newFileName) in FileListRenameFile() argument 504 if (fileList == NULL || fileId == 0 || fileId > fileList->num || newFileName == NULL || in FileListRenameFile() 505 strlen(newFileName) == 0 || strlen(newFileName) >= NSTACKX_MAX_REMOTE_PATH_LEN) { in FileListRenameFile() 508 …if (strcpy_s(fileList->list[fileId - 1].fileName, NSTACKX_MAX_REMOTE_PATH_LEN, newFileName) != EOK… in FileListRenameFile()
|
H A D | nstackx_dfile_transfer.c | 1160 …if (strlen(renamePara.newFileName) == 0 || strlen(renamePara.newFileName) + 1 > NSTACKX_MAX_REMOTE… in RenameFileIfExisting() 1164 if (GetFileNameLen(renamePara.newFileName) > NSTACKX_MAX_FILE_NAME_LEN) { in RenameFileIfExisting() 1168 … if (FileListRenameFile(dFileTrans->fileList, i + 1, renamePara.newFileName) != NSTACKX_EOK) { in RenameFileIfExisting()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 229 std::string newFileName = std::string(newFile) + PATH_SEPARATOR + ent->d_name; in MoveFile() local 230 if (!BundleFileUtils::RenameFile(oldFileName.c_str(), newFileName.c_str())) { in MoveFile()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | clouddisk_rdbstore_mock.cpp | 184 const std::string &newParentCloudId, const std::string &newFileName) in Rename() argument 186 if (oldFileName == "mock" || newFileName == "mock") { in Rename()
|
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | trans_type.h | 297 char newFileName[MAX_PATH_LEN]; /**< New file name */ member
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_rdbstore_test.cpp | 812 const std::string newFileName = ""; variable 816 …t32_t ret = CloudDiskRdbStore.Rename(oldParentCloudId, oldFileName, newParentCloudId, newFileName); 831 const std::string newFileName = "test"; variable 835 …t32_t ret = CloudDiskRdbStore.Rename(oldParentCloudId, oldFileName, newParentCloudId, newFileName); 850 const std::string newFileName = " test"; variable 854 …t32_t ret = CloudDiskRdbStore.Rename(oldParentCloudId, oldFileName, newParentCloudId, newFileName);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
H A D | database_oper.cpp | 42 std::string newFileName; in ExecuteRekey() local 43 errCode = CreateStatusCtrlFile(property, ctrlFileName, newFileName); in ExecuteRekey() 56 errCode = RenameStatusCtrlFile(ctrlFileName, newFileName); in ExecuteRekey()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl.cpp | 535 std::string newFileName = fileName; in GetRawfile() local 537 newFileName = std::string(fileName.begin(), it); in GetRawfile() 540 auto state = manager->GetRawFilePathByName(newFileName, outPath); in GetRawfile()
|
H A D | resource_adapter_impl_v2.cpp | 652 std::string newFileName = fileName; in GetRawfile() local 654 newFileName = std::string(fileName.begin(), it); in GetRawfile() 657 auto state = manager->GetRawFilePathByName(newFileName, outPath); in GetRawfile()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_file_list.h | 202 int32_t FileListRenameFile(FileList *fileList, uint16_t fileId, const char *newFileName);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/interface/ |
H A D | nstackx_dfile.h | 178 char newFileName[NSTACKX_MAX_REMOTE_PATH_LEN]; member
|
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/include/ |
H A D | clouddisk_rdbstore.h | 58 const std::string &newParentCloudId, const std::string &newFileName);
|
/ohos5.0/foundation/filemanagement/user_file_service/services/file_extension_hap/entry/src/main/ets/FileExtensionAbility/ |
H A D | FileExtensionAbility.ts | 282 let newFileName = currentTrashParentPath + selectFileOnly; 284 fs.moveFileSync(path, newFileName, 0);
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/ |
H A D | client_trans_file.c | 465 (void)strcpy_s(renamePara->newFileName, NSTACKX_MAX_REMOTE_PATH_LEN, renamePara->initFileName); in RenameHook()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
H A D | faultlogger_unittest.cpp | 212 std::string newFileName = oldFileName + "_" + name; in CheckKeyWordsInJsErrorAppEventFile() local 213 rename(oldFileName.c_str(), newFileName.c_str()); in CheckKeyWordsInJsErrorAppEventFile()
|