/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Support.c | 286 UINT32 BufferLength; in Mtftp4SendRequest() local 305 BufferLength = (UINT32) FileNameLength + (UINT32) ModeLength + 4; in Mtftp4SendRequest() 310 BufferLength += (UINT32) OptionStrLength + (UINT32) ValueStrLength + 2; in Mtftp4SendRequest() 315 if ((Nbuf = NetbufAlloc (BufferLength)) == NULL) { in Mtftp4SendRequest() 319 Packet = (EFI_MTFTP4_PACKET *) NetbufAllocSpace (Nbuf, BufferLength, FALSE); in Mtftp4SendRequest() 323 BufferLength -= sizeof (Packet->OpCode); in Mtftp4SendRequest() 326 Status = AsciiStrCpyS ((CHAR8 *) Cur, BufferLength, (CHAR8 *) Token->Filename); in Mtftp4SendRequest() 328 BufferLength -= (UINT32) (FileNameLength + 1); in Mtftp4SendRequest() 330 Status = AsciiStrCpyS ((CHAR8 *) Cur, BufferLength, (CHAR8 *) Mode); in Mtftp4SendRequest() 332 BufferLength -= (UINT32) (ModeLength + 1); in Mtftp4SendRequest() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDebugLibDebugPortProtocol/ |
D | DebugLib.c | 53 IN UINTN BufferLength in UefiDebugLibDebugPortProtocolWrite() argument 74 while (BufferLength > 0) { in UefiDebugLibDebugPortProtocolWrite() 75 Length = BufferLength; in UefiDebugLibDebugPortProtocolWrite() 78 if (EFI_ERROR (Status) || BufferLength < Length) { in UefiDebugLibDebugPortProtocolWrite() 83 BufferLength -= Length; in UefiDebugLibDebugPortProtocolWrite()
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
D | Mtftp6Support.c | 460 UINT32 BufferLength; in Mtftp6SendRequest() local 495 BufferLength = (UINT32) FileNameLength + (UINT32) ModeLength + 4; in Mtftp6SendRequest() 500 BufferLength += (UINT32) OptionStrLength + (UINT32) ValueStrLength + 2; in Mtftp6SendRequest() 506 if ((Nbuf = NetbufAlloc (BufferLength)) == NULL) { in Mtftp6SendRequest() 513 Packet = (EFI_MTFTP6_PACKET *) NetbufAllocSpace (Nbuf, BufferLength, FALSE); in Mtftp6SendRequest() 517 BufferLength -= sizeof (Packet->OpCode); in Mtftp6SendRequest() 520 Status = AsciiStrCpyS ((CHAR8 *) Cur, BufferLength, (CHAR8 *) Token->Filename); in Mtftp6SendRequest() 522 BufferLength -= (UINT32) (FileNameLength + 1); in Mtftp6SendRequest() 524 Status = AsciiStrCpyS ((CHAR8 *) Cur, BufferLength, (CHAR8 *) Mode); in Mtftp6SendRequest() 526 BufferLength -= (UINT32) (ModeLength + 1); in Mtftp6SendRequest() [all …]
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
D | Ip4.c | 402 IN size_t BufferLength, in EslIp4Receive() argument 441 if ( HeaderBytes > BufferLength ) { in EslIp4Receive() 442 HeaderBytes = BufferLength; in EslIp4Receive() 456 if ( 0 < ( BufferLength - LengthInBytes )) { in EslIp4Receive() 459 BufferLength - LengthInBytes, in EslIp4Receive() 903 IN size_t BufferLength, in EslIp4TxBuffer() argument 955 + BufferLength, in EslIp4TxBuffer() 970 pTxData->TxData.TotalDataLength = (UINT32) BufferLength; in EslIp4TxBuffer() 972 pTxData->TxData.FragmentTable[0].FragmentLength = (UINT32) BufferLength; in EslIp4TxBuffer() 1008 BufferLength ); in EslIp4TxBuffer() [all …]
|
D | Udp4.c | 315 IN size_t BufferLength, in EslUdp4Receive() argument 355 BufferLength, in EslUdp4Receive() 766 IN size_t BufferLength, in EslUdp4TxBuffer() argument 818 + BufferLength, in EslUdp4TxBuffer() 828 pTxData->TxData.DataLength = (UINT32) BufferLength; in EslUdp4TxBuffer() 830 pTxData->TxData.FragmentTable[0].FragmentLength = (UINT32) BufferLength; in EslUdp4TxBuffer() 862 BufferLength ); in EslUdp4TxBuffer() 874 BufferLength, in EslUdp4TxBuffer() 901 *pTxBytes += BufferLength; in EslUdp4TxBuffer() 902 *pDataLength = BufferLength; in EslUdp4TxBuffer()
|
D | Udp6.c | 299 IN size_t BufferLength, in EslUdp6Receive() argument 351 BufferLength, in EslUdp6Receive() 811 IN size_t BufferLength, in EslUdp6TxBuffer() argument 863 + BufferLength, in EslUdp6TxBuffer() 872 pTxData->TxData.DataLength = (UINT32) BufferLength; in EslUdp6TxBuffer() 874 pTxData->TxData.FragmentTable[0].FragmentLength = (UINT32) BufferLength; in EslUdp6TxBuffer() 903 BufferLength ); in EslUdp6TxBuffer() 915 BufferLength, in EslUdp6TxBuffer() 954 *pTxBytes += BufferLength; in EslUdp6TxBuffer() 955 *pDataLength = BufferLength; in EslUdp6TxBuffer()
|
D | Tcp4.c | 1526 IN size_t BufferLength, in EslTcp4Receive() argument 1565 if ( BufferLength < DataLength ) { in EslTcp4Receive() 1566 DataLength = BufferLength; in EslTcp4Receive() 1909 IN size_t BufferLength, in EslTcp4TxBuffer() argument 1990 + BufferLength, in EslTcp4TxBuffer() 2000 pTxData->DataLength = (UINT32) BufferLength; in EslTcp4TxBuffer() 2002 pTxData->FragmentTable[0].FragmentLength = (UINT32) BufferLength; in EslTcp4TxBuffer() 2010 BufferLength ); in EslTcp4TxBuffer() 2026 BufferLength, in EslTcp4TxBuffer() 2050 *pTxBytes += BufferLength; in EslTcp4TxBuffer() [all …]
|
D | Tcp6.c | 1578 IN size_t BufferLength, in EslTcp6Receive() argument 1629 if ( BufferLength < DataLength ) { in EslTcp6Receive() 1630 DataLength = BufferLength; in EslTcp6Receive() 1978 IN size_t BufferLength, in EslTcp6TxBuffer() argument 2059 + BufferLength, in EslTcp6TxBuffer() 2069 pTxData->DataLength = (UINT32) BufferLength; in EslTcp6TxBuffer() 2071 pTxData->FragmentTable[0].FragmentLength = (UINT32) BufferLength; in EslTcp6TxBuffer() 2079 BufferLength ); in EslTcp6TxBuffer() 2095 BufferLength, in EslTcp6TxBuffer() 2119 *pTxBytes += BufferLength; in EslTcp6TxBuffer() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
D | String.c | 555 UINTN BufferLength; in HexStringToBuf() local 571 BufferLength = (HexCnt + 1) / 2; in HexStringToBuf() 576 if (BufferLength > (*Len)) { in HexStringToBuf() 577 *Len = BufferLength; in HexStringToBuf() 581 *Len = BufferLength; in HexStringToBuf()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrCommon.c | 396 UINTN BufferLength; in GetHiiHandles() local 399 BufferLength = 0; in GetHiiHandles() 410 &BufferLength, in GetHiiHandles() 415 *HiiHandleBuffer = EfiLibAllocateZeroPool (BufferLength); in GetHiiHandles() 420 &BufferLength, in GetHiiHandles() 429 *HandleBufferLength = BufferLength; in GetHiiHandles()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/ |
D | BotPeim.c | 334 IN UINT32 BufferLength, in PeiAtapiCommand() argument 353 BufferLength, in PeiAtapiCommand() 367 BufferSize = BufferLength; in PeiAtapiCommand()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/ |
D | GenSection.c | 284 UINTN *BufferLength in GetSectionContents() argument 322 if (BufferLength == NULL) { in GetSectionContents() 346 if (FileSize > 0 && FileBuffer != NULL && (Size + (UINTN) FileSize) <= *BufferLength) { in GetSectionContents() 360 if (FileBuffer != NULL && Size < *BufferLength) { in GetSectionContents() 367 if (Size > *BufferLength) { in GetSectionContents() 368 *BufferLength = Size; in GetSectionContents() 371 *BufferLength = Size; in GetSectionContents()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
D | Strings.c | 294 IN OUT UINTN *BufferLength, in HiiThunkGetString() argument 372 BufferLength, in HiiThunkGetString() 430 IN OUT UINT16 *BufferLength, in HiiGetLine() argument
|
D | HiiDatabase.c | 92 UINTN BufferLength; in InitializeHiiDatabase() local 159 Status = ListPackageLists (EFI_HII_PACKAGE_STRINGS, NULL, &BufferLength, &Buffer); in InitializeHiiDatabase() 162 for (Index = 0; Index < BufferLength / sizeof (EFI_HII_HANDLE); Index++) { in InitializeHiiDatabase()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/ |
D | GenFfs.c | 241 OUT UINT32 *BufferLength, in GetSectionContents() argument 383 if (FileBuffer != NULL && ((Size + Offset) < *BufferLength)) { in GetSectionContents() 426 if ((FileSize > 0) && (FileBuffer != NULL) && ((Size + FileSize) <= *BufferLength)) { in GetSectionContents() 443 if (Size > *BufferLength) { in GetSectionContents() 444 *BufferLength = Size; in GetSectionContents() 447 *BufferLength = Size; in GetSectionContents()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/ |
D | UsbAtapi.h | 60 IN UINT32 BufferLength,
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
D | FrameworkHii.h | 779 IN OUT UINTN *BufferLength, 818 IN OUT UINT16 *BufferLength, 849 IN OUT UINTN *BufferLength,
|
/device/linaro/bootloader/edk2/StdLib/Include/Protocol/ |
D | EfiSocket.h | 452 IN size_t BufferLength, 555 IN size_t BufferLength,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/ |
D | GenSec.c | 395 UINT32 *BufferLength in GetSectionContents() argument 443 if (BufferLength == NULL) { in GetSectionContents() 460 if (FileBuffer != NULL && Size < *BufferLength) { in GetSectionContents() 535 if (FileBuffer != NULL && ((Size + Offset) < *BufferLength)) { in GetSectionContents() 556 if ((FileSize > 0) && (FileBuffer != NULL) && ((Size + FileSize) <= *BufferLength)) { in GetSectionContents() 571 if (Size > *BufferLength) { in GetSectionContents() 572 *BufferLength = Size; in GetSectionContents() 575 *BufferLength = Size; in GetSectionContents()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/Hii/ |
D | Hii.h | 545 IN OUT UINTN *BufferLength, 558 IN OUT UINT16 *BufferLength, 568 IN OUT UINTN *BufferLength,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Protocol/ |
D | HiiFramework.h | 720 IN OUT UINTN *BufferLength, 755 IN OUT UINT16 *BufferLength, 786 IN OUT UINTN *BufferLength,
|
/device/linaro/bootloader/edk2/StdLib/Include/Efi/ |
D | EfiSocketLib.h | 674 IN size_t BufferLength, 742 IN size_t BufferLength,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 94 IN UINT32 BufferLength 1199 IN UINT32 BufferLength in ParseSection() argument 1254 while (ParsedLength < BufferLength) { in ParseSection() 1468 BufferLength - DataOffset in ParseSection() 1510 BufferLength - DataOffset in ParseSection() 1541 if (ParsedLength < BufferLength) { in ParseSection()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
D | HttpLib.h | 41 IN UINT32 BufferLength,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/ |
D | MnpDriver.h | 92 UINT32 BufferLength; member
|