/base/update/updater/interfaces/kits/diff_patch/ |
H A D | diff_patch_interface.cpp | 20 int32_t ApplyPatch(const std::string &patchFile, const std::string &oldfile, const std::string &newFile) in ApplyPatch() argument 22 return UpdatePatch::UpdateApplyPatch::ApplyPatch(patchFile, oldfile, newFile); in ApplyPatch()
|
/base/update/updater/test/unittest/diffpatch/ |
H A D | diffpatch_unittest.cpp | 47 const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const in BlockDiffPatchTest() 50 TEST_PATH_FROM + newFile, TEST_PATH_FROM + patchFile); in BlockDiffPatchTest() 56 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in BlockDiffPatchTest() 63 const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const in ImgageDiffPatchFileTest() 66 TEST_PATH_FROM + newFile, TEST_PATH_FROM + patchFile); in ImgageDiffPatchFileTest() 73 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in ImgageDiffPatchFileTest() 116 const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const in ImgageDiffPatchFileTest2() 119 TEST_PATH_FROM + newFile, TEST_PATH_FROM + patchFile); in ImgageDiffPatchFileTest2() 122 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in ImgageDiffPatchFileTest2() 193 const std::string &newFile, cons in BlockDiffPatchTest2() 46 BlockDiffPatchTest(const std::string &oldFile, const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const BlockDiffPatchTest() argument 62 ImgageDiffPatchFileTest(size_t limit, const std::string &oldFile, const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const ImgageDiffPatchFileTest() argument 115 ImgageDiffPatchFileTest2(size_t limit, const std::string &oldFile, const std::string &newFile, const std::string &patchFile, const std::string &restoreFile) const ImgageDiffPatchFileTest2() argument 192 BlockDiffPatchTest2(const std::string &oldFile, const std::string &newFile, const std::string &patchFile, const std::string &restoreFile, bool isBuffer) const BlockDiffPatchTest2() argument [all...] |
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_persister_rotator.cpp | 147 std::stringstream newFile; in CreateLogFile() local 148 newFile << m_logsPath << "." << GetFileNameIndex(m_currentLogFileIdx) << "." << timeBuf << m_fileNameSuffix; in CreateLogFile() 149 std::cout << "Filename: " << newFile.str() << std::endl; in CreateLogFile() 150 m_currentLogFileName = newFile.str(); in CreateLogFile() 154 m_currentLogOutput.open(newFile.str(), std::ios::out | std::ios::trunc); in CreateLogFile()
|
/base/update/updater/interfaces/kits/include/diff_patch/ |
H A D | diff_patch_interface.h | 27 int32_t ApplyPatch(const std::string &patchFile, const std::string &oldfile, const std::string &newFile);
|
/base/theme/wallpaper_mgr/utils/src/ |
H A D | file_deal.cpp | 59 bool FileDeal::CopyFile(const std::string &sourceFile, const std::string &newFile) in CopyFile() argument 61 std::filesystem::path dstPath(newFile); in CopyFile() 68 if (!ForcedRefreshDisk(newFile)) { in CopyFile()
|
/base/theme/wallpaper_mgr/utils/include/ |
H A D | file_deal.h | 30 static bool CopyFile(const std::string &sourceFile, const std::string &newFile);
|
/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 62 struct OpenedFile *newFile = malloc(sizeof(struct OpenedFile)); in AddOpenFile() local 63 if (newFile == NULL) { in AddOpenFile() 67 newFile->file = pFile; in AddOpenFile() 70 g_firstFile = newFile; in AddOpenFile() 71 newFile->next = newFile; in AddOpenFile() 72 newFile->prev = newFile; in AddOpenFile() 76 free(newFile); in AddOpenFile() 79 g_firstFile->prev->next = newFile; in AddOpenFile() [all...] |
/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_file.cpp | 416 bool ModuleFile::CompareVersion(const ModuleFile &newFile, const ModuleFile &oldFile) in CompareVersion() argument 418 if (newFile.GetPath() == oldFile.GetPath()) { in CompareVersion() 424 if (!ParseVersion(newFile.GetVersionInfo().version, " ", newVersion) || in CompareVersion() 434 if (!CompareSaListVersion(oldFile.GetVersionInfo().saInfoList, newFile.GetVersionInfo().saInfoList)) { in CompareVersion() 438 if (!CompareBundleList(oldFile.GetVersionInfo().bundleInfoList, newFile.GetVersionInfo().bundleInfoList)) { in CompareVersion()
|
/base/update/sys_installer/services/module_update/util/include/ |
H A D | module_file.h | 105 static bool CompareVersion(const ModuleFile &newFile, const ModuleFile &oldFile);
|
/base/update/updater/services/include/patch/ |
H A D | update_patch.h | 68 static int32_t ApplyPatch(const std::string &patchName, const std::string &oldfile, const std::string &newFile);
|