Searched refs:toread (Results 1 – 4 of 4) sorted by relevance
/PHP-7.0/ext/zip/lib/ |
H A D | zip_fread.c | 39 zip_fread(zip_file_t *zf, void *outbuf, zip_uint64_t toread) in zip_fread() argument 49 if (toread > ZIP_INT64_MAX) { in zip_fread() 54 if ((zf->eof) || (toread == 0)) in zip_fread() 57 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) { in zip_fread()
|
/PHP-7.0/main/streams/ |
H A D | streams.c | 700 toread = size; in _php_stream_read() 705 size -= toread; in _php_stream_read() 706 buf += toread; in _php_stream_read() 707 didread += toread; in _php_stream_read() 726 toread = size; in _php_stream_read() 729 if (toread > 0) { in _php_stream_read() 734 if (toread > 0) { in _php_stream_read() 735 didread += toread; in _php_stream_read() 736 buf += toread; in _php_stream_read() 737 size -= toread; in _php_stream_read() [all …]
|
/PHP-7.0/ext/hash/ |
H A D | hash.c | 442 zend_long n, toread = 1024; in PHP_FUNCTION() local 444 if (length > 0 && toread > length) { in PHP_FUNCTION() 445 toread = length; in PHP_FUNCTION() 448 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
|
/PHP-7.0/ext/session/ |
H A D | session.c | 365 size_t toread = PS(entropy_length); in php_session_create_id() local 367 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ in php_session_create_id() 371 PHP_MD5Update(&md5_context, rbuf, toread); in php_session_create_id() 374 PHP_SHA1Update(&sha1_context, rbuf, toread); in php_session_create_id() 378 PS(hash_ops)->hash_update(hash_context, rbuf, toread); in php_session_create_id()
|
Completed in 21 milliseconds