Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkCommands.cpp120 ssize_t bytesread; in processNetlinkDump() local
122 bytesread = read(sock, buf, sizeof(buf)); in processNetlinkDump()
124 if (bytesread < 0) { in processNetlinkDump()
128 uint32_t len = bytesread; in processNetlinkDump()
143 } while (bytesread > 0); in processNetlinkDump()
DSockDiag.cpp58 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError() local
59 if (bytesread == -1) { in checkError()
62 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()
/system/core/libpackagelistparser/
Dpackagelistparser.c98 ssize_t bytesread; in packagelist_parse() local
114 while ((bytesread = getline(&buf, &buflen, fp)) > 0) { in packagelist_parse()