Searched refs:bytesread (Results 1 - 2 of 2) sorted by last modified time

/system/netd/server/
H A DSockDiag.cpp56 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); local
57 if (bytesread == -1) {
60 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) {
207 ssize_t bytesread; local
209 bytesread = read(mSock, buf, sizeof(buf));
211 if (bytesread < 0) {
215 uint32_t len = bytesread;
234 } while (bytesread > 0);
/system/core/libpackagelistparser/
H A Dpackagelistparser.c99 ssize_t bytesread; local
115 while ((bytesread = getline(&buf, &buflen, fp)) > 0) {

Completed in 81 milliseconds