Searched refs:ReadSize (Results 1 - 17 of 17) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel3CommandsLib/
H A DType.c39 UINTN ReadSize; local
45 ReadSize = PcdGet16(PcdShellFileOperationSize);
46 Buffer = AllocateZeroPool(ReadSize);
54 while (ReadSize == ((UINTN)PcdGet16(PcdShellFileOperationSize))){
55 ZeroMem(Buffer, ReadSize);
56 Status = ShellReadFile(Handle, &ReadSize, Buffer);
74 for (LoopVar = 0 ; LoopVar < ReadSize ; LoopVar++) {
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DPeCoffLib.h42 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
43 the buffer specified by Buffer. The size of the buffer actually read is returned in ReadSize.
44 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
53 If ReadSize is NULL, then ASSERT().
58 @param ReadSize On input, the size in bytes of the requested read operation.
73 IN OUT UINTN *ReadSize,
321 address specified by FileHandle. The read operation copies ReadSize bytes from the
323 The size of the buffer actually read is returned in ReadSize.
326 If ReadSize is NULL, then ASSERT().
331 @param ReadSize O
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/NvVarsFileLib/
H A DFsAccess.c184 @param[in] ReadSize - The size of data to read from the file
193 IN UINTN ReadSize
200 ActualReadSize = ReadSize;
201 FileContents = AllocatePool (ReadSize);
205 &ReadSize,
208 if (EFI_ERROR (Status) || (ActualReadSize != ReadSize)) {
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DPeCoffLib.h45 IN OUT UINTN *ReadSize,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c47 @param ReadSize On input, the size in bytes of the requested read operation.
58 IN OUT UINTN *ReadSize,
64 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
68 if (MAX_ADDRESS - FileOffset < *ReadSize) {
72 EndPosition = FileOffset + *ReadSize;
74 *ReadSize = (UINT32)(mImageSize - FileOffset);
78 *ReadSize = 0;
81 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
55 DxeTpmMeasureBootLibImageRead( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel2CommandsLib/
H A DCp.c66 UINTN ReadSize; local
84 ReadSize = PcdGet16(PcdShellFileOperationSize);
175 Buffer = AllocateZeroPool(ReadSize);
177 while (ReadSize == PcdGet16(PcdShellFileOperationSize) && !EFI_ERROR(Status)) {
178 Status = ShellReadFile(SourceHandle, &ReadSize, Buffer);
180 Status = ShellWriteFile(DestHandle, &ReadSize, Buffer);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c36 @param ReadSize - The number of bytes to read from the file starting at FileOffset
39 @return EFI_SUCCESS - ReadSize bytes of data were read into Buffer from the PE/COFF file starting at FileOffset
47 IN UINTN *ReadSize,
57 CopyMem (Destination8, Source8, *ReadSize);
70 @param ReadSize - The number of bytes to read from the file starting at FileOffset
73 @return EFI_SUCCESS - ReadSize bytes of data were read into Buffer from the PE/COFF file starting at FileOffset
81 IN UINTN *ReadSize,
92 Length = *ReadSize;
44 PeiImageRead( IN VOID *FileHandle, IN UINTN FileOffset, IN UINTN *ReadSize, OUT VOID *Buffer ) argument
78 PeiImageReadForShadow( IN VOID *FileHandle, IN UINTN FileOffset, IN UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Image/
H A DImage.c215 @param ReadSize For input, pointer of size to read; For output,
228 IN OUT UINTN *ReadSize,
235 if (UserHandle == NULL || ReadSize == NULL || Buffer == NULL) {
239 if (MAX_ADDRESS - Offset < *ReadSize) {
249 EndPosition = Offset + *ReadSize;
251 *ReadSize = (UINT32)(FHand->SourceSize - Offset);
254 *ReadSize = 0;
257 CopyMem (Buffer, (CHAR8 *)FHand->Source + Offset, *ReadSize); local
225 CoreReadImageFile( IN VOID *UserHandle, IN UINTN Offset, IN OUT UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c62 @param ReadSize On input, the size in bytes of the requested read operation.
73 IN OUT UINTN *ReadSize,
79 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
83 if (MAX_ADDRESS - FileOffset < *ReadSize) {
87 EndPosition = FileOffset + *ReadSize;
89 *ReadSize = (UINT32)(mImageSize - FileOffset);
93 *ReadSize = 0;
96 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
70 DxeImageVerificationLibImageRead( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/UefiPxeBcDxe/
H A DPxeBcDhcp6.c676 UINTN ReadSize; local
785 ReadSize = (UINTN) Reply->Size;
804 &ReadSize,
819 Reply->Length = (UINT32) ReadSize;
1562 UINTN ReadSize; local
1643 ReadSize = (UINTN) Reply->Size;
1662 &ReadSize,
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp417 UINT32 ReadSize = 0; local
453 while ((ReadSize = Read ((CHAR8 *)Buffer, BYTES_PRE_LINE * 8)) != 0) {
454 PkgLength += ReadSize;
456 _WRITE_PKG_LINE (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
458 _WRITE_PKG_END (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Include/Protocol/
H A DEfiShell.h714 @param[in] ReadSize On input, the size of Buffer, in bytes. On output, the amount of data read.
721 @retval EFI_BUFFER_TO_SMALL Buffer is too small. ReadSize contains required size.
727 IN OUT UINTN *ReadSize,
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Include/Library/
H A DShellLib.h208 @param[in, out] ReadSize On input the size of buffer in bytes. On return
216 @retval EFI_BUFFER_TO_SMALL Buffer is too small. ReadSize contains required
224 IN OUT UINTN *ReadSize,
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c1572 address specified by FileHandle. The read operation copies ReadSize bytes from the
1574 The size of the buffer actually read is returned in ReadSize.
1577 If ReadSize is NULL, then ASSERT().
1582 @param ReadSize On input, the size in bytes of the requested read operation.
1594 IN OUT UINTN *ReadSize,
1598 ASSERT (ReadSize != NULL);
1602 CopyMem (Buffer, ((UINT8 *)FileHandle) + FileOffset, *ReadSize);
1591 PeCoffLoaderImageReadFromMemory( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c1670 address specified by FileHandle. The read operation copies ReadSize bytes from the
1672 The size of the buffer actually read is returned in ReadSize.
1675 If ReadSize is NULL, then ASSERT().
1680 @param ReadSize On input, the size in bytes of the requested read operation.
1692 IN OUT UINTN *ReadSize,
1696 ASSERT (ReadSize != NULL);
1700 CopyMem (Buffer, ((UINT8 *)FileHandle) + FileOffset, *ReadSize);
1689 PeCoffLoaderImageReadFromMemory( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINTN *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c2679 IN OUT UINT32 *ReadSize,
2694 ReadSize - The number of bytes to read from the file starting at FileOffset
2700 EFI_SUCCESS - ReadSize bytes of data were read into Buffer from the PE/COFF file starting at FileOffset
2710 Length = *ReadSize;
2676 FfsRebaseImageRead( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINT32 *ReadSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c793 IN OUT UINT32 *ReadSize,
808 ReadSize - The number of bytes to read from the file starting at FileOffset
814 EFI_SUCCESS - ReadSize bytes of data were read into Buffer from the PE/COFF file starting at FileOffset
824 Length = *ReadSize;
790 RebaseImageRead( IN VOID *FileHandle, IN UINTN FileOffset, IN OUT UINT32 *ReadSize, OUT VOID *Buffer ) argument

Completed in 6498 milliseconds