Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DPosixFileSystem.c1076 CHAR8 *OldFileName; in PosixFileSetInfo() local
1097 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()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c2319 CHAR16 *OldFileName; in WinNtSimpleFileSystemSetInfo() local
2356 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 …]