Lines Matching refs:nbytes_read
1137 …r_content_sender_pull(php_cli_server_content_sender *sender, int fd, size_t *nbytes_read) /* {{{ */ in php_cli_server_content_sender_pull() argument
1163 *nbytes_read = _nbytes_read; in php_cli_server_content_sender_pull()
1857 int nbytes_read; in php_cli_server_client_read_request() local
1861 nbytes_read = recv(client->sock, buf, sizeof(buf) - 1, 0); in php_cli_server_client_read_request()
1862 if (nbytes_read < 0) { in php_cli_server_client_read_request()
1873 } else if (nbytes_read == 0) { in php_cli_server_client_read_request()
1881 nbytes_consumed = php_http_parser_execute(&client->parser, &settings, buf, nbytes_read); in php_cli_server_client_read_request()
1882 if (nbytes_consumed != (size_t)nbytes_read) { in php_cli_server_client_read_request()
2665 size_t nbytes_read; in php_cli_server_send_event() local
2666 … if (!php_cli_server_content_sender_pull(&client->content_sender, client->file_fd, &nbytes_read)) { in php_cli_server_send_event()
2670 if (nbytes_read == 0) { in php_cli_server_send_event()