Home
last modified time | relevance | path

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

/external/chromium/net/websockets/
Dwebsocket_handshake_handler.cc57 bool GetHeaderName(std::string::const_iterator line_begin, in GetHeaderName() argument
61 std::string::const_iterator colon = std::find(line_begin, line_end, ':'); in GetHeaderName()
65 *name_begin = line_begin; in GetHeaderName()
83 std::string::const_iterator line_begin = lines.token_begin(); in FilterHeaders() local
88 if (GetHeaderName(line_begin, line_end, &name_begin, &name_end)) { in FilterHeaders()
97 filtered_headers.append(line_begin, line_end); in FilterHeaders()
/external/chromium/net/tools/flip_server/
Dbalsa_frame.cc462 const char* line_begin, in CleanUpKeyValueWhitespace() argument
471 << "\"" << std::string(line_begin, line_end) << "\""; in CleanUpKeyValueWhitespace()
476 while (current > line_begin && *current <= ' ') --current; in CleanUpKeyValueWhitespace()
512 const char* line_begin = stream_begin + lines_[i].first; in FindColonsAndParseIntoKeyValue() local
529 DCHECK_LT(line_begin - stream_begin, line_end - stream_begin); in FindColonsAndParseIntoKeyValue()
538 << "\"" << std::string(line_begin, line_end) << "\""; in FindColonsAndParseIntoKeyValue()
539 while (*line_end <= ' ' && line_end > line_begin) { in FindColonsAndParseIntoKeyValue()
544 DCHECK_LT(line_begin, line_end); in FindColonsAndParseIntoKeyValue()
550 HeaderLineDescription(line_begin - stream_begin, in FindColonsAndParseIntoKeyValue()
561 } else if (current < line_begin) { in FindColonsAndParseIntoKeyValue()
[all …]
Dbalsa_frame.h155 const char* line_begin,
/external/chromium/net/http/
Dhttp_util.cc540 const char* line_begin = lines.token_begin(); in AssembleRawHeaders() local
543 if (prev_line_continuable && IsLWS(*line_begin)) { in AssembleRawHeaders()
546 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end); in AssembleRawHeaders()
552 raw_headers.append(line_begin, line_end); in AssembleRawHeaders()
555 prev_line_continuable = IsLineSegmentContinuable(line_begin, line_end); in AssembleRawHeaders()
Dhttp_response_headers.cc330 std::string::const_iterator line_begin = raw_input.begin(); in Parse() local
332 find(line_begin, raw_input.end(), '\0'); in Parse()
338 ParseStatusLine(line_begin, line_end, has_headers); in Parse()
540 std::string::const_iterator line_begin, in ParseVersion() argument
542 std::string::const_iterator p = line_begin; in ParseVersion()
583 std::string::const_iterator line_begin, in ParseStatusLine() argument
587 parsed_http_version_ = ParseVersion(line_begin, line_end); in ParseStatusLine()
607 std::string::const_iterator p = find(line_begin, line_end, ' '); in ParseStatusLine()
Dhttp_response_headers.h269 static HttpVersion ParseVersion(std::string::const_iterator line_begin,
278 void ParseStatusLine(std::string::const_iterator line_begin,