Home
last modified time | relevance | path

Searched refs:newDestFile (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp261 static int TruncFileName(string &newDestFile, string &filePathName, int32_t slashPos, const string … in TruncFileName() argument
270 newDestFile = filePathName + to_string(distinctSuffixIndex) + fileSuffix; in TruncFileName()
276 return GenerateNewFileName(newDestFile, filePathName, distinctSuffixIndex, fileSuffix); in TruncFileName()
303 string newDestFile = filePathName + to_string(distinctSuffixIndex) + fileSuffix; in MoveFile() local
304 ret = GenerateNewFileName(newDestFile, filePathName, distinctSuffixIndex, fileSuffix); in MoveFile()
306 ret = TruncFileName(newDestFile, filePathName, slashPos, fileSuffix); in MoveFile()
311 return RenameFile(srcFile, newDestFile); in MoveFile()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/test/unittest/
H A Dzip_test.cpp181 FilePath newDestFile(destFile.CheckDestDirTail()); variable
182 std::cout << newDestFile.Value() << std::endl;
298 FilePath newDestFile(destFile.CheckDestDirTail()); variable
299 std::cout << newDestFile.Value() << std::endl;