Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/rpc/
Dhttpd.cc53 size_t rxbuf_avail() { return rxbuf.size() - rxbuf_used; } in rxbuf_avail()
57 size_t rxbuf_used = 0; member
191 size_t rsize = sock->Receive(&rxbuf[client->rxbuf_used], avail); in OnDataAvailable()
192 client->rxbuf_used += rsize; in OnDataAvailable()
203 memmove(rxbuf, &rxbuf[bytes_consumed], client->rxbuf_used - bytes_consumed); in OnDataAvailable()
204 client->rxbuf_used -= bytes_consumed; in OnDataAvailable()
213 base::StringView buf_view(rxbuf, client->rxbuf_used); in ParseOneHttpRequest()
231 if (space == std::string::npos || space + 2 >= client->rxbuf_used) { in ParseOneHttpRequest()
260 if (!body_offset || client->rxbuf_used < http_req_size) in ParseOneHttpRequest()