Home
last modified time | relevance | path

Searched refs:count_bytes (Results 1 – 20 of 20) sorted by relevance

/PHP-5.3/sapi/webjames/
H A Dwebjames.c87 static int sapi_webjames_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_webjames_read_post()
91 if (count_bytes+WG(bodyread)>WG(conn)->bodysize) count_bytes=WG(conn)->bodysize-WG(bodyread); in sapi_webjames_read_post()
92 memcpy(buffer, WG(conn)->body+WG(bodyread), count_bytes); in sapi_webjames_read_post()
93 WG(bodyread)+=count_bytes; in sapi_webjames_read_post()
94 return count_bytes; in sapi_webjames_read_post()
/PHP-5.3/sapi/pi3web/
H A Dpi3web_sapi.c212 static int sapi_pi3web_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_pi3web_read_post()
220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_pi3web_read_post()
224 if (read_from_buf<count_bytes in sapi_pi3web_read_post()
228 …read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_… in sapi_pi3web_read_post()
/PHP-5.3/sapi/roxen/
H A Droxen.c390 INLINE static int php_roxen_low_read_post(char *buf, uint count_bytes) in php_roxen_low_read_post() argument
404 push_int(count_bytes); in php_roxen_low_read_post()
417 php_roxen_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_roxen_sapi_read_post()
420 THREAD_SAFE_RUN(total_read = php_roxen_low_read_post(buf, count_bytes), "read post"); in php_roxen_sapi_read_post()
/PHP-5.3/sapi/continuity/
H A Dcapi.c198 static int sapi_capi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_capi_read_post()
204 max_read = MIN(count_bytes, SG(request_info).content_length); in sapi_capi_read_post()
208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); in sapi_capi_read_post()
/PHP-5.3/sapi/nsapi/
H A Dnsapi.c593 static int sapi_nsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_nsapi_read_post()
604 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post()
615 length = MIN(count_bytes, length); in sapi_nsapi_read_post()
627 while (content_length > 0 && bytes_read < count_bytes) { in sapi_nsapi_read_post()
628 int bytes_to_read = count_bytes - bytes_read; in sapi_nsapi_read_post()
/PHP-5.3/sapi/apache2handler/
H A Dsapi_apache2.c184 php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_apache_sapi_read_post()
193 len = count_bytes; in php_apache_sapi_read_post()
205 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post()
209 len = count_bytes - tlen; in php_apache_sapi_read_post()
/PHP-5.3/sapi/caudium/
H A Dcaudium.c398 INLINE static int php_caudium_low_read_post(char *buf, uint count_bytes) in php_caudium_low_read_post() argument
410 push_int(count_bytes); in php_caudium_low_read_post()
423 php_caudium_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_caudium_sapi_read_post()
426 THREAD_SAFE_RUN(total_read = php_caudium_low_read_post(buf, count_bytes), "read post"); in php_caudium_sapi_read_post()
/PHP-5.3/sapi/tux/
H A Dphp_tux.c161 static int sapi_tux_read_post(char *buffer, uint count_bytes) in sapi_tux_read_post() argument
167 TG(req)->objectlen = count_bytes; in sapi_tux_read_post()
/PHP-5.3/sapi/apache/
H A Dmod_php5.c36 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC);
125 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_apache_read_post()
142 while (total_read_bytes<count_bytes) { in sapi_apache_read_post()
144 read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes); in sapi_apache_read_post()
/PHP-5.3/sapi/isapi/
H A Dphp5isapi.c327 static int sapi_isapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_isapi_read_post()
335 read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_isapi_read_post()
339 if (read_from_buf<count_bytes in sapi_isapi_read_post()
343 …read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from… in sapi_isapi_read_post()
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_main.c493 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post()
498 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
499 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
518 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
520 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
/PHP-5.3/sapi/phttpd/
H A Dphttpd.c133 php_phttpd_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_phttpd_sapi_read_post()
/PHP-5.3/sapi/aolserver/
H A Daolserver.c165 php_ns_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_ns_sapi_read_post()
170 max_read = MIN(NSG(data_avail), count_bytes); in php_ns_sapi_read_post()
/PHP-5.3/sapi/cgi/
H A Dcgi_main.c490 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post()
495 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
496 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
499 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
501 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
/PHP-5.3/main/
H A DSAPI.h235 int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC);
/PHP-5.3/sapi/thttpd/
H A Dthttpd.c248 static int sapi_thttpd_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_thttpd_read_post()
253 read_bytes = MIN(TG(unconsumed_length), count_bytes); in sapi_thttpd_read_post()
/PHP-5.3/sapi/apache_hooks/
H A Dmod_php5.c35 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC);
270 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_apache_read_post()
287 while (total_read_bytes<count_bytes) { in sapi_apache_read_post()
289 read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes); in sapi_apache_read_post()
/PHP-5.3/sapi/apache2filter/
H A Dsapi_apache2.c156 php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_apache_sapi_read_post()
163 n = MIN(to_read, count_bytes); in php_apache_sapi_read_post()
/PHP-5.3/sapi/litespeed/
H A Dlsapi_main.c289 static int sapi_lsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_lsapi_read_post()
292 return LSAPI_ReadReqBody( buffer, count_bytes ); in sapi_lsapi_read_post()
/PHP-5.3/sapi/milter/
H A Dphp_milter.c872 static int sapi_milter_post_read(char *buf, uint count_bytes TSRMLS_DC) in sapi_milter_post_read()

Completed in 116 milliseconds