Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 6 of 6) 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/network/netmgr/commands/
Dwifi_command.cpp122 size_t bytesRead = fread(buffer, 1, sizeof(buffer), in.get()); in writeConfig() local
123 if (bytesRead != sizeof(buffer) && ferror(in.get())) { in writeConfig()
128 size_t bytesWritten = fwrite(buffer, 1, bytesRead, out.get()); in writeConfig()
129 if (bytesWritten != bytesRead) { in writeConfig()
/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/radio/ril/
Dipv6_monitor.cpp357 ssize_t bytesRead = 0; in onReadAvailable() local
359 bytesRead = ::recv(mSocketFd, buffer, sizeof(buffer), 0); in onReadAvailable()
360 if (bytesRead < 0) { in onReadAvailable()
383 if (static_cast<size_t>(bytesRead) < sizeof(ip6_hdr) + sizeof(icmp6_hdr)) { in onReadAvailable()
421 if (nextOptLoc > buffer + bytesRead) { in onReadAvailable()
425 if (nextOptLoc < buffer + bytesRead) { in onReadAvailable()
/device/generic/goldfish/wifi/execns/
Dexecns.cpp104 size_t bytesRead = ::fread(buffer, 1, sizeof(buffer), file.get()); in readNamespacePid() local
105 if (bytesRead < sizeof(buffer) && feof(file.get())) { in readNamespacePid()
107 buffer[bytesRead] = '\0'; in readNamespacePid()
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanStreamGuest.h73 size_t bytesRead() const { return m_read; } in bytesRead() function