Home
last modified time | relevance | path

Searched refs:tmpFilePath (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_helper.cpp51 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed()
55 tmpFilePath = dbFilePath + ".ctrl.dwr"; in RemoveEnhanceDbFileIfNeed()
56 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed()
60 tmpFilePath = dbFilePath + ".redo"; in RemoveEnhanceDbFileIfNeed()
61 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed()
65 tmpFilePath = dbFilePath + ".undo"; in RemoveEnhanceDbFileIfNeed()
66 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed()
70 tmpFilePath = dbFilePath + ".safe"; in RemoveEnhanceDbFileIfNeed()
71 if (IsFileExist(tmpFilePath) && std::remove(tmpFilePath.c_str()) != 0) { in RemoveEnhanceDbFileIfNeed()
75 tmpFilePath = dbFilePath + ".map"; in RemoveEnhanceDbFileIfNeed()
[all …]
/ohos5.0/base/security/code_signature/test/unittest/
H A Denable_verity_test.cpp339 std::string tmpFilePath = filePath + "_tmp"; in EnableExpandedTamperFile() local
340 EXPECT_EQ(CopyFile(filePath, tmpFilePath), true); in EnableExpandedTamperFile()
341 EXPECT_EQ(tamperFileFunc(tmpFilePath), true); in EnableExpandedTamperFile()
347 EXPECT_EQ(ExpandFile(tmpFilePath, treeFile, in EnableExpandedTamperFile()
357 CleanFile(tmpFilePath); in EnableExpandedTamperFile()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_restore_base.cpp299 std::string tmpFilePath = srcFilePath; in MoveDirectory() local
300 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in MoveDirectory()
/ohos5.0/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_file_utils.cpp606 std::string tmpFilePath = srcFilePath; in MoveDirectory() local
607 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in MoveDirectory()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbase_restore.cpp650 std::string tmpFilePath = srcFilePath; in MoveDirectory() local
651 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in MoveDirectory()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_album_fusion_utils.cpp366 std::string tmpFilePath = srcFilePath; in CopyDirectory() local
367 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in CopyDirectory()