Lines Matching refs:nbytes
2603 ssize_t nbytes = 0; /* number of bytes read from a datafile */
2703 - while ((r = sread(fd, (void *)&buf[nbytes],
2704 - (size_t)(HOWMANY - nbytes), 1)) > 0) {
2705 - nbytes += r;
2709 - if (nbytes == 0) {
2724 - if ((nbytes = read(fd, (char *)buf, howmany)) == -1) {
2732 + if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) {
2737 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */
2738 - if (file_buffer(ms, fd, inname, buf, (size_t)nbytes) == -1)
2739 + if (file_buffer(ms, stream, inname, buf, (size_t)nbytes) == -1)
3444 - if (bytecnt == 0 || bytecnt > nbytes - offset)
3445 - bytecnt = nbytes - offset;
3450 + if (bytecnt > nbytes) {
3451 + bytecnt = nbytes;
3465 m->type, m->flag, offset, o, nbytes,