Searched refs:toread (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/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.4/main/streams/ |
H A D | streams.c | 722 toread = size; in _php_stream_read() 727 size -= toread; in _php_stream_read() 728 buf += toread; in _php_stream_read() 729 didread += toread; in _php_stream_read() 748 toread = size; in _php_stream_read() 751 if (toread > 0) { in _php_stream_read() 756 if (toread > 0) { in _php_stream_read() 757 didread += toread; in _php_stream_read() 758 buf += toread; in _php_stream_read() 759 size -= toread; in _php_stream_read() [all …]
|
/PHP-5.4/ext/hash/ |
H A D | hash.c | 427 long n, toread = 1024; in PHP_FUNCTION() local 429 if (length > 0 && toread > length) { in PHP_FUNCTION() 430 toread = length; in PHP_FUNCTION() 433 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
|
/PHP-5.4/ext/session/ |
H A D | session.c | 345 size_t toread = PS(entropy_length); in php_session_create_id() local 347 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ in php_session_create_id() 351 PHP_MD5Update(&md5_context, rbuf, toread); in php_session_create_id() 354 PHP_SHA1Update(&sha1_context, rbuf, toread); in php_session_create_id() 358 PS(hash_ops)->hash_update(hash_context, rbuf, toread); in php_session_create_id()
|
Completed in 25 milliseconds