Home
last modified time | relevance | path

Searched refs:BytesRead (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Drecv.c51 ssize_t BytesRead; in recv() local
56 BytesRead = recvfrom ( s, in recv()
66 return BytesRead; in recv()
Dread.c44 ssize_t BytesRead; in BslSocketRead() local
49 BytesRead = recvfrom ( pDescriptor->MyFD, in BslSocketRead()
59 return BytesRead; in BslSocketRead()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/
DCommPs2.c471 UINTN BytesRead; in PS2MouseRead() local
486 for (BytesRead = 0; BytesRead < *BufSize; BytesRead++) { in PS2MouseRead()
492 Buffer[BytesRead] = IoRead8 (KBC_DATA_PORT); in PS2MouseRead()
497 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead()
501 *BufSize = BytesRead; in PS2MouseRead()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DMemoryFile.c62 UINT32 BytesRead; in GetMemoryFile() local
65 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead); in GetMemoryFile()
78 NewMemoryFile->Eof = InputFileImage + BytesRead; in GetMemoryFile()
DCommonLib.c158 OUT UINT32 *BytesRead in GetFileImage() argument
240 *BytesRead = fread (*InputFileImage, sizeof (UINT8), FileSize, InputFile); in GetFileImage()
241 if (*BytesRead != sizeof (UINT8) * FileSize) { in GetFileImage()
DCommonLib.h72 OUT UINT32 *BytesRead
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/
DCommPs2.c495 UINTN BytesRead; in PS2MouseRead() local
498 BytesRead = 0; in PS2MouseRead()
511 while (BytesRead < *BufSize) { in PS2MouseRead()
520 BytesRead++; in PS2MouseRead()
526 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead()
530 *BufSize = BytesRead; in PS2MouseRead()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/
DCommPs2.c495 UINTN BytesRead; in PS2MouseRead() local
498 BytesRead = 0; in PS2MouseRead()
511 while (BytesRead < *BufSize) { in PS2MouseRead()
520 BytesRead++; in PS2MouseRead()
526 if (BytesRead == 0 || BytesRead != *BufSize) { in PS2MouseRead()
530 *BufSize = BytesRead; in PS2MouseRead()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DCommonLib.c159 OUT UINT32 *BytesRead in GetFileImage() argument
241 *BytesRead = fread (*InputFileImage, sizeof (UINT8), FileSize, InputFile); in GetFileImage()
242 if (*BytesRead != sizeof (UINT8) * FileSize) { in GetFileImage()
DCommonLib.h67 OUT UINT32 *BytesRead
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c233 int BytesRead; in main() local
427 BytesRead = fread (FvImage, 1, FvSize, InputFile); in main()
429 if ((unsigned int) BytesRead != FvSize) { in main()
755 UINTN BytesRead; in ReadHeader() local
758 BytesRead = 0; in ReadHeader()
771 BytesRead = sizeof (EFI_FIRMWARE_VOLUME_HEADER) - sizeof (EFI_FV_BLOCK_MAP_ENTRY); in ReadHeader()
1060 BytesRead += sizeof (EFI_FV_BLOCK_MAP_ENTRY); in ReadHeader()
1070 if (BytesRead != VolumeHeader.HeaderLength) { in ReadHeader()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/
DWinNtSerialIo.c1513 DWORD BytesRead; in WinNtSerialIoRead() local
1528 for (Index = 0, BytesRead = 0; Index < *BufferSize; Index++) { in WinNtSerialIoRead()
1531 BytesRead++; in WinNtSerialIoRead()
1547 &BytesRead, in WinNtSerialIoRead()
1564 if (BytesRead != *BufferSize) { in WinNtSerialIoRead()
1570 *BufferSize = (UINTN) BytesRead; in WinNtSerialIoRead()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
DTftpServer.c35 size_t BytesRead; in BufferFill() local
64 BytesRead = fread ( pContext->pFill, in BufferFill()
68 if ( -1 == BytesRead ) { in BufferFill()
76 pContext->BytesRemaining -= BytesRead; in BufferFill()
77 pContext->ValidBytes += BytesRead; in BufferFill()
81 BytesRead, in BufferFill()
87 pContext->pFill += BytesRead; in BufferFill()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtBlockIoDxe/
DWinNtBlockIo.c908 DWORD BytesRead; in WinNtBlockIoReadBlocks() local
920 …->WinNtThunk->ReadFile (Private->NtHandle, Buffer, (DWORD) BufferSize, (LPDWORD) &BytesRead, NULL); in WinNtBlockIoReadBlocks()
921 if (!Flag || (BytesRead != BufferSize)) { in WinNtBlockIoReadBlocks()