/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/ |
Type.c | 40 UINTN ReadSize;
49 ReadSize = PcdGet32(PcdShellFileOperationSize);
50 AllocatedBuffer = AllocateZeroPool(ReadSize);
58 while (ReadSize == ((UINTN)PcdGet32(PcdShellFileOperationSize))) {
60 ZeroMem(Buffer, ReadSize);
61 Status = ShellReadFile(Handle, &ReadSize, Buffer);
75 LoopSize = ReadSize;
114 LoopSize = (ReadSize / (sizeof (CHAR16))) - 1;
116 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;
244 ReadSize = 0;
245 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo);
248 DirInfo = AllocatePool (ReadSize);
254 Status = File->FsFileHandle->Read (File->FsFileHandle, &ReadSize, DirInfo);
255 if ((EFI_ERROR (Status)) || (ReadSize == 0)) {
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
sread.c | 283 IN OUT UINTN *ReadSize, 299 EndPos = Offset + *ReadSize; 301 *ReadSize = FHand->SourceSize - Offset; 303 *ReadSize = 0; 307 CopyMem (Buffer, (CHAR8 *) FHand->Source + Offset, *ReadSize); 319 Status = uefi_call_wrapper(FHand->FileHandle->Read, 3, FHand->FileHandle, ReadSize, Buffer);
|
/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,
|
/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 | 74 @param ReadSize On input, the size in bytes of the requested read operation.
85 IN OUT UINTN *ReadSize,
91 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
95 if (MAX_ADDRESS - FileOffset < *ReadSize) {
99 EndPosition = FileOffset + *ReadSize;
101 *ReadSize = (UINT32)(mTcg2ImageSize - FileOffset);
105 *ReadSize = 0;
108 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 | 72 @param ReadSize On input, the size in bytes of the requested read operation.
83 IN OUT UINTN *ReadSize,
89 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
93 if (MAX_ADDRESS - FileOffset < *ReadSize) {
97 EndPosition = FileOffset + *ReadSize;
99 *ReadSize = (UINT32)(mTpmImageSize - FileOffset);
103 *ReadSize = 0;
106 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
Cp.c | 71 UINTN ReadSize;
95 ReadSize = PcdGet32(PcdShellFileOperationSize);
231 Buffer = AllocateZeroPool(ReadSize);
233 while (ReadSize == PcdGet32(PcdShellFileOperationSize) && !EFI_ERROR(Status)) {
234 Status = ShellReadFile(SourceHandle, &ReadSize, Buffer);
236 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/NetworkPkg/UefiPxeBcDxe/ |
PxeBcDhcp6.c | 676 UINTN ReadSize;
784 ReadSize = (UINTN) Reply->Size;
803 &ReadSize,
818 Reply->Length = (UINT32) 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);
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldChecker.cpp | 517 uint64_t ReadSize = ReadSizeExpr.getValue(); 518 if (ReadSize < 1 || ReadSize > 8) 536 EvalResult(Checker.readMemoryAtAddr(LoadAddr, ReadSize)), [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
DxeImageVerificationLib.c | 102 @param ReadSize On input, the size in bytes of the requested read operation.
113 IN OUT UINTN *ReadSize,
119 if (FileHandle == NULL || ReadSize == NULL || Buffer == NULL) {
123 if (MAX_ADDRESS - FileOffset < *ReadSize) {
127 EndPosition = FileOffset + *ReadSize;
129 *ReadSize = (UINT32)(mImageSize - FileOffset);
133 *ReadSize = 0;
136 CopyMem (Buffer, (UINT8 *)((UINTN) FileHandle + FileOffset), *ReadSize);
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
VfrFormPkg.cpp | 434 UINT32 ReadSize = 0;
470 while ((ReadSize = Read ((CHAR8 *)Buffer, BYTES_PRE_LINE * 8)) != 0) {
471 PkgLength += ReadSize;
473 _WRITE_PKG_LINE (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
475 _WRITE_PKG_END (pFile, BYTES_PRE_LINE, " ", Buffer, ReadSize);
[all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
Host.c | 866 IN OUT UINTN *ReadSize,
877 ReadSize - The number of bytes to read from the file starting at FileOffset
881 EFI_SUCCESS - ReadSize bytes of data were read into Buffer from the PE/COFF file starting at FileOffset
891 Length = *ReadSize;
[all...] |