/PHP-5.3/sapi/webjames/ |
H A D | webjames.c | 87 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 D | pi3web_sapi.c | 212 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 D | roxen.c | 390 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 D | capi.c | 198 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 D | nsapi.c | 593 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 D | sapi_apache2.c | 184 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 D | caudium.c | 398 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 D | php_tux.c | 161 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 D | mod_php5.c | 36 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 D | php5isapi.c | 327 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 D | fpm_main.c | 493 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 D | phttpd.c | 133 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 D | aolserver.c | 165 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 D | cgi_main.c | 490 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 D | SAPI.h | 235 int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC);
|
/PHP-5.3/sapi/thttpd/ |
H A D | thttpd.c | 248 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 D | mod_php5.c | 35 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 D | sapi_apache2.c | 156 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 D | lsapi_main.c | 289 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 D | php_milter.c | 872 static int sapi_milter_post_read(char *buf, uint count_bytes TSRMLS_DC) in sapi_milter_post_read()
|