Home
last modified time | relevance | path

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

/external/chromium/webkit/glue/
Dmultipart_response_delegate.cc216 size_t line_end_pos = data_.find('\n'); in ParseHeaders() local
217 while (line_end_pos != std::string::npos) { in ParseHeaders()
219 if (line_end_pos > line_start_pos && data_[line_end_pos - 1] == '\r') { in ParseHeaders()
221 --line_end_pos; in ParseHeaders()
225 if (line_start_pos == line_end_pos) { in ParseHeaders()
227 line_end_pos += line_feed_increment; in ParseHeaders()
231 line_start_pos = line_end_pos + line_feed_increment; in ParseHeaders()
232 line_end_pos = data_.find('\n', line_start_pos); in ParseHeaders()
235 if (line_end_pos == std::string::npos) in ParseHeaders()
240 headers.append(data_, 0, line_end_pos); in ParseHeaders()
[all …]