Searched refs:OldFileName (Results 1 – 2 of 2) sorted by relevance
1076 CHAR8 *OldFileName; in PosixFileSetInfo() local1097 OldFileName = NewFileName = NULL; in PosixFileSetInfo()1186 OldFileName = malloc (AsciiStrSize (PrivateFile->FileName)); in PosixFileSetInfo()1191 AsciiStrCpy (OldFileName, PrivateFile->FileName); in PosixFileSetInfo()1283 if (stat (OldFileName, &OldAttr) != 0) { in PosixFileSetInfo()1308 UnixStatus = rename (OldFileName, NewFileName); in PosixFileSetInfo()1403 if (OldFileName != NULL) { in PosixFileSetInfo()1404 free (OldFileName); in PosixFileSetInfo()
2319 CHAR16 *OldFileName; in WinNtSimpleFileSystemSetInfo() local2356 OldFileName = NewFileName = NULL; in WinNtSimpleFileSystemSetInfo()2455 OldFileName = AllocatePool (StrSize (PrivateFile->FileName)); in WinNtSimpleFileSystemSetInfo()2456 if (OldFileName == NULL) { in WinNtSimpleFileSystemSetInfo()2461 StrCpy (OldFileName, PrivateFile->FileName); in WinNtSimpleFileSystemSetInfo()2549 OldAttr = PrivateFile->WinNtThunk->GetFileAttributes (OldFileName); in WinNtSimpleFileSystemSetInfo()2585 NtStatus = PrivateFile->WinNtThunk->MoveFile (OldFileName, NewFileName); in WinNtSimpleFileSystemSetInfo()2647 NtStatus = PrivateFile->WinNtThunk->SetFileAttributes (OldFileName, OldAttr); in WinNtSimpleFileSystemSetInfo()2653 Size = StrSize (OldFileName); in WinNtSimpleFileSystemSetInfo()2657 StrCpy (TempFileName, OldFileName); in WinNtSimpleFileSystemSetInfo()[all …]