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

/PHP_5_3/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_3/ext/hash/
H A Dhash.c414 long n, toread = 1024; local
416 if (length > 0 && toread > length) {
417 toread = length;
420 if ((n = php_stream_read(stream, buf, toread)) <= 0) {
/PHP_5_3/ext/session/
H A Dsession.c408 size_t toread = PS(entropy_length); local
410 if (php_win32_get_random_bytes(rbuf, (size_t) toread) == SUCCESS){
414 PHP_MD5Update(&md5_context, rbuf, toread);
417 PHP_SHA1Update(&sha1_context, rbuf, toread);
421 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
/PHP_5_3/main/streams/
H A Dstreams.c639 size_t toread = 0, didread = 0; local
649 toread = stream->writepos - stream->readpos;
650 if (toread > size) {
651 toread = size;
654 memcpy(buf, stream->readbuf + stream->readpos, toread);
655 stream->readpos += toread;
656 size -= toread;
657 buf += toread;
658 didread += toread;
667 toread
894 size_t toread; local
[all...]

Completed in 9 milliseconds