Lines Matching defs:nread
398 int nread;
410 nread = read(h->sd, readbuf, sizeof(readbuf));
411 if (nread < 0)
413 if (nread == 0) {
453 if (nread == 0)
459 nread--;
511 if (nread == 0)
518 if (h->body_alloc_nbytes < (h->body_nbytes + nread + 1)) {
604 if (nread <= 0)
616 nread--;
622 ncopy = nread;
625 if (ncopy > nread)
626 ncopy = nread;
631 nread -= ncopy;
644 if (nread <= 0)
647 nread--;