HomeSort by relevance Sort by last modified time
    Searched refs:ReadSize (Results 1 - 25 of 39) sorted by null

1 2

  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
Type.c 39 UINTN ReadSize;
48 ReadSize = PcdGet32(PcdShellFileOperationSize);
49 AllocatedBuffer = AllocateZeroPool(ReadSize);
57 while (ReadSize == ((UINTN)PcdGet32(PcdShellFileOperationSize))) {
59 ZeroMem(Buffer, ReadSize);
60 Status = ShellReadFile(Handle, &ReadSize, Buffer);
74 LoopSize = ReadSize;
113 LoopSize = (ReadSize / (sizeof (CHAR16))) - 1;
115 LoopSize = ReadSize / (sizeof (CHAR16));
  /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
BasePeCoff.c 103 UINTN ReadSize;
116 ReadSize = Size;
123 if (RETURN_ERROR (Status) || (Size != ReadSize)) {
125 if (Size != ReadSize) {
147 ReadSize = Size;
154 if (RETURN_ERROR (Status) || (Size != ReadSize)) {
156 if (Size != ReadSize) {
197 ReadSize = Size;
204 if (RETURN_ERROR (Status) || (Size != ReadSize)) {
206 if (Size != ReadSize) {
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/DxeHobPeCoffLib/
DxeHobPeCoff.c 147 address specified by FileHandle. The read operation copies ReadSize bytes from the
149 The size of the buffer actually read is returned in ReadSize.
152 If ReadSize is NULL, then ASSERT().
157 @param ReadSize On input, the size in bytes of the requested read operation.
169 IN OUT UINTN *ReadSize,
176 ReadSize,
  /device/linaro/bootloader/edk2/MdePkg/Include/Library/
PeCoffLib.h 43 operation copies ReadSize bytes from the PE/COFF image starting at byte offset FileOffset into
44 the buffer specified by Buffer. The size of the buffer actually read is returned in ReadSize.
45 If FileOffset specifies an offset past the end of the PE/COFF image, a ReadSize of 0 is returned.
54 If ReadSize is NULL, then ASSERT().
59 @param ReadSize On input, the size in bytes of the requested read operation.
64 read and the size return in ReadSize.
74 IN OUT UINTN *ReadSize,
312 address specified by FileHandle. The read operation copies ReadSize bytes from the
314 The size of the buffer actually read is returned in ReadSize.
317 If ReadSize is NULL, then ASSERT().
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
Dir.c 75 UINTN ReadSize;
245 ReadSize = 0;
246 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo);
249 DirInfo = AllocatePool (ReadSize);
255 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo);
256 if ((EFI_ERROR (Status)) || (ReadSize == 0)) {
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
MeasureBootPeCoff.c 43 @param ReadSize On input, the size in bytes of the requested read operation.
54 IN OUT UINTN *ReadSize,
60 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
64 if (MAX_ADDRESS - FileOffset < *ReadSize) {
68 EndPosition = FileOffset + *ReadSize;
70 *ReadSize = (UINT32)(mTcg2DxeImageSize - FileOffset);
74 *ReadSize = 0;
77 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
MeasureBootPeCoff.c 43 @param ReadSize On input, the size in bytes of the requested read operation.
54 IN OUT UINTN *ReadSize,
60 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
64 if (MAX_ADDRESS - FileOffset < *ReadSize) {
68 EndPosition = FileOffset + *ReadSize;
70 *ReadSize = (UINT32)(mTrEEDxeImageSize - FileOffset);
74 *ReadSize = 0;
77 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
  /device/linaro/bootloader/edk2/OvmfPkg/Library/NvVarsFileLib/
FsAccess.c 184 @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)) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
EdkIIGluePeCoffLib.h 63 IN OUT UINTN *ReadSize,
181 @param ReadSize Number of bytes to copy into the buffer
192 IN OUT UINTN *ReadSize,
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
PerfHelper.cpp 115 ssize_t ReadSize = ::read(FileDescriptor, &Count, sizeof(Count));
116 if (ReadSize != sizeof(Count)) {
  /device/linaro/bootloader/edk2/EmbeddedPkg/Include/Protocol/
PeCoffLoader.h 142 address specified by FileHandle. The read operation copies ReadSize bytes from the
144 The size of the buffer actually read is returned in ReadSize.
147 If ReadSize is NULL, then ASSERT().
152 @param ReadSize On input, the size in bytes of the requested read operation.
164 IN OUT UINTN *ReadSize,
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/
DxeTpm2MeasureBootLib.c 73 @param ReadSize On input, the size in bytes of the requested read operation.
84 IN OUT UINTN *ReadSize,
90 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
94 if (MAX_ADDRESS - FileOffset < *ReadSize) {
98 EndPosition = FileOffset + *ReadSize;
100 *ReadSize = (UINT32)(mTcg2ImageSize - FileOffset);
104 *ReadSize = 0;
107 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
PeCoffLib.h 43 IN OUT UINTN *ReadSize,
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/
PeiPeCoffLoader.h 49 IN OUT UINTN *ReadSize,
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DxeTpmMeasureBootLib.c 71 @param ReadSize On input, the size in bytes of the requested read operation.
82 IN OUT UINTN *ReadSize,
88 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
92 if (MAX_ADDRESS - FileOffset < *ReadSize) {
96 EndPosition = FileOffset + *ReadSize;
98 *ReadSize = (UINT32)(mTpmImageSize - FileOffset);
102 *ReadSize = 0;
105 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
Cp.c 69 UINTN ReadSize;
93 ReadSize = PcdGet32(PcdShellFileOperationSize);
229 Buffer = AllocateZeroPool(ReadSize);
234 while (ReadSize == PcdGet32(PcdShellFileOperationSize) && !EFI_ERROR(Status)) {
235 Status = ShellReadFile(SourceHandle, &ReadSize, Buffer);
237 Status = ShellWriteFile(DestHandle, &ReadSize, Buffer);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
VfrFormPkg.cpp 382 UINT32 ReadSize = 0;
404 while ((ReadSize = Read ((CHAR8 *)Buffer, BYTES_PRE_LINE * 8)) != 0) {
405 PkgLength += ReadSize;
407 _WRITE_PKG_LINE (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
409 _WRITE_PKG_END (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
Image.c 36 @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;
    [all...]
  /device/linaro/bootloader/edk2/Nt32Pkg/Sec/
SecMain.h 480 IN OUT UINTN *ReadSize,
493 ReadSize - TODO: add argument description
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/
FirmwareUpdate.c 641 UINTN ReadSize;
665 ReadSize = (UINTN) Size;
666 Status = FileHandleRead (FileHandle, &ReadSize, NewBuffer);
669 } else if (ReadSize != (UINTN) Size) {
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/
Image.c 215 @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);
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DxeImageVerificationLib.c 105 @param ReadSize On input, the size in bytes of the requested read operation.
116 IN OUT UINTN *ReadSize,
122 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
126 if (MAX_ADDRESS - FileOffset < *ReadSize) {
130 EndPosition = FileOffset + *ReadSize;
132 *ReadSize = (UINT32)(mImageSize - FileOffset);
136 *ReadSize = 0;
139 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
PeLoader.c 37 IN OUT UINTN ReadSize,
540 IN OUT UINTN ReadSize,
544 CopyMem (Buffer, (VOID *)((UINTN)FHand + Offset), ReadSize);