Searched refs:toread (Results 1 – 4 of 4) sorted by relevance
/PHP-5.6/ext/zip/lib/ |
H A D | zip_fread.c | 41 zip_fread(struct zip_file *zf, void *outbuf, zip_uint64_t toread) in zip_fread() argument 51 if (toread > ZIP_INT64_MAX) { in zip_fread() 56 if ((zf->eof) || (toread == 0)) in zip_fread() 59 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) { in zip_fread()
|
/PHP-5.6/main/streams/ |
H A D | streams.c | 717 toread = size; in _php_stream_read() 722 size -= toread; in _php_stream_read() 723 buf += toread; in _php_stream_read() 724 didread += toread; in _php_stream_read() 743 toread = size; in _php_stream_read() 746 if (toread > 0) { in _php_stream_read() 751 if (toread > 0) { in _php_stream_read() 752 didread += toread; in _php_stream_read() 753 buf += toread; in _php_stream_read() 754 size -= toread; in _php_stream_read() [all …]
|
/PHP-5.6/ext/hash/ |
H A D | hash.c | 440 long n, toread = 1024; in PHP_FUNCTION() local 442 if (length > 0 && toread > length) { in PHP_FUNCTION() 443 toread = length; in PHP_FUNCTION() 446 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
|
/PHP-5.6/ext/session/ |
H A D | session.c | 351 size_t toread = PS(entropy_length); in php_session_create_id() local 353 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ in php_session_create_id() 357 PHP_MD5Update(&md5_context, rbuf, toread); in php_session_create_id() 360 PHP_SHA1Update(&sha1_context, rbuf, toread); in php_session_create_id() 364 PS(hash_ops)->hash_update(hash_context, rbuf, toread); in php_session_create_id()
|
Completed in 22 milliseconds