Lines Matching refs:nchread
434 int nchread = 0; /* Count how many bytes has been read. */ in read_() local
456 while (nchread < nchreq) { in read_()
485 m = nchreq - nchread; in read_()
520 nchread++; in read_()
541 nchread++; in read_()
556 nchread++; in read_()
559 return (nchread); in read_()
566 return (nchread); in read_()
580 nchread++; in read_()
586 return (nchread); in read_()
600 return (nchread + 1); in read_()
619 nchread++; in read_()
622 return (nchread); in read_()
629 int nchread; in read_() local
637 nchread = read(d, (char *)chbuf, nchreq); in read_()
643 if (nchread == 0) { in read_()
650 } else if (nchread < 0) { in read_()
659 for (i = 0, t = buf, s = chbuf; i < nchread; ++i) { in read_()
663 return (nchread); in read_()