Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance
/device/generic/goldfish/network/netmgr/commands/ |
D | wifi_command.cpp | 122 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/dhcp/common/ |
D | socket.cpp | 247 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/ |
D | main.cpp | 87 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/ |
D | ipv6_monitor.cpp | 357 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/ |
D | execns.cpp | 104 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/ |
D | VulkanStreamGuest.h | 73 size_t bytesRead() const { return m_read; } in bytesRead() function
|