Home
last modified time | relevance | path

Searched refs:bytesSent (Results 1 – 2 of 2) sorted by relevance

/system/chre/host/common/
Dsocket_client.cc89 ssize_t bytesSent = send(mSockFd, data, length, 0); in sendMessage() local
90 if (bytesSent < 0) { in sendMessage()
92 } else if (bytesSent == 0) { in sendMessage()
94 } else if (static_cast<size_t>(bytesSent) != length) { in sendMessage()
96 length, bytesSent); in sendMessage()
Dsocket_server.cc231 ssize_t bytesSent = send(clientSocket, data, length, 0); in sendToClientSocket() local
232 if (bytesSent < 0) { in sendToClientSocket()
235 } else if (bytesSent == 0) { in sendToClientSocket()
243 return (bytesSent > 0); in sendToClientSocket()