Lines Matching refs:chunk_size

294 	ret->chunk_size = FG(def_chunk_size);  in _php_stream_alloc()
543 size_t to_read_now = MIN(size, stream->chunk_size); in _php_stream_fill_read_buffer()
549 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer()
559 justread = stream->ops->read(stream, chunk_buf, stream->chunk_size); in _php_stream_fill_read_buffer()
650 if (stream->readbuf && stream->readbuflen - stream->writepos < stream->chunk_size) { in _php_stream_fill_read_buffer()
660 if (stream->readbuflen - stream->writepos < stream->chunk_size) { in _php_stream_fill_read_buffer()
661 stream->readbuflen += stream->chunk_size; in _php_stream_fill_read_buffer()
707 …am->readfilters.head && ((stream->flags & PHP_STREAM_FLAG_NO_BUFFER) || stream->chunk_size == 1)) { in _php_stream_read()
973 toread = stream->chunk_size; in _php_stream_get_line()
976 if (toread > stream->chunk_size) { in _php_stream_get_line()
977 toread = stream->chunk_size; in _php_stream_get_line()
1054 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record()
1387 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option()
1388 stream->chunk_size = value; in _php_stream_set_option()
1569 size_t chunk_size = (maxlen == 0 || maxlen > PHP_STREAM_MMAP_MAX) ? PHP_STREAM_MMAP_MAX : maxlen; in _php_stream_copy_to_stream_ex() local
1572 …p = php_stream_mmap_range(src, php_stream_tell(src), chunk_size, PHP_STREAM_MAP_MODE_SHARED_READON… in _php_stream_copy_to_stream_ex()
1598 if (mapped < chunk_size) { in _php_stream_copy_to_stream_ex()