Lines Matching refs:nbytes
1853 + const unsigned char *buf, size_t nbytes)
1863 - size_t nbytes = b->flen;
2135 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
2141 mlen = (nbytes + 1) * sizeof(nbuf[0]);
3502 ssize_t nbytes = 0; /* number of bytes read from a datafile */
3600 - while ((r = sread(fd, (void *)&buf[nbytes],
3601 - (size_t)(ms->bytes_max - nbytes), 1)) > 0) {
3602 - nbytes += r;
3606 - if (nbytes == 0 && inname) {
3621 - if ((nbytes = read(fd, (char *)buf, howmany)) == -1) {
3629 + if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) {
3634 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */
3635 - if (file_buffer(ms, fd, inname, buf, (size_t)nbytes) == -1)
3636 + if (file_buffer(ms, stream, inname, buf, (size_t)nbytes) == -1)
4053 (uint32_t)nbytes, m) == -1)
4056 m->type, m->flag, offset, o, nbytes,