Searched refs:tmpFilePath (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_helper.cpp | 51 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 D | enable_verity_test.cpp | 339 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 D | ringtone_restore_base.cpp | 299 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 D | ringtone_file_utils.cpp | 606 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 D | base_restore.cpp | 650 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 D | medialibrary_album_fusion_utils.cpp | 366 std::string tmpFilePath = srcFilePath; in CopyDirectory() local 367 std::string dstFilePath = tmpFilePath.replace(0, srcDir.length(), dstDir); in CopyDirectory()
|