/PHP-5.6/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.6/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.6/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.6/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.6/sapi/nsapi/ |
H A D | nsapi.c | 591 static int sapi_nsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_nsapi_read_post() 602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post() 613 length = MIN(count_bytes, length); in sapi_nsapi_read_post() 625 while (content_length > 0 && bytes_read < count_bytes) { in sapi_nsapi_read_post() 626 int bytes_to_read = count_bytes - bytes_read; in sapi_nsapi_read_post()
|
/PHP-5.6/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.6/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.6/sapi/cgi/ |
H A D | cgi_main.c | 511 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post() 516 count_bytes = MIN(count_bytes, SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post() 517 while (read_bytes < count_bytes) { in sapi_cgi_read_post() 518 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post() 527 static int sapi_fcgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_fcgi_read_post() 534 if (remaining < count_bytes) { in sapi_fcgi_read_post() 535 count_bytes = remaining; in sapi_fcgi_read_post() 537 while (read_bytes < count_bytes) { in sapi_fcgi_read_post() 538 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_fcgi_read_post()
|
/PHP-5.6/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.6/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.6/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.6/sapi/fpm/fpm/ |
H A D | fpm_main.c | 499 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post() 505 if (remaining < count_bytes) { in sapi_cgi_read_post() 506 count_bytes = remaining; in sapi_cgi_read_post() 508 while (read_bytes < count_bytes) { in sapi_cgi_read_post() 527 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post() 529 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
|
/PHP-5.6/sapi/apache2filter/ |
H A D | sapi_apache2.c | 154 php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_apache_sapi_read_post() 162 len = count_bytes; in php_apache_sapi_read_post() 164 switch (apr_brigade_partition(ctx->post_data, count_bytes, &partition)) { in php_apache_sapi_read_post()
|
/PHP-5.6/sapi/phttpd/ |
H A D | phttpd.c | 129 php_phttpd_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_phttpd_sapi_read_post()
|
/PHP-5.6/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.6/main/ |
H A D | SAPI.h | 241 int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC);
|
/PHP-5.6/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.6/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.6/sapi/litespeed/ |
H A D | lsapi_main.c | 421 static size_t sapi_lsapi_read_post(char *buffer, size_t count_bytes TSRMLS_DC) in sapi_lsapi_read_post() 423 static int sapi_lsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_lsapi_read_post() 427 return LSAPI_ReadReqBody( buffer, (unsigned long long)count_bytes ); in sapi_lsapi_read_post()
|
/PHP-5.6/sapi/milter/ |
H A D | php_milter.c | 876 static int sapi_milter_post_read(char *buf, uint count_bytes TSRMLS_DC) in sapi_milter_post_read()
|
/PHP-5.6/sapi/cli/ |
H A D | php_cli_server.c | 695 static int sapi_cli_server_read_post(char *buf, uint count_bytes TSRMLS_DC) /* {{{ */ in sapi_cli_server_read_post() 700 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()
|