Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/dhcp/common/
Dsocket.cpp247 ssize_t bytesRead = ::recvmsg(mSocketFd, &header, 0); in receiveFromInterface() local
248 if (bytesRead < 0) { in receiveFromInterface()
251 message->setSize(static_cast<size_t>(bytesRead)); in receiveFromInterface()
281 ssize_t bytesRead = ::readv(mSocketFd, iov, 3); in receiveRawUdp() local
282 if (bytesRead < 0) { in receiveRawUdp()
285 if (static_cast<size_t>(bytesRead) < sizeof(ip) + sizeof(udp)) { in receiveRawUdp()
295 message->setSize(bytesRead - sizeof(ip) - sizeof(udp)); in receiveRawUdp()
/device/generic/goldfish/tnc/
Dmain.cpp87 ssize_t bytesRead = recvfrom(fd, buffer, sizeof(buffer), 0, in runServer() local
90 if (bytesRead < 0) { in runServer()
97 } else if (bytesRead == 0) { in runServer()
103 static_cast<int>(bytesRead), buffer); in runServer()
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanStreamGuest.h98 size_t bytesRead() const { return m_read; } in bytesRead() function