Searched refs:count_bytes (Results 1 – 6 of 6) sorted by relevance
/php-src/sapi/apache2handler/ |
H A D | sapi_apache2.c | 179 php_apache_sapi_read_post(char *buf, size_t count_bytes) in php_apache_sapi_read_post() argument 189 len = count_bytes; in php_apache_sapi_read_post() 201 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post() 205 len = count_bytes - tlen; in php_apache_sapi_read_post()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 478 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) in sapi_cgi_read_post() argument 488 count_bytes = MIN(count_bytes, remaining_bytes); in sapi_cgi_read_post() 489 while (read_bytes < count_bytes) { in sapi_cgi_read_post() 491 size_t diff = count_bytes - read_bytes; in sapi_cgi_read_post() 496 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post() 506 static size_t sapi_fcgi_read_post(char *buffer, size_t count_bytes) in sapi_fcgi_read_post() argument 513 if (remaining < count_bytes) { in sapi_fcgi_read_post() 514 count_bytes = remaining; in sapi_fcgi_read_post() 516 while (read_bytes < count_bytes) { in sapi_fcgi_read_post() 517 size_t diff = count_bytes - read_bytes; in sapi_fcgi_read_post()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 428 static size_t sapi_cgi_read_post(char *buffer, size_t count_bytes) /* {{{ */ in sapi_cgi_read_post() argument 434 if (remaining < count_bytes) { in sapi_cgi_read_post() 435 count_bytes = remaining; in sapi_cgi_read_post() 437 while (read_bytes < count_bytes) { in sapi_cgi_read_post() 455 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post() 457 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
|
/php-src/main/ |
H A D | SAPI.h | 258 size_t (*read_post)(char *buffer, size_t count_bytes);
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 286 static size_t sapi_lsapi_read_post(char *buffer, size_t count_bytes) in sapi_lsapi_read_post() argument 289 ssize_t rv = LSAPI_ReadReqBody(buffer, (unsigned long long)count_bytes); in sapi_lsapi_read_post()
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 598 static size_t sapi_cli_server_read_post(char *buf, size_t count_bytes) /* {{{ */ in sapi_cli_server_read_post() argument 603 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()
|
Completed in 46 milliseconds