Searched defs:toread (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_4/ext/hash/ |
| H A D | hash.c | 422 long n, toread = 1024; local 424 if (length > 0 && toread > length) { 425 toread = length; 428 if ((n = php_stream_read(stream, buf, toread)) <= 0) {
|
| /PHP_5_4/ext/session/ |
| H A D | session.c | 342 size_t toread = PS(entropy_length); local 344 if (php_win32_get_random_bytes(rbuf, (size_t) toread) == SUCCESS){ 348 PHP_MD5Update(&md5_context, rbuf, toread); 351 PHP_SHA1Update(&sha1_context, rbuf, toread); 355 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
|
| /PHP_5_4/main/streams/ |
| H A D | streams.c | 710 size_t toread = 0, didread = 0; local 720 toread = stream->writepos - stream->readpos; 721 if (toread > size) { 722 toread = size; 725 memcpy(buf, stream->readbuf + stream->readpos, toread); 726 stream->readpos += toread; 727 size -= toread; 728 buf += toread; 729 didread += toread; 738 toread 965 size_t toread; local [all...] |
Completed in 10 milliseconds