Searched refs:buf_view (Results 1 – 1 of 1) sorted by relevance
213 base::StringView buf_view(rxbuf, client->rxbuf_used); in ParseOneHttpRequest() local222 size_t next = buf_view.find("\r\n", pos); in ParseOneHttpRequest()230 size_t space = buf_view.find(' '); in ParseOneHttpRequest()235 http_req.method = buf_view.substr(0, space); in ParseOneHttpRequest()236 size_t uri_size = buf_view.find(' ', space + 1) - space - 1; in ParseOneHttpRequest()237 http_req.uri = buf_view.substr(space + 1, uri_size); in ParseOneHttpRequest()242 } else if ((col = buf_view.find(':', pos)) < next) { in ParseOneHttpRequest()244 auto hdr_name = buf_view.substr(pos, col - pos); in ParseOneHttpRequest()245 auto hdr_value = buf_view.substr(col + 2, next - col - 2); in ParseOneHttpRequest()