toread 440 ext/hash/hash.c long n, toread = 1024; toread 442 ext/hash/hash.c if (length > 0 && toread > length) { toread 443 ext/hash/hash.c toread = length; toread 446 ext/hash/hash.c if ((n = php_stream_read(stream, buf, toread)) <= 0) { toread 351 ext/session/session.c size_t toread = PS(entropy_length); toread 353 ext/session/session.c if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ toread 357 ext/session/session.c PHP_MD5Update(&md5_context, rbuf, toread); toread 360 ext/session/session.c PHP_SHA1Update(&sha1_context, rbuf, toread); toread 364 ext/session/session.c PS(hash_ops)->hash_update(hash_context, rbuf, toread); toread 41 ext/zip/lib/zip_fread.c zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) toread 51 ext/zip/lib/zip_fread.c if (toread > ZIP_INT64_MAX) { toread 56 ext/zip/lib/zip_fread.c if ((zf->eof) || (toread == 0)) toread 59 ext/zip/lib/zip_fread.c if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) { toread 705 main/streams/streams.c size_t toread = 0, didread = 0; toread 715 main/streams/streams.c toread = stream->writepos - stream->readpos; toread 716 main/streams/streams.c if (toread > size) { toread 717 main/streams/streams.c toread = size; toread 720 main/streams/streams.c memcpy(buf, stream->readbuf + stream->readpos, toread); toread 721 main/streams/streams.c stream->readpos += toread; toread 722 main/streams/streams.c size -= toread; toread 723 main/streams/streams.c buf += toread; toread 724 main/streams/streams.c didread += toread; toread 733 main/streams/streams.c toread = stream->ops->read(stream, buf, size TSRMLS_CC); toread 734 main/streams/streams.c if (toread == (size_t) -1) { toread 741 main/streams/streams.c toread = stream->writepos - stream->readpos; toread 742 main/streams/streams.c if (toread > size) { toread 743 main/streams/streams.c toread = size; toread 746 main/streams/streams.c if (toread > 0) { toread 747 main/streams/streams.c memcpy(buf, stream->readbuf + stream->readpos, toread); toread 748 main/streams/streams.c stream->readpos += toread; toread 751 main/streams/streams.c if (toread > 0) { toread 752 main/streams/streams.c didread += toread; toread 753 main/streams/streams.c buf += toread; toread 754 main/streams/streams.c size -= toread; toread 964 main/streams/streams.c size_t toread; toread 967 main/streams/streams.c toread = stream->chunk_size; toread 969 main/streams/streams.c toread = maxlen - 1; toread 970 main/streams/streams.c if (toread > stream->chunk_size) { toread 971 main/streams/streams.c toread = stream->chunk_size; toread 975 main/streams/streams.c php_stream_fill_read_buffer(stream, toread);