Searched refs:bytes_to_read (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c625 int bytes_to_read = count_bytes - bytes_read; local
627 if (content_length < bytes_to_read) {
628 bytes_to_read = content_length;
631 length = net_read(rc->sn->csd, read_ptr, bytes_to_read, NSAPI_G(read_timeout));
/PHP_TRUNK/main/
H A Drfc1867.c247 int bytes_to_read, total_read = 0, actual_read = 0; local
257 bytes_to_read = self->bufsize - self->bytes_in_buffer;
260 while (bytes_to_read > 0) {
264 actual_read = (int)sapi_module.read_post(buf, bytes_to_read TSRMLS_CC);
271 bytes_to_read -= actual_read;

Completed in 6 milliseconds