Searched refs:oldFilePath (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/update/updater/test/fuzztest/applypatch_fuzzer/ |
H A D | applypatch_fuzzer.cpp | 48 const char* oldFilePath = "/data/applyPatchfuzzOldFile"; in FuzzApplyPatch() local 54 ret &= WriteDataToFile(reinterpret_cast<const char*>(data), size, oldFilePath); in FuzzApplyPatch() 59 ApplyPatch(bspatchPath, oldFilePath, newFilePath); in FuzzApplyPatch() 60 ApplyPatch(imgpatchPath, oldFilePath, newFilePath); in FuzzApplyPatch() 61 if (remove(bspatchPath) != 0 || remove(imgpatchPath) != 0 || remove(oldFilePath)) { in FuzzApplyPatch()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | platform_specific.cpp | 60 int RenameFilePath(const std::string &oldFilePath, const std::string &newFilePath) in RenameFilePath() argument 62 int errCode = rename(oldFilePath.c_str(), newFilePath.c_str()); in RenameFilePath() 383 int RenameFilePath(const std::string &oldFilePath, const std::string &newFilePath) 385 int errCode = rename(oldFilePath.c_str(), newFilePath.c_str());
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | platform_specific.h | 70 int RenameFilePath(const std::string &oldFilePath, const std::string &newFilePath);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_photo_operations.h | 146 std::string &oldFilePath); 148 … DeleteAbnormalFile(std::string &assetPath, const int32_t &fileId, const std::string &oldFilePath);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_photo_operations.cpp | 1833 const int32_t &fileType, std::string &oldFilePath) in UpdateExtension() argument 1880 oldFilePath = filePath; in UpdateExtension() 1898 const std::string &oldFilePath) in DeleteAbnormalFile() argument 1905 vector<string> args = {oldFilePath}; in DeleteAbnormalFile() 1910 MediaFileUtils::DeleteFile(oldFilePath); in DeleteAbnormalFile() 1911 DeleteRevertMessage(oldFilePath); in DeleteAbnormalFile() 2623 std::string oldFilePath = ""; in SavePicture() local 2624 int32_t updateResult = UpdateExtension(fileId, format, fileType, oldFilePath); in SavePicture() 2659 MediaFileUtils::GetFileSize(oldFilePath, size); in SavePicture() 2660 if (updateResult == E_OK && oldFilePath != "" && size > 0) { in SavePicture() [all …]
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test_extent.cpp | 1061 std::string oldFilePath = icsFileWriter.WriteVersionFile(oldWriteVersion, "old"); variable 1063 std::string oldVersion = SignatureVerifier::LoadFileVersion(oldFilePath); 1074 FileExist(oldFilePath); 1077 FileCopy(oldFilePath, destPath);
|