Searched refs:toread (Results 1 - 4 of 4) sorted by relevance

/PHP_5_4/ext/zip/lib/
H A Dzip_fread.c43 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread)
53 if (toread > ZIP_INT64_MAX) {
58 if ((zf->eof) || (toread == 0))
61 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
/PHP_5_4/ext/hash/
H A Dhash.c422 long n, toread = 1024; local
424 if (length > 0 && toread > length) {
425 toread = length;
428 if ((n = php_stream_read(stream, buf, toread)) <= 0) {
/PHP_5_4/ext/session/
H A Dsession.c342 size_t toread = PS(entropy_length); local
344 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){
348 PHP_MD5Update(&md5_context, rbuf, toread);
351 PHP_SHA1Update(&sha1_context, rbuf, toread);
355 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
/PHP_5_4/main/streams/
H A Dstreams.c710 size_t toread = 0, didread = 0; local
720 toread = stream->writepos - stream->readpos;
721 if (toread > size) {
722 toread = size;
725 memcpy(buf, stream->readbuf + stream->readpos, toread);
726 stream->readpos += toread;
727 size -= toread;
728 buf += toread;
729 didread += toread;
738 toread
969 size_t toread; local
[all...]

Completed in 13 milliseconds