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

/PHP_5_6/ext/standard/
H A Dpassword.c137 size_t read_bytes = 0; local
140 while (read_bytes < raw_length) {
141 n = read(fd, buffer + read_bytes, raw_length - read_bytes);
145 read_bytes += (size_t) n;
149 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_5_6/sapi/apache/
H A Dmod_php5.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_5_6/sapi/apache_hooks/
H A Dmod_php5.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_5_6/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_5_6/main/
H A DSAPI.c253 int read_bytes; local
259 read_bytes = sapi_module.read_post(buffer, buflen TSRMLS_CC);
261 if (read_bytes > 0) {
263 SG(read_post_bytes) += read_bytes;
265 if (read_bytes < buflen) {
270 return read_bytes;
285 int read_bytes; local
290 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE TSRMLS_CC);
292 if (read_bytes > 0) {
293 php_stream_write(SG(request_info).request_body, buffer, read_bytes);
517 int read_bytes; local
[all...]
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_main.c500 uint read_bytes = 0; local
507 while (read_bytes < count_bytes) {
526 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
528 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
533 read_bytes += tmp_read_bytes;
535 return read_bytes;
/PHP_5_6/sapi/cgi/
H A Dcgi_main.c508 uint read_bytes = 0; local
512 while (read_bytes < count_bytes) {
513 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
517 read_bytes += tmp_read_bytes;
519 return read_bytes;
524 uint read_bytes = 0; local
532 while (read_bytes < count_bytes) {
533 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
[all...]
/PHP_5_6/ext/mcrypt/
H A Dmcrypt.c1427 size_t read_bytes = 0;
1435 while (read_bytes < size) {
1436 n = read(fd, iv + read_bytes, size - read_bytes);
1440 read_bytes += n;
1442 n = read_bytes;

Completed in 58 milliseconds