Home
last modified time | relevance | path

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

/PHP-5.5/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.5/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.5/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.5/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.5/sapi/nsapi/
H A Dnsapi.c591 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.5/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.5/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.5/sapi/cgi/
H A Dcgi_main.c506 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post()
511 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
512 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
513 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
522 static int sapi_fcgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_fcgi_read_post()
528 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_fcgi_read_post()
529 while (read_bytes < count_bytes) { in sapi_fcgi_read_post()
530 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_fcgi_read_post()
/PHP-5.5/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.5/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.5/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.5/sapi/fpm/fpm/
H A Dfpm_main.c497 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post()
502 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
503 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
522 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
524 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
/PHP-5.5/sapi/phttpd/
H A Dphttpd.c129 php_phttpd_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC) in php_phttpd_sapi_read_post()
/PHP-5.5/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.5/main/
H A DSAPI.h238 int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC);
/PHP-5.5/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.5/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.5/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.5/sapi/litespeed/
H A Dlsapi_main.c368 static int sapi_lsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_lsapi_read_post()
371 return LSAPI_ReadReqBody( buffer, (unsigned long long)count_bytes ); in sapi_lsapi_read_post()
/PHP-5.5/sapi/milter/
H A Dphp_milter.c876 static int sapi_milter_post_read(char *buf, uint count_bytes TSRMLS_DC) in sapi_milter_post_read()
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c694 static int sapi_cli_server_read_post(char *buf, uint count_bytes TSRMLS_DC) /* {{{ */ in sapi_cli_server_read_post()
699 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()

Completed in 97 milliseconds