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

/PHP_5_6/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) {
41 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) argument
/PHP_5_6/ext/hash/
H A Dhash.c435 long n, toread = 1024; local
437 if (length > 0 && toread > length) {
438 toread = length;
441 if ((n = php_stream_read(stream, buf, toread)) <= 0) {
/PHP_5_6/main/streams/
H A Dstreams.c705 size_t toread = 0, didread = 0; local
715 toread = stream->writepos - stream->readpos;
716 if (toread > size) {
717 toread = size;
720 memcpy(buf, stream->readbuf + stream->readpos, toread);
721 stream->readpos += toread;
722 size -= toread;
723 buf += toread;
724 didread += toread;
733 toread
964 size_t toread; local
[all...]
/PHP_5_6/ext/session/
H A Dsession.c348 size_t toread = PS(entropy_length); local
350 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){
354 PHP_MD5Update(&md5_context, rbuf, toread);
357 PHP_SHA1Update(&sha1_context, rbuf, toread);
361 PS(hash_ops)->hash_update(hash_context, rbuf, toread);

Completed in 15 milliseconds