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

/PHP_5_3/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_3/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_3/main/
H A DSAPI.c197 int read_bytes; local
208 read_bytes = sapi_module.read_post(SG(request_info).post_data+SG(read_post_bytes), SAPI_POST_BLOCK_SIZE TSRMLS_CC);
209 if (read_bytes<=0) {
212 SG(read_post_bytes) += read_bytes;
217 if (read_bytes < SAPI_POST_BLOCK_SIZE) {
421 int read_bytes; local
423 while((read_bytes = sapi_module.read_post(dummy, sizeof(dummy)-1 TSRMLS_CC)) > 0) {
424 SG(read_post_bytes) += read_bytes;
/PHP_5_3/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_3/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_3/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_3/sapi/cgi/
H A Dcgi_main.c492 uint read_bytes = 0; local
496 while (read_bytes < count_bytes) {
499 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
501 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
506 read_bytes += tmp_read_bytes;
508 return read_bytes;
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c495 uint read_bytes = 0; local
499 while (read_bytes < count_bytes) {
518 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
520 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
525 read_bytes += tmp_read_bytes;
527 return read_bytes;

Completed in 24 milliseconds