Home
last modified time | relevance | path

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

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