Lines Matching refs:sFileName1
243 static bool SwapFiles( const std::_tstring& sFileName1, const std::_tstring& sFileName2 ) in SwapFiles() argument
245 std::_tstring sTempFileName = sFileName1 + TEXT(".tmp"); in SwapFiles()
250 fSuccess = MoveFileExImpl( sFileName1.c_str(), sTempFileName.c_str(), MOVEFILE_REPLACE_EXISTING); in SwapFiles()
256 fSuccess = MoveFileExImpl( sFileName2.c_str(), sFileName1.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
264 MoveFileExImpl( sFileName1.c_str(), sFileName2.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
269 MoveFileExImpl( sTempFileName.c_str(), sFileName1.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
278 HANDLE hdl = FindFirstFile(sFileName1.c_str(), &data); in SwapFiles()
281 fSuccess = MoveFileExImpl( sFileName2.c_str(), sFileName1.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
301 …OutputDebugStringFormat( TEXT("%s <-> %s: %s"), sFileName1.c_str(), sFileName2.c_str(), fSuccess ?… in SwapFiles()
572 std::_tstring sFileName1 = sKeyName; in InstallPatchedFiles() local
576 sFileName1 = strip( sFileName1, '\"' ); in InstallPatchedFiles()
579 sFileName1 = sInstDir + sSectionName + sFileName1; in InstallPatchedFiles()
580 sFileName2 = sFileName1 + sExtension; in InstallPatchedFiles()
585 SwapFiles( sFileName1, sFileName2 ); in InstallPatchedFiles()
653 std::_tstring sFileName1 = sKeyName; in UninstallPatchedFiles() local
657 sFileName1 = strip( sFileName1, '\"' ); in UninstallPatchedFiles()
660 sFileName1 = sInstDir + sSectionName + sFileName1; in UninstallPatchedFiles()
661 sFileName2 = sFileName1 + sExtension; in UninstallPatchedFiles()
666 SwapFiles( sFileName2, sFileName1 ); in UninstallPatchedFiles()