Searched defs:toread (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_3/ext/hash/ |
| H A D | hash.c | 414 long n, toread = 1024; local 416 if (length > 0 && toread > length) { 417 toread = length; 420 if ((n = php_stream_read(stream, buf, toread)) <= 0) {
|
| /PHP_5_3/ext/session/ |
| H A D | session.c | 408 size_t toread = PS(entropy_length); local 410 if (php_win32_get_random_bytes(rbuf, (size_t) toread) == SUCCESS){ 414 PHP_MD5Update(&md5_context, rbuf, toread); 417 PHP_SHA1Update(&sha1_context, rbuf, toread); 421 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
|
| /PHP_5_3/main/streams/ |
| H A D | streams.c | 639 size_t toread = 0, didread = 0; local 649 toread = stream->writepos - stream->readpos; 650 if (toread > size) { 651 toread = size; 654 memcpy(buf, stream->readbuf + stream->readpos, toread); 655 stream->readpos += toread; 656 size -= toread; 657 buf += toread; 658 didread += toread; 667 toread 894 size_t toread; local [all...] |
Completed in 10 milliseconds