Home
last modified time | relevance | path

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

/external/chromium_org/rlz/win/lib/
Dmachine_deal.cc83 int line_begin = *search_index; in GetResponseLine() local
84 const char* line_end = strchr(response_text + line_begin, '\n'); in GetResponseLine()
93 response_line->assign(response_text + line_begin, in GetResponseLine()
94 line_end - response_text - line_begin); in GetResponseLine()
/external/chromium_org/net/tools/balsa/
Dbalsa_frame.cc468 const char* line_begin, in CleanUpKeyValueWhitespace() argument
477 << "\"" << std::string(line_begin, line_end) << "\""; in CleanUpKeyValueWhitespace()
482 while (current > line_begin && *current <= ' ') --current; in CleanUpKeyValueWhitespace()
518 const char* line_begin = stream_begin + lines_[i].first; in FindColonsAndParseIntoKeyValue() local
535 DCHECK_LT(line_begin - stream_begin, line_end - stream_begin); in FindColonsAndParseIntoKeyValue()
544 << "\"" << std::string(line_begin, line_end) << "\""; in FindColonsAndParseIntoKeyValue()
545 while (*line_end <= ' ' && line_end > line_begin) { in FindColonsAndParseIntoKeyValue()
550 DCHECK_LT(line_begin, line_end); in FindColonsAndParseIntoKeyValue()
556 HeaderLineDescription(line_begin - stream_begin, in FindColonsAndParseIntoKeyValue()
567 } else if (current < line_begin) { in FindColonsAndParseIntoKeyValue()
[all …]
Dbalsa_frame.h153 const char* line_begin,
/external/chromium_org/net/websockets/
Dwebsocket_handshake_handler.cc68 bool GetHeaderName(std::string::const_iterator line_begin, in GetHeaderName() argument
72 std::string::const_iterator colon = std::find(line_begin, line_end, ':'); in GetHeaderName()
76 *name_begin = line_begin; in GetHeaderName()
94 std::string::const_iterator line_begin = lines.token_begin(); in FilterHeaders() local
99 if (GetHeaderName(line_begin, line_end, &name_begin, &name_end)) { in FilterHeaders()
108 filtered_headers.append(line_begin, line_end); in FilterHeaders()
/external/chromium_org/rlz/lib/
Drlz_lib.cc524 int line_begin = line_end_index + 1; in ParsePingResponse() local
525 line_end_index = response_string.find("\n", line_begin); in ParsePingResponse()
531 if (line_end <= line_begin) in ParsePingResponse()
535 response_line = response_string.substr(line_begin, line_end - line_begin); in ParsePingResponse()
/external/chromium_org/net/http/
Dhttp_response_headers.h306 static HttpVersion ParseVersion(std::string::const_iterator line_begin,
315 void ParseStatusLine(std::string::const_iterator line_begin,
Dhttp_response_headers.cc402 std::string::const_iterator line_begin = raw_input.begin(); in Parse() local
404 std::find(line_begin, raw_input.end(), '\0'); in Parse()
410 ParseStatusLine(line_begin, line_end, has_headers); in Parse()
627 std::string::const_iterator line_begin, in ParseVersion() argument
629 std::string::const_iterator p = line_begin; in ParseVersion()
670 std::string::const_iterator line_begin, in ParseStatusLine() argument
674 parsed_http_version_ = ParseVersion(line_begin, line_end); in ParseStatusLine()
694 std::string::const_iterator p = std::find(line_begin, line_end, ' '); in ParseStatusLine()
Dhttp_util.cc596 const char* line_begin = lines.token_begin(); in AssembleRawHeaders() local
599 if (prev_line_continuable && IsLWS(*line_begin)) { in AssembleRawHeaders()
602 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end); in AssembleRawHeaders()
608 raw_headers.append(line_begin, line_end); in AssembleRawHeaders()
611 prev_line_continuable = IsLineSegmentContinuable(line_begin, line_end); in AssembleRawHeaders()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dwebrtcsdp.cc433 size_t line_begin = *pos; in GetLine() local
434 size_t line_end = message.find(kNewLine, line_begin); in GetLine()
443 *line = message.substr(line_begin, (line_end - line_begin)); in GetLine()
455 *pos = line_begin; in GetLine()