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 D | file_trash_n_exporter.cpp | 261 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 D | zip_test.cpp | 181 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;
|