/haiku/src/kits/network/libnetapi/ |
H A D | DatagramSocket.cpp | 109 ssize_t bytesReceived = recvfrom(fSocket, buffer, bufferSize, 0, in ReceiveFrom() local 111 if (bytesReceived < 0) in ReceiveFrom() 114 return bytesReceived; in ReceiveFrom() 124 ssize_t bytesReceived = recv(Socket(), buffer, size, 0); in Read() local 125 if (bytesReceived < 0) { in Read() 130 return bytesReceived; in Read()
|
H A D | NetEndpoint.cpp | 517 ssize_t bytesReceived = recv(fSocket, buffer, length, flags); in Receive() local 518 if (bytesReceived < 0) in Receive() 521 return bytesReceived; in Receive() 529 ssize_t bytesReceived = Receive(chunk.Data(), length, flags); in Receive() local 530 if (bytesReceived > 0) in Receive() 531 buffer.AppendData(chunk.Data(), bytesReceived); in Receive() 532 return bytesReceived; in Receive() 549 ssize_t bytesReceived = recvfrom(fSocket, buffer, length, flags, in ReceiveFrom() local 551 if (bytesReceived < 0) in ReceiveFrom() 556 return bytesReceived; in ReceiveFrom() [all …]
|
H A D | Socket.cpp | 84 ssize_t bytesReceived = recv(Socket(), buffer, size, 0); in Read() local 85 if (bytesReceived < 0) { in Read() 90 return bytesReceived; in Read()
|
/haiku/src/system/boot/loader/net/ |
H A D | Ethernet.cpp | 182 ssize_t bytesReceived = fInterface->Receive(fReceiveBuffer, in ProcessIncomingPackets() local 184 if (bytesReceived < 0) in ProcessIncomingPackets() 188 if (bytesReceived in ProcessIncomingPackets() 190 || bytesReceived in ProcessIncomingPackets() 205 bytesReceived - (ssize_t)sizeof(ether_header))); in ProcessIncomingPackets() 214 bytesReceived - sizeof(ether_header)); in ProcessIncomingPackets()
|
/haiku/src/tests/system/network/ |
H A D | udp_connect.cpp | 71 ssize_t bytesReceived = recv(fd, buffer, sizeof(buffer), 0); in main() local 72 if (bytesReceived > 0) { in main() 73 buffer[bytesReceived] = 0; in main()
|
/haiku/src/kits/network/libnetservices/ |
H A D | UrlProtocolAsynchronousListener.cpp | 116 off_t bytesReceived; in MessageReceived() local 118 message->FindInt64("url:bytesReceived", &bytesReceived); in MessageReceived() 121 DownloadProgress(caller, bytesReceived, bytesTotal); in MessageReceived()
|
H A D | UrlSynchronousRequest.cpp | 93 off_t bytesReceived, off_t bytesTotal) in DownloadProgress() argument 96 ")\n", bytesReceived, bytesTotal)); in DownloadProgress()
|
H A D | UrlProtocolDispatchingListener.cpp | 94 off_t bytesReceived, off_t bytesTotal) in DownloadProgress() argument 97 message.AddInt64("url:bytesReceived", bytesReceived); in DownloadProgress()
|
H A D | HttpRequest.cpp | 607 off_t bytesReceived = 0; in _MakeRequest() local 634 if (bytesTotal > 0 && bytesReceived != bytesTotal) { in _MakeRequest() 796 bytesReceived += bytesRead; in _MakeRequest() 830 fListener->DownloadProgress(this, bytesReceived, in _MakeRequest() 833 if (bytesTotal >= 0 && bytesReceived >= bytesTotal) in _MakeRequest()
|
/haiku/src/kits/package/ |
H A D | FetchFileJob.cpp | 143 FetchFileJob::DownloadProgress(BUrlRequest*, off_t bytesReceived, in DownloadProgress() argument 147 fBytes = bytesReceived; in DownloadProgress() 149 fDownloadProgress = (float)bytesReceived/bytesTotal; in DownloadProgress()
|
H A D | FetchFileJob.h | 55 off_t bytesReceived, off_t bytesTotal);
|
/haiku/src/system/libnetwork/ |
H A D | socket.cpp | 261 ssize_t bytesReceived = _kern_recvfrom(socket, data, length, flags, in recvfrom() local 266 if (bytesReceived < 0) { in recvfrom() 267 errno = bytesReceived; in recvfrom() 278 return bytesReceived; in recvfrom()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | RemoteDisk.cpp | 423 ssize_t bytesReceived = recvfrom(fSocket, receiveBuffer, in _SendRequest() local 426 if (bytesReceived < 0) { in _SendRequest() 438 if (bytesReceived >= (ssize_t)sizeof(remote_disk_header)) { in _SendRequest() 442 *_bytesReceived = bytesReceived; in _SendRequest()
|
H A D | RemoteDisk.h | 55 int32* bytesReceived);
|
/haiku/headers/private/netservices/ |
H A D | UrlSynchronousRequest.h | 36 off_t bytesReceived, off_t bytesTotal);
|
H A D | UrlProtocolListener.h | 46 off_t bytesReceived, off_t bytesTotal);
|
H A D | UrlProtocolDispatchingListener.h | 57 off_t bytesReceived, off_t bytesTotal);
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | POP3.cpp | 737 int32 bytesReceived; in ReceiveLine() local 740 bytesReceived = fServerConnection->Read((char*)&c, 1); in ReceiveLine() 741 if (bytesReceived < 0) in ReceiveLine() 742 return bytesReceived; in ReceiveLine() 744 if (c == '\n' || bytesReceived == 0) in ReceiveLine()
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | PPPControl.h | 247 int64 bytesReceived, packetsReceived; member
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | net_socket.cpp | 1193 const size_t bytesReceived = buffer->size; in socket_receive() local 1196 size_t toRead = min_c(bytesReceived, length); in socket_receive() 1211 for (int i = 1; i < header->msg_iovlen && bytesCopied < bytesReceived; i++) { in socket_receive() 1213 toRead = min_c(bytesReceived - bytesCopied, vec.iov_len); in socket_receive() 1230 if (bytesCopied < bytesReceived) { in socket_receive() 1235 return bytesReceived; in socket_receive()
|
/haiku/src/bin/network/ppp_up/ |
H A D | PPPStatusView.cpp | 165 text << statistics.bytesReceived << ' ' << kTextBytes; in Pulse()
|
/haiku/src/servers/net/ |
H A D | DHCPClient.cpp | 740 ssize_t bytesReceived = recvfrom(socket, buffer, sizeof(buffer), in _StateTransition() local 742 if (bytesReceived < 0 && errno == B_TIMED_OUT) { in _StateTransition() 748 } else if (bytesReceived < 0) in _StateTransition()
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 471 ssize_t bytesReceived = buffer->size; in socket_recv() local 472 gNetBufferModule.read(buffer, 0, data, bytesReceived); in socket_recv() 475 return bytesReceived; in socket_recv()
|
/haiku/src/apps/haikudepot/server/ |
H A D | WebAppInterface.cpp | 70 virtual void DownloadProgress(BUrlRequest* caller, off_t bytesReceived, off_t bytesTotal) in DownloadProgress() argument
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPInterface.cpp | 1802 atomic_add64(&fStatistics.bytesReceived, length); in ReceiveFromDevice()
|