Searched refs:FileSize (Results 26 - 50 of 53) sorted by relevance

123

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenSec/
H A DGenSec.c420 UINT32 FileSize; local
468 FileSize = ftell (InFile);
470 DebugMsg (NULL, 0, 9, "Input files", "the input file name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize);
530 if ((FileSize > 0) && (FileBuffer != NULL) && ((Size + FileSize) <= *BufferLength)) {
531 if (fread (FileBuffer + Size, (size_t) FileSize, 1, InFile) != 1) {
539 Size += FileSize;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
H A DPxeBcImpl.h98 UINTN FileSize; member in struct:_PXEBC_PRIVATE_DATA
H A DPxeBcImpl.c518 Private->FileSize = 0;
2719 Private->FileSize = (UINTN) *BufferSize;
2825 if (Private->FileSize == 0) {
2849 } else if (Buffer == NULL || Private->FileSize > *BufferSize) {
2850 *BufferSize = Private->FileSize;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_file.c176 * @ret s_PXENV_GET_FILE_SIZE::FileSize Size of file
192 get_file_size->FileSize = filesize;
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c567 // FileSize - (CertDirectory->Size)
665 @param[in] FileSize Size of File buffer matches the input file device path.
686 IN UINTN FileSize OPTIONAL
825 mImageSize = FileSize;
882 FileSize,
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiFileHandleLib/
H A DUefiFileHandleLib.c622 *Size = FileInfo->FileSize;
670 // Assign the FileSize pointer to the new value
672 FileInfo->FileSize = Size;
1153 if (Pos == Info->FileSize) {
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/
H A DBdsMisc.c1254 UINT64 FileSize; local
1322 FileSize = Info->FileSize;
1337 || FileSize <= DosHeader->e_lfanew
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.h519 is *FileSize plus AddtionAllocateSize.
523 @param[out] FileSize Size of input file
537 OUT UINTN *FileSize,
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dpxe_api.h688 UINT32_t FileSize; /**< Size of the file */ member in struct:s_PXENV_TFTP_GET_FSIZE
1622 UINT32_t FileSize; /**< File size */ member in struct:s_PXENV_GET_FILE_SIZE
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/FwVol/
H A DFwVol.c1472 UINT32 FileSize; local
1487 FileSize = FFS_FILE2_SIZE (FfsFileHeader) - sizeof (EFI_FFS_FILE_HEADER2);
1490 FileSize = FFS_FILE_SIZE (FfsFileHeader) - sizeof (EFI_FFS_FILE_HEADER);
1497 FileSize,
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DLoadPciRom.c147 SourceSize = (UINTN) Node->Info->FileSize;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFirmwareVolumeBuffer.c219 UINT32 FileSize; local
221 FileSize = FvBufExpand3ByteSize (File->Size);
240 FileSize - sizeof (EFI_FFS_FILE_HEADER)
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Application/Shell/
H A DShellParametersProtocol.c576 UINT64 FileSize; local
1041 Status = ShellInfoObject.NewEfiShellProtocol->GetFileSize(TempHandle, &FileSize);
1043 Status = ShellInfoObject.NewEfiShellProtocol->SetFilePosition(TempHandle, FileSize);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/TianoCompress/
H A DTianoCompress.c1609 UINTN FileSize; local
1623 FileSize = ftell (InputFile);
1628 if (FileSize > 0 && FileBuffer != NULL) {
1629 if (fread (FileBuffer, FileSize, 1, InputFile) != 1) {
1637 Size += (UINTN) FileSize;
/vbox/src/VBox/Additions/WINNT/SharedFolders/driver/
H A Dinfo.c1485 Log(("VBOXSF: MrxSetFileInfo: FileAllocationInformation: new AllocSize = 0x%RX64, FileSize = 0x%RX64\n",
1486 pInfo->AllocationSize.QuadPart, capFcb->Header.FileSize.QuadPart));
1489 if (pInfo->AllocationSize.QuadPart > capFcb->Header.FileSize.QuadPart)
1492 * AllocationSize and FileSize.
1511 Log(("VBOXSF: MrxSetFileInfo: FileEndOfFileInformation: new EndOfFile 0x%RX64, FileSize = 0x%RX64\n",
1512 pInfo->EndOfFile.QuadPart, capFcb->Header.FileSize.QuadPart));
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeDeferImageLoadLib/
H A DDxeDeferImageLoadLib.c716 @param[in] FileSize Size of File buffer matches the input file device path.
737 IN UINTN FileSize
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwVolWrite.c1218 UINTN FileSize; local
1252 &FileSize
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c488 // FileSize - (CertDirectory->Size)
1179 @param[in] FileSize Size of File buffer matches the input file device path.
1201 IN UINTN FileSize
1309 mImageSize = FileSize;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/
H A DInstallPkg.py197 FileSize = FilePointer.tell()
200 if FileSize != 0:
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/IpsecConfig/
H A DPolicyEntryOperation.c1063 UINT64 FileSize; local
1130 Status = ShellGetFileSize (FileHandle, &FileSize);
1144 AuthDataLength = (UINTN) FileSize;
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/Devices/UefiShell/
H A DdaShell.c343 statbuf->st_size = FileInfo->FileSize;
/vbox/src/VBox/Storage/
H A DVHD.cpp792 uint64_t FileSize; local
815 rc = vdIfIoIntFileGetSize(pImage->pIfIo, pImage->pStorage, &FileSize);
816 pImage->uCurrentEndOfFile = FileSize - sizeof(VHDFooter);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/
H A DUsbCredentialProvider.c377 *BufferSize = (UINT32) FileInfo->FileSize;
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellCommandLib/
H A DUefiShellCommandLib.c1293 if (Pos == Info->FileSize) {
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A Dfsw_efi.c1073 FileInfo->FileSize = dno->size;

Completed in 142 milliseconds

123