Searched refs:nread (Results 1 – 3 of 3) sorted by relevance
499 int nread = 0; in parseStatusLine() local503 nread = readOneLine(is); in parseStatusLine()505 if (nread == -1) { in parseStatusLine()557 return nread; in parseStatusLine()569 int nread = 0; in parseHeader() local572 nread = readOneLine(is); in parseHeader()574 if (nread == -1) { in parseHeader()594 String headerValue = new String(buf, i, nread-1); in parseHeader()597 return nread; in parseHeader()606 int nread = 0; in readHeaders() local[all …]
278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode() local280 if (nread != bitcodeSize) in readBitcode()284 return nread; in readBitcode()
183 ssize_t nread = read(FD, buf, sizeof(buf)); in addFileToChecksum() local184 if (nread < 0) { // bail out on failed read in addFileToChecksum()189 checksum = adler32(checksum, (const unsigned char *) buf, nread); in addFileToChecksum()190 if (static_cast<size_t>(nread) < sizeof(buf)) // EOF in addFileToChecksum()