Home
last modified time | relevance | path

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

/external/chromium_org/net/tools/balsa/
Dbalsa_headers_token_utils.cc12 const BalsaHeaders::HeaderLineDescription& header_line, in TokenizeHeaderLine() argument
17 const char* stream_begin = headers.GetPtr(header_line.buffer_base_idx); in TokenizeHeaderLine()
20 const char* value_begin = stream_begin + header_line.value_begin_idx; in TokenizeHeaderLine()
21 const char* line_end = stream_begin + header_line.last_char_idx; in TokenizeHeaderLine()
38 BalsaHeaders::HeaderLines::iterator header_line; in RemoveLastTokenFromHeaderValue() local
40 header_line = it; in RemoveLastTokenFromHeaderValue()
47 TokenizeHeaderLine(*headers, *header_line, &tokens); in RemoveLastTokenFromHeaderValue()
52 header_line->skip = true; // remove the whole line in RemoveLastTokenFromHeaderValue()
54 header_line->skip = true; // remove the whole line in RemoveLastTokenFromHeaderValue()
60 const char* stream_begin = headers->GetPtr(header_line->buffer_base_idx); in RemoveLastTokenFromHeaderValue()
[all …]
Dbalsa_frame.cc631 const HeaderLineDescription& header_line = headers_->header_lines_[line_idx]; in ProcessContentLengthLine() local
633 const char* line_end = stream_begin + header_line.last_char_idx; in ProcessContentLengthLine()
634 const char* value_begin = (stream_begin + header_line.value_begin_idx); in ProcessContentLengthLine()
676 const HeaderLineDescription& header_line = headers_->header_lines_[line_idx]; in ProcessTransferEncodingLine() local
678 const char* line_end = stream_begin + header_line.last_char_idx; in ProcessTransferEncodingLine()
679 const char* value_begin = stream_begin + header_line.value_begin_idx; in ProcessTransferEncodingLine()
/external/chromium_org/net/test/embedded_test_server/
Dhttp_request.cc87 const std::string header_line = ShiftLine(); in ParseHeaders() local
89 base::SplitString(header_line, ' ', &header_line_tokens); in ParseHeaders()
108 std::string header_line = ShiftLine(); in ParseHeaders() local
109 if (header_line.empty()) in ParseHeaders()
112 if (header_line[0] == ' ' || header_line[0] == '\t') { in ParseHeaders()
115 Trim(header_line.substr(1, header_line.size() - 1)); in ParseHeaders()
119 size_t delimiter_pos = header_line.find(":"); in ParseHeaders()
121 header_name = Trim(header_line.substr(0, delimiter_pos)); in ParseHeaders()
122 std::string header_value = Trim(header_line.substr( in ParseHeaders()
124 header_line.size() - delimiter_pos - 1)); in ParseHeaders()
/external/chromium_org/net/http/
Dhttp_request_headers.cc108 const base::StringPiece& header_line) { in AddHeaderFromString() argument
109 DCHECK_EQ(std::string::npos, header_line.find("\r\n")) in AddHeaderFromString()
110 << "\"" << header_line << "\" contains CRLF."; in AddHeaderFromString()
112 const std::string::size_type key_end_index = header_line.find(":"); in AddHeaderFromString()
114 LOG(DFATAL) << "\"" << header_line << "\" is missing colon delimiter."; in AddHeaderFromString()
119 LOG(DFATAL) << "\"" << header_line << "\" is missing header key."; in AddHeaderFromString()
123 const base::StringPiece header_key(header_line.data(), key_end_index); in AddHeaderFromString()
127 if (value_index < header_line.size()) { in AddHeaderFromString()
128 std::string header_value(header_line.data() + value_index, in AddHeaderFromString()
129 header_line.size() - value_index); in AddHeaderFromString()
[all …]
Dhttp_stream_parser.cc33 const char* header_line = null_separated_headers; in GetResponseHeaderLines() local
35 while (header_line[0] != 0) { in GetResponseHeaderLines()
36 cr_separated_headers += header_line; in GetResponseHeaderLines()
38 header_line += strlen(header_line) + 1; in GetResponseHeaderLines()
Dhttp_request_headers.h124 void AddHeaderFromString(const base::StringPiece& header_line);
Dhttp_response_headers.cc1376 std::string header_line; in FromNetLogParam() local
1377 if (!(*it)->GetAsString(&header_line)) in FromNetLogParam()
1380 raw_headers.append(header_line); in FromNetLogParam()
/external/chromium_org/android_webview/native/
Daw_web_resource_response_impl.cc92 std::string header_line(header_names[i]); in GetResponseHeaders() local
93 header_line.append(": "); in GetResponseHeaders()
94 header_line.append(header_values[i]); in GetResponseHeaders()
95 headers->AddHeader(header_line); in GetResponseHeaders()
/external/chromium_org/v8/tools/
Ddisasm.py80 header_line = 0
83 header_line = i
88 for line in lines[header_line + 1:]:
/external/chromium_org/components/invalidation/
Dgcm_network_channel_unittest.cc113 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;
233 const std::string& header_line) { in AddExtraRequestHeader() argument
234 net::FakeURLFetcher::AddExtraRequestHeader(header_line); in AddExtraRequestHeader()
237 if (StartsWithASCII(header_line, header_name, false)) { in AddExtraRequestHeader()
238 echo_token = header_line; in AddExtraRequestHeader()
/external/chromium_org/net/url_request/
Durl_fetcher_impl.cc78 void URLFetcherImpl::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument
79 core_->AddExtraRequestHeader(header_line); in AddExtraRequestHeader()
Dtest_url_fetcher_factory.cc107 void TestURLFetcher::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument
108 fake_extra_request_headers_.AddHeaderFromString(header_line); in AddExtraRequestHeader()
Durl_fetcher.h193 virtual void AddExtraRequestHeader(const std::string& header_line) = 0;
Durl_fetcher_impl.h59 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;
Durl_fetcher_core.h82 void AddExtraRequestHeader(const std::string& header_line);
Durl_fetcher_core.cc220 void URLFetcherCore::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument
221 extra_request_headers_.AddHeaderFromString(header_line); in AddExtraRequestHeader()
Dtest_url_fetcher_factory.h111 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;