Searched refs:cbBytesRead (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/r3/
H A Dsocket.cpp857 ssize_t cbBytesRead = recv(pThis->hNative, (char *)pvBuffer + cbRead, cbNow, MSG_NOSIGNAL); local
858 if (cbBytesRead <= 0)
861 Assert(RT_FAILURE_NP(rc) || cbBytesRead == 0);
877 *pcbRead = cbBytesRead;
882 cbRead += cbBytesRead;
926 ssize_t cbBytesRead = recvfrom(pThis->hNative, (char *)pvBuffer + cbRead, cbNow, MSG_NOSIGNAL, &u.Addr, &cbAddr); local
927 if (cbBytesRead <= 0)
930 Assert(RT_FAILURE_NP(rc) || cbBytesRead == 0);
941 *pcbRead = cbBytesRead;
/vbox/src/VBox/Devices/Storage/
H A DDrvVD.cpp895 ssize_t cbBytesRead = lwip_recv(pSocketInt->hSock, (char *)pvBuffer + cbRead, local
897 if (cbBytesRead < 0)
899 if (cbBytesRead == 0 && errno) /** @todo r=bird: lwip_recv will not touch errno on Windows. This may apply to other hosts as well */
904 *pcbRead = cbBytesRead;
909 cbRead += cbBytesRead;

Completed in 57 milliseconds