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

/PHP_5_4/ext/standard/
H A Dphp_fopen_wrapper.c75 size_t read_bytes = 0; local
79 read_bytes = SG(request_info).raw_post_data_length - *position;
80 if (read_bytes <= count) {
83 read_bytes = count;
85 if (read_bytes) {
86 memcpy(buf, SG(request_info).raw_post_data + *position, read_bytes);
89 read_bytes = sapi_module.read_post(buf, count TSRMLS_CC);
90 if (read_bytes <= 0) {
92 read_bytes = 0;
95 SG(read_post_bytes) += read_bytes;
[all...]
/PHP_5_4/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_4/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_4/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
529 while (read_bytes < count_bytes) {
530 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
[all...]
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c499 uint read_bytes = 0; local
503 while (read_bytes < count_bytes) {
522 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
524 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
529 read_bytes += tmp_read_bytes;
531 return read_bytes;
/PHP_5_4/ext/mcrypt/
H A Dmcrypt.c1403 size_t read_bytes = 0;
1411 while (read_bytes < size) {
1412 n = read(fd, iv + read_bytes, size - read_bytes);
1416 read_bytes += n;
1418 n = read_bytes;
/PHP_5_4/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_4/main/
H A DSAPI.c262 int read_bytes; local
273 read_bytes = sapi_module.read_post(SG(request_info).post_data+SG(read_post_bytes), SAPI_POST_BLOCK_SIZE TSRMLS_CC);
274 if (read_bytes<=0) {
277 SG(read_post_bytes) += read_bytes;
282 if (read_bytes < SAPI_POST_BLOCK_SIZE) {
510 int read_bytes; local
512 while((read_bytes = sapi_module.read_post(dummy, sizeof(dummy)-1 TSRMLS_CC)) > 0) {
513 SG(read_post_bytes) += read_bytes;

Completed in 34 milliseconds