Searched refs:numRead (Results 1 – 2 of 2) sorted by relevance
51 int numRead = 0; in readFully() local52 while (numRead < numBytes) { in readFully()53 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully()57 numRead += readNow; in readFully()
69 ssize_t numRead = TEMP_FAILURE_RETRY(read(fd, p, remaining)); in fileGetContents() local70 if (numRead <= 0) { in fileGetContents()75 p += numRead; in fileGetContents()76 remaining -= numRead; in fileGetContents()