Searched refs:toread (Results 1 – 4 of 4) sorted by relevance
/PHP-5.3/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.3/main/streams/ |
H A D | streams.c | 651 toread = size; in _php_stream_read() 656 size -= toread; in _php_stream_read() 657 buf += toread; in _php_stream_read() 658 didread += toread; in _php_stream_read() 673 toread = size; in _php_stream_read() 676 if (toread > 0) { in _php_stream_read() 681 if (toread > 0) { in _php_stream_read() 682 didread += toread; in _php_stream_read() 683 buf += toread; in _php_stream_read() 684 size -= toread; in _php_stream_read() [all …]
|
/PHP-5.3/ext/hash/ |
H A D | hash.c | 414 long n, toread = 1024; in PHP_FUNCTION() local 416 if (length > 0 && toread > length) { in PHP_FUNCTION() 417 toread = length; in PHP_FUNCTION() 420 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
|
/PHP-5.3/ext/session/ |
H A D | session.c | 409 size_t toread = PS(entropy_length); in php_session_create_id() local 411 if (php_win32_get_random_bytes(rbuf, (size_t) toread) == SUCCESS){ in php_session_create_id() 415 PHP_MD5Update(&md5_context, rbuf, toread); in php_session_create_id() 418 PHP_SHA1Update(&sha1_context, rbuf, toread); in php_session_create_id() 422 PS(hash_ops)->hash_update(hash_context, rbuf, toread); in php_session_create_id()
|
Completed in 22 milliseconds