Lines Matching full:line
30 ParsedLine line = lines_.front();
34 if (!line.is_complete || line.status_code != response_buf_.status_code) {
35 line_buf_.append(line.raw_text);
41 line_buf_ = line.status_text;
42 DCHECK_EQ(line.status_code, response_buf_.status_code);
44 if (!line.is_multiline) {
54 if (!line.is_complete)
57 response_buf_.status_code = line.status_code;
58 if (line.is_multiline) {
59 line_buf_ = line.status_text;
62 response_buf_.lines.push_back(line.status_text);
90 const std::string& line) {
93 if (line.length() >= 3) {
94 if (base::StringToInt(line.begin(), line.begin() + 3, &result.status_code))
97 if (result.has_status_code && line.length() >= 4 && line[3] == ' ') {
99 } else if (result.has_status_code && line.length() >= 4 && line[3] == '-') {
106 result.status_text = line.substr(4);
108 result.status_text = line;
111 result.raw_text = line;