/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | recvfrom.c | 58 ssize_t LengthInBytes; in recvfrom() local 70 LengthInBytes = -1; in recvfrom() 84 (size_t *)&LengthInBytes, in recvfrom() 89 LengthInBytes = -1; in recvfrom() 95 LengthInBytes = getsockopt ( s, in recvfrom() 100 if ( 0 == LengthInBytes ) { in recvfrom() 112 LengthInBytes = -1; in recvfrom() 160 (size_t *)&LengthInBytes, in recvfrom() 168 TotalBytes += LengthInBytes; in recvfrom() 169 pData += LengthInBytes; in recvfrom() [all …]
|
D | sendto.c | 58 ssize_t LengthInBytes; in sendto() local 67 LengthInBytes = -1; in sendto() 91 (size_t *)&LengthInBytes, in sendto() 96 LengthInBytes = -1; in sendto() 103 pData += LengthInBytes; in sendto() 104 length -= LengthInBytes; in sendto() 111 return (INT32)LengthInBytes; in sendto()
|
D | write.c | 35 size_t LengthInBytes, in BslSocketWrite() argument 46 LengthInBytes, in BslSocketWrite()
|
D | read.c | 40 size_t LengthInBytes, in BslSocketRead() argument 51 LengthInBytes, in BslSocketRead()
|
D | SocketInternals.h | 161 size_t LengthInBytes, 182 size_t LengthInBytes,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/ |
D | SetSockOpt.c | 78 socklen_t LengthInBytes, in DisplayOption() argument 95 Print ( L"LengthInBytes: %d\r\n", LengthInBytes ); in DisplayOption() 109 pEnd = &Value.u8[ LengthInBytes ]; in DisplayOption() 117 if ( 4 == LengthInBytes ) { in DisplayOption() 121 errno = ( 4 > LengthInBytes ) ? EBUFSIZE : ERANGE; in DisplayOption() 127 if ( 4 == LengthInBytes ) { in DisplayOption() 137 errno = ( 4 > LengthInBytes ) ? EBUFSIZE : ERANGE; in DisplayOption() 143 if ( sizeof ( *Value.TimeVal ) == LengthInBytes ) { in DisplayOption() 155 errno = ( 4 > LengthInBytes ) ? EBUFSIZE : ERANGE; in DisplayOption() 250 socklen_t LengthInBytes; in main() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/ |
D | RecvDgram.c | 47 ssize_t LengthInBytes; in main() local 77 LengthInBytes = recvfrom ( s, in main() 83 if ( -1 == LengthInBytes ) { in main() 93 LengthInBytes, in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | Handles.c | 40 UINTN LengthInBytes; in HandlePage() local 83 LengthInBytes = 0; in HandlePage() 87 &LengthInBytes, in HandlePage() 94 LengthInBytes, in HandlePage() 103 &LengthInBytes, in HandlePage() 106 Entries = LengthInBytes / sizeof ( *pHandleArray ); in HandlePage()
|
D | WebServer.c | 39 size_t LengthInBytes; in PortAdd() local 71 LengthInBytes = sizeof ( *pFdList ) * MaxEntriesNew; in PortAdd() 73 LengthInBytes, in PortAdd() 85 LengthInBytes = sizeof ( *ppPortListNew ) * MaxEntriesNew; in PortAdd() 87 LengthInBytes, in PortAdd() 171 LengthInBytes = sizeof ( *pPort ); in PortAdd() 173 LengthInBytes, in PortAdd() 325 size_t LengthInBytes; in PortWork() local 435 LengthInBytes = recv ( SocketFD, in PortWork() 439 if ( -1 == LengthInBytes ) { in PortWork() [all …]
|
D | HTTP.c | 103 INTN LengthInBytes; in HttpFlush() local 118 LengthInBytes = send ( SocketFD, in HttpFlush() 122 if ( -1 != LengthInBytes ) { in HttpFlush() 126 pBuffer += LengthInBytes; in HttpFlush() 127 pPort->TxBytes -= LengthInBytes; in HttpFlush() 394 socklen_t LengthInBytes; in HttpPageTrailer() local 404 LengthInBytes = sizeof ( LocalAddress ); in HttpPageTrailer() 405 RetVal = getsockname ( SocketFD, (struct sockaddr *)&LocalAddress, &LengthInBytes ); in HttpPageTrailer() 407 LengthInBytes = sizeof ( LocalAddress ); in HttpPageTrailer() 408 RetVal = getpeername ( SocketFD, (struct sockaddr *)&RemoteAddress, &LengthInBytes ); in HttpPageTrailer() [all …]
|
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
D | Socket.c | 932 UINTN LengthInBytes; in EslSocketAllocate() local 943 LengthInBytes = sizeof ( *pSocket ); in EslSocketAllocate() 944 pSocket = (ESL_SOCKET *) AllocateZeroPool ( LengthInBytes ); in EslSocketAllocate() 949 LengthInBytes )); in EslSocketAllocate() 2060 socklen_t LengthInBytes; in EslSocketGetLocalAddress() local 2110 LengthInBytes = pSocket->pApi->AddressLength; in EslSocketGetLocalAddress() 2111 if (( LengthInBytes <= *pAddressLength ) in EslSocketGetLocalAddress() 2112 && ( 255 >= LengthInBytes )) { in EslSocketGetLocalAddress() 2116 ZeroMem ( pAddress, LengthInBytes ); in EslSocketGetLocalAddress() 2117 pAddress->sa_len = (uint8_t)LengthInBytes; in EslSocketGetLocalAddress() [all …]
|
D | Service.c | 45 UINTN LengthInBytes; in EslServiceConnect() local 97 LengthInBytes = sizeof ( *pService ); in EslServiceConnect() 100 LengthInBytes, in EslServiceConnect() 107 LengthInBytes )); in EslServiceConnect() 112 ZeroMem ( pService, LengthInBytes ); in EslServiceConnect()
|
D | Ip4.c | 411 size_t LengthInBytes; in EslIp4Receive() local 451 LengthInBytes = HeaderBytes; in EslIp4Receive() 456 if ( 0 < ( BufferLength - LengthInBytes )) { in EslIp4Receive() 459 BufferLength - LengthInBytes, in EslIp4Receive() 462 LengthInBytes += DataBytes; in EslIp4Receive() 475 LengthInBytes )); in EslIp4Receive() 480 *pSkipBytes = pRxData->HeaderLength + pRxData->DataLength - LengthInBytes; in EslIp4Receive() 486 *pDataLength = LengthInBytes; in EslIp4Receive() 603 size_t LengthInBytes; in EslIp4RxComplete() local 619 LengthInBytes = pRxData->HeaderLength + pRxData->DataLength; in EslIp4RxComplete() [all …]
|
D | Udp4.c | 499 size_t LengthInBytes; in EslUdp4RxComplete() local 515 LengthInBytes = pRxData->DataLength; in EslUdp4RxComplete() 544 EslSocketRxComplete ( pIo, Status, LengthInBytes, FALSE ); in EslUdp4RxComplete() 984 UINT32 LengthInBytes; in EslUdp4TxComplete() local 1002 LengthInBytes = pPacket->Op.Udp4Tx.TxData.DataLength; in EslUdp4TxComplete() 1003 pSocket->TxBytes -= LengthInBytes; in EslUdp4TxComplete() 1022 LengthInBytes, in EslUdp4TxComplete()
|
D | Tcp4.c | 1748 size_t LengthInBytes; in EslTcp4RxComplete() local 1780 LengthInBytes = pPacket->Op.Tcp4Rx.RxData.DataLength; in EslTcp4RxComplete() 1781 pPacket->ValidBytes = LengthInBytes; in EslTcp4RxComplete() 1792 EslSocketRxComplete ( pIo, Status, LengthInBytes, bUrgent ); in EslTcp4RxComplete() 2136 UINT32 LengthInBytes; in EslTcp4TxComplete() local 2154 LengthInBytes = pPacket->Op.Tcp4Tx.TxData.DataLength; in EslTcp4TxComplete() 2155 pSocket->TxBytes -= LengthInBytes; in EslTcp4TxComplete() 2162 LengthInBytes, in EslTcp4TxComplete() 2193 UINT32 LengthInBytes; in EslTcp4TxOobComplete() local 2211 LengthInBytes = pPacket->Op.Tcp4Tx.TxData.DataLength; in EslTcp4TxOobComplete() [all …]
|
D | Tcp6.c | 1817 size_t LengthInBytes; in EslTcp6RxComplete() local 1849 LengthInBytes = pPacket->Op.Tcp6Rx.RxData.DataLength; in EslTcp6RxComplete() 1850 pPacket->ValidBytes = LengthInBytes; in EslTcp6RxComplete() 1861 EslSocketRxComplete ( pIo, Status, LengthInBytes, bUrgent ); in EslTcp6RxComplete() 2205 UINT32 LengthInBytes; in EslTcp6TxComplete() local 2223 LengthInBytes = pPacket->Op.Tcp6Tx.TxData.DataLength; in EslTcp6TxComplete() 2224 pSocket->TxBytes -= LengthInBytes; in EslTcp6TxComplete() 2231 LengthInBytes, in EslTcp6TxComplete() 2262 UINT32 LengthInBytes; in EslTcp6TxOobComplete() local 2280 LengthInBytes = pPacket->Op.Tcp6Tx.TxData.DataLength; in EslTcp6TxOobComplete() [all …]
|
D | Udp6.c | 493 size_t LengthInBytes; in EslUdp6RxComplete() local 509 LengthInBytes = pRxData->DataLength; in EslUdp6RxComplete() 538 EslSocketRxComplete ( pIo, Status, LengthInBytes, FALSE ); in EslUdp6RxComplete() 1036 UINT32 LengthInBytes; in EslUdp6TxComplete() local 1054 LengthInBytes = pPacket->Op.Udp6Tx.TxData.DataLength; in EslUdp6TxComplete() 1055 pSocket->TxBytes -= LengthInBytes; in EslUdp6TxComplete() 1074 LengthInBytes, in EslUdp6TxComplete()
|
D | Socket.h | 1332 IN size_t LengthInBytes, 1573 IN UINTN LengthInBytes, 1652 IN UINT32 LengthInBytes,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/ |
D | TftpServer.c | 36 UINT64 LengthInBytes; in BufferFill() local 48 LengthInBytes = DIM ( pContext->FileData ) >> 1; in BufferFill() 49 if (( pContext->ValidBytes > LengthInBytes ) in BufferFill() 57 if ( LengthInBytes > pContext->BytesRemaining ) { in BufferFill() 58 LengthInBytes = pContext->BytesRemaining; in BufferFill() 66 (size_t)LengthInBytes, in BufferFill() 347 UINT64 LengthInBytes; in PacketFill() local 402 LengthInBytes = pContext->BlockSize; in PacketFill() 404 && ( LengthInBytes > pContext->BytesToSend )) { in PacketFill() 405 LengthInBytes = pContext->BytesToSend; in PacketFill() [all …]
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/ |
D | Ax88772.c | 756 UINTN LengthInBytes; in Ax88772Rx() local 833 LengthInBytes = MAX_BULKIN_SIZE; in Ax88772Rx() 861 &LengthInBytes, in Ax88772Rx() 864 if ( LengthInBytes > 0 ) { in Ax88772Rx() 865 FillPkt2Queue(pNicDevice, LengthInBytes); in Ax88772Rx() 871 && ( LengthInBytes > 0)) { in Ax88772Rx() 877 LengthInBytes = pRxPacket->Length; in Ax88772Rx() 906 LengthInBytes )); in Ax88772Rx() 925 LengthInBytes )); in Ax88772Rx() 945 LengthInBytes )); in Ax88772Rx() [all …]
|
D | DriverBinding.c | 111 UINTN LengthInBytes; in DriverStart() local 118 LengthInBytes = sizeof ( *pNicDevice ); in DriverStart() 121 LengthInBytes, in DriverStart() 133 ZeroMem ( pNicDevice, LengthInBytes ); in DriverStart()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/I2c/Devices/MvEeprom/ |
D | MvEeprom.c | 146 RequestPacket->Operation[0].LengthInBytes = 2; in MvEepromTransfer() 147 …RequestPacket->Operation[0].Buffer = AllocateZeroPool ( RequestPacket->Operation[0].LengthInBytes … in MvEepromTransfer() 159 RequestPacket->Operation[1].LengthInBytes = BufferLength; in MvEepromTransfer()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Pi/ |
D | PiI2c.h | 276 UINT32 LengthInBytes; member
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/ |
D | DriverBinding.c | 124 UINTN LengthInBytes; in DriverStart() local 133 LengthInBytes = sizeof ( *pNicDevice ); in DriverStart() 136 LengthInBytes, in DriverStart() 148 ZeroMem ( pNicDevice, LengthInBytes ); in DriverStart()
|
D | SimpleNetwork.c | 480 UINTN LengthInBytes; in SN_Receive() local 512 LengthInBytes = MAX_BULKIN_SIZE; in SN_Receive() 522 &LengthInBytes, in SN_Receive() 526 if (LengthInBytes != 0 && !EFI_ERROR(Status) && !EFI_ERROR(TransferStatus) ){ in SN_Receive() 527 FillPkt2Queue(pSimpleNetwork, LengthInBytes); in SN_Receive()
|