Home
last modified time | relevance | path

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

/PHP-7.3/sapi/apache2handler/
H A Dsapi_apache2.c175 php_apache_sapi_read_post(char *buf, size_t count_bytes) in php_apache_sapi_read_post() argument
184 len = count_bytes; in php_apache_sapi_read_post()
196 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post()
200 len = count_bytes - tlen; in php_apache_sapi_read_post()
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c485 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) in sapi_cgi_read_post() argument
495 count_bytes = MIN(count_bytes, remaining_bytes); in sapi_cgi_read_post()
496 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
498 size_t diff = count_bytes - read_bytes; in sapi_cgi_read_post()
503 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
513 static size_t sapi_fcgi_read_post(char *buffer, size_t count_bytes) in sapi_fcgi_read_post() argument
520 if (remaining < count_bytes) { in sapi_fcgi_read_post()
521 count_bytes = remaining; in sapi_fcgi_read_post()
523 while (read_bytes < count_bytes) { in sapi_fcgi_read_post()
524 size_t diff = count_bytes - read_bytes; in sapi_fcgi_read_post()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_main.c439 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) /* {{{ */ in sapi_cgi_read_post() argument
445 if (remaining < count_bytes) { in sapi_cgi_read_post()
446 count_bytes = remaining; in sapi_cgi_read_post()
448 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
466 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
468 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
/PHP-7.3/main/
H A DSAPI.h238 size_t (*read_post)(char *buffer, size_t count_bytes);
/PHP-7.3/sapi/litespeed/
H A Dlsapi_main.c301 static size_t sapi_lsapi_read_post(char *buffer, size_t count_bytes) in sapi_lsapi_read_post() argument
304 ssize_t rv = LSAPI_ReadReqBody(buffer, (unsigned long long)count_bytes); in sapi_lsapi_read_post()
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c584 static size_t sapi_cli_server_read_post(char *buf, size_t count_bytes) /* {{{ */ in sapi_cli_server_read_post() argument
589 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()

Completed in 63 milliseconds