Home
last modified time | relevance | path

Searched refs:InFileHandle (Results 1 – 25 of 28) sorted by relevance

12

/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c36 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
59 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
108 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
116 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
122 Status = gEfiShellProtocol->ReadFile(InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
166 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
167 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/sysutils/edk2/edk2-edk2-stable202102/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEfiDecompress.c31 SHELL_FILE_HANDLE InFileHandle; in ShellCommandRunEfiDecompress() local
55 InFileHandle = NULL; in ShellCommandRunEfiDecompress()
105 Status = ShellOpenFileByName(InFileName, &InFileHandle, EFI_FILE_MODE_READ, 0); in ShellCommandRunEfiDecompress()
113 Status = FileHandleGetSize(InFileHandle, &Temp64Bit); in ShellCommandRunEfiDecompress()
121 Status = gEfiShellProtocol->ReadFile (InFileHandle, &InSize, InBuffer); in ShellCommandRunEfiDecompress()
167 if (InFileHandle != NULL) { in ShellCommandRunEfiDecompress()
168 gEfiShellProtocol->CloseFile(InFileHandle); in ShellCommandRunEfiDecompress()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle;
530 InFileHandle = NULL;
536 InFileHandle = fopen(LongFilePath(InFile), "rb");
537 if (InFileHandle == NULL){
541 PeFileSize = _filelength (fileno(InFileHandle));
544 fclose (InFileHandle);
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle);
549 fclose (InFileHandle);
/dports/sysutils/edk2/edk2-edk2-stable202102/BaseTools/Source/C/GenFfs/
H A DGenFfs.c522 FILE *InFileHandle; in GetAlignmentFromFile() local
530 InFileHandle = NULL; in GetAlignmentFromFile()
536 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
537 if (InFileHandle == NULL){ in GetAlignmentFromFile()
541 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
544 fclose (InFileHandle); in GetAlignmentFromFile()
545 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
548 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
549 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c1042 FILE *InFileHandle; in GetAlignmentFromFile() local
1050 InFileHandle = NULL; in GetAlignmentFromFile()
1056 InFileHandle = fopen(LongFilePath(InFile), "rb"); in GetAlignmentFromFile()
1057 if (InFileHandle == NULL){ in GetAlignmentFromFile()
1061 PeFileSize = _filelength (fileno(InFileHandle)); in GetAlignmentFromFile()
1064 fclose (InFileHandle); in GetAlignmentFromFile()
1065 Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); in GetAlignmentFromFile()
1068 fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle); in GetAlignmentFromFile()
1069 fclose (InFileHandle); in GetAlignmentFromFile()

12