Searched defs:count_bytes (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c590 static int sapi_nsapi_read_post(char *buffer, uint count_bytes) argument
601 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes);
612 length = MIN(count_bytes, length);
624 while (content_length > 0 && bytes_read < count_bytes) {
625 int bytes_to_read = count_bytes - bytes_read;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c335 static size_t sapi_lsapi_read_post(char *buffer, size_t count_bytes) argument
338 return LSAPI_ReadReqBody( buffer, (unsigned long long)count_bytes );
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c461 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) argument
471 count_bytes = MIN(count_bytes, remaining_bytes);
472 while (read_bytes < count_bytes) {
474 size_t diff = count_bytes - read_bytes;
479 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
489 static size_t sapi_fcgi_read_post(char *buffer, size_t count_bytes) argument
496 if (remaining < count_bytes) {
497 count_bytes = remaining;
499 while (read_bytes < count_bytes) {
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c181 php_apache_sapi_read_post(char *buf, size_t count_bytes) argument
190 len = count_bytes;
202 if (tlen == count_bytes || !len) {
206 len = count_bytes - tlen;
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c566 static size_t sapi_cli_server_read_post(char *buf, size_t count_bytes) /* {{{ */ argument
571 size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_read_offset;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c451 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) argument
457 if (remaining < count_bytes) {
458 count_bytes = remaining;
460 while (read_bytes < count_bytes) {
478 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
480 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);

Completed in 17 milliseconds