Searched defs:read_bytes (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c502 uint read_bytes = 0; local
509 while (read_bytes < count_bytes) {
528 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
530 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
535 read_bytes += tmp_read_bytes;
537 return read_bytes;
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c127 int total_read_bytes=0, read_bytes; local
144 read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes);
146 if (read_bytes<=0) {
149 total_read_bytes += read_bytes;
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c272 uint total_read_bytes=0, read_bytes; local
289 read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes);
291 if (read_bytes<=0) {
294 total_read_bytes += read_bytes;
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c250 size_t read_bytes = 0; local
253 read_bytes = MIN(TG(unconsumed_length), count_bytes);
254 memcpy(buffer, TG(hc)->read_buf + TG(hc)->checked_idx, read_bytes);
255 TG(unconsumed_length) -= read_bytes;
256 CONSUME_BYTES(read_bytes);
259 return read_bytes;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c510 size_t read_bytes = 0; local
519 while (read_bytes < count_bytes) {
520 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
524 read_bytes += tmp_read_bytes;
526 return read_bytes;
531 size_t read_bytes = 0; local
539 while (read_bytes < count_bytes) {
540 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
[all...]
/PHP_TRUNK/ext/standard/
H A Dpassword.c136 size_t read_bytes = 0; local
139 while (read_bytes < raw_length) {
140 n = read(fd, buffer + read_bytes, raw_length - read_bytes);
144 read_bytes += (size_t) n;
148 if (read_bytes >= raw_length) {
H A Dphp_fopen_wrapper.c85 int read_bytes = sapi_read_post_block(buf, count TSRMLS_CC); local
87 if (read_bytes > 0) {
89 php_stream_write(input->body, buf, read_bytes);
/PHP_TRUNK/main/
H A Drfc1867.c663 int total_bytes=0, read_bytes=0; local
665 while((read_bytes = multipart_buffer_read(self, buf, sizeof(buf), NULL TSRMLS_CC))) {
666 out = erealloc(out, total_bytes + read_bytes + 1);
667 memcpy(out + total_bytes, buf, read_bytes);
668 total_bytes += read_bytes;
H A DSAPI.c249 int read_bytes; local
255 read_bytes = (int)sapi_module.read_post(buffer, buflen TSRMLS_CC);
257 if (read_bytes > 0) {
259 SG(read_post_bytes) += read_bytes;
261 if (read_bytes < buflen) {
266 return read_bytes;
281 int read_bytes; local
286 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE TSRMLS_CC);
288 if (read_bytes > 0) {
289 php_stream_write(SG(request_info).request_body, buffer, read_bytes);
513 int read_bytes; local
[all...]

Completed in 18 milliseconds