count_bytes 241 main/SAPI.h int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC); count_bytes 165 sapi/aolserver/aolserver.c php_ns_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 170 sapi/aolserver/aolserver.c max_read = MIN(NSG(data_avail), count_bytes); count_bytes 36 sapi/apache/mod_php5.c static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC); count_bytes 125 sapi/apache/mod_php5.c static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 142 sapi/apache/mod_php5.c while (total_read_bytes<count_bytes) { count_bytes 144 sapi/apache/mod_php5.c read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes); count_bytes 154 sapi/apache2filter/sapi_apache2.c php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 162 sapi/apache2filter/sapi_apache2.c len = count_bytes; count_bytes 164 sapi/apache2filter/sapi_apache2.c switch (apr_brigade_partition(ctx->post_data, count_bytes, &partition)) { count_bytes 184 sapi/apache2handler/sapi_apache2.c php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 193 sapi/apache2handler/sapi_apache2.c len = count_bytes; count_bytes 205 sapi/apache2handler/sapi_apache2.c if (tlen == count_bytes || !len) { count_bytes 209 sapi/apache2handler/sapi_apache2.c len = count_bytes - tlen; count_bytes 35 sapi/apache_hooks/mod_php5.c static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC); count_bytes 270 sapi/apache_hooks/mod_php5.c static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 287 sapi/apache_hooks/mod_php5.c while (total_read_bytes<count_bytes) { count_bytes 289 sapi/apache_hooks/mod_php5.c read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes); count_bytes 398 sapi/caudium/caudium.c INLINE static int php_caudium_low_read_post(char *buf, uint count_bytes) count_bytes 410 sapi/caudium/caudium.c push_int(count_bytes); count_bytes 423 sapi/caudium/caudium.c php_caudium_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 426 sapi/caudium/caudium.c THREAD_SAFE_RUN(total_read = php_caudium_low_read_post(buf, count_bytes), "read post"); count_bytes 507 sapi/cgi/cgi_main.c static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 512 sapi/cgi/cgi_main.c count_bytes = MIN(count_bytes, SG(request_info).content_length - SG(read_post_bytes)); count_bytes 513 sapi/cgi/cgi_main.c while (read_bytes < count_bytes) { count_bytes 514 sapi/cgi/cgi_main.c tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); count_bytes 523 sapi/cgi/cgi_main.c static int sapi_fcgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 530 sapi/cgi/cgi_main.c if (remaining < count_bytes) { count_bytes 531 sapi/cgi/cgi_main.c count_bytes = remaining; count_bytes 533 sapi/cgi/cgi_main.c while (read_bytes < count_bytes) { count_bytes 534 sapi/cgi/cgi_main.c tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); count_bytes 695 sapi/cli/php_cli_server.c static int sapi_cli_server_read_post(char *buf, uint count_bytes TSRMLS_DC) /* {{{ */ count_bytes 700 sapi/cli/php_cli_server.c size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_read_offset; count_bytes 198 sapi/continuity/capi.c static int sapi_capi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 204 sapi/continuity/capi.c max_read = MIN(count_bytes, SG(request_info).content_length); count_bytes 208 sapi/continuity/capi.c max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); count_bytes 499 sapi/fpm/fpm/fpm_main.c static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 505 sapi/fpm/fpm/fpm_main.c if (remaining < count_bytes) { count_bytes 506 sapi/fpm/fpm/fpm_main.c count_bytes = remaining; count_bytes 508 sapi/fpm/fpm/fpm_main.c while (read_bytes < count_bytes) { count_bytes 527 sapi/fpm/fpm/fpm_main.c tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); count_bytes 529 sapi/fpm/fpm/fpm_main.c tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); count_bytes 327 sapi/isapi/php5isapi.c static int sapi_isapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 335 sapi/isapi/php5isapi.c read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); count_bytes 339 sapi/isapi/php5isapi.c if (read_from_buf<count_bytes count_bytes 343 sapi/isapi/php5isapi.c read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from_buf); count_bytes 368 sapi/litespeed/lsapi_main.c static int sapi_lsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 371 sapi/litespeed/lsapi_main.c return LSAPI_ReadReqBody( buffer, (unsigned long long)count_bytes ); count_bytes 876 sapi/milter/php_milter.c static int sapi_milter_post_read(char *buf, uint count_bytes TSRMLS_DC) count_bytes 591 sapi/nsapi/nsapi.c static int sapi_nsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 602 sapi/nsapi/nsapi.c count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); count_bytes 613 sapi/nsapi/nsapi.c length = MIN(count_bytes, length); count_bytes 625 sapi/nsapi/nsapi.c while (content_length > 0 && bytes_read < count_bytes) { count_bytes 626 sapi/nsapi/nsapi.c int bytes_to_read = count_bytes - bytes_read; count_bytes 129 sapi/phttpd/phttpd.c php_phttpd_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 212 sapi/pi3web/pi3web_sapi.c static int sapi_pi3web_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 220 sapi/pi3web/pi3web_sapi.c read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); count_bytes 224 sapi/pi3web/pi3web_sapi.c if (read_from_buf<count_bytes count_bytes 228 sapi/pi3web/pi3web_sapi.c read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_buf); count_bytes 390 sapi/roxen/roxen.c INLINE static int php_roxen_low_read_post(char *buf, uint count_bytes) count_bytes 404 sapi/roxen/roxen.c push_int(count_bytes); count_bytes 417 sapi/roxen/roxen.c php_roxen_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) count_bytes 420 sapi/roxen/roxen.c THREAD_SAFE_RUN(total_read = php_roxen_low_read_post(buf, count_bytes), "read post"); count_bytes 248 sapi/thttpd/thttpd.c static int sapi_thttpd_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 253 sapi/thttpd/thttpd.c read_bytes = MIN(TG(unconsumed_length), count_bytes); count_bytes 161 sapi/tux/php_tux.c static int sapi_tux_read_post(char *buffer, uint count_bytes) count_bytes 167 sapi/tux/php_tux.c TG(req)->objectlen = count_bytes; count_bytes 87 sapi/webjames/webjames.c static int sapi_webjames_read_post(char *buffer, uint count_bytes TSRMLS_DC) count_bytes 91 sapi/webjames/webjames.c if (count_bytes+WG(bodyread)>WG(conn)->bodysize) count_bytes=WG(conn)->bodysize-WG(bodyread); count_bytes 92 sapi/webjames/webjames.c memcpy(buffer, WG(conn)->body+WG(bodyread), count_bytes); count_bytes 93 sapi/webjames/webjames.c WG(bodyread)+=count_bytes; count_bytes 94 sapi/webjames/webjames.c return count_bytes;