/external/chromium_org/net/tools/balsa/ |
D | balsa_headers_token_utils.cc | 12 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 …]
|
D | balsa_frame.cc | 631 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/ |
D | http_request.cc | 87 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/ |
D | http_request_headers.cc | 108 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 …]
|
D | http_stream_parser.cc | 33 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()
|
D | http_request_headers.h | 124 void AddHeaderFromString(const base::StringPiece& header_line);
|
D | http_response_headers.cc | 1376 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/ |
D | aw_web_resource_response_impl.cc | 92 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/ |
D | disasm.py | 80 header_line = 0 83 header_line = i 88 for line in lines[header_line + 1:]:
|
/external/chromium_org/components/invalidation/ |
D | gcm_network_channel_unittest.cc | 113 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/ |
D | url_fetcher_impl.cc | 78 void URLFetcherImpl::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument 79 core_->AddExtraRequestHeader(header_line); in AddExtraRequestHeader()
|
D | test_url_fetcher_factory.cc | 107 void TestURLFetcher::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument 108 fake_extra_request_headers_.AddHeaderFromString(header_line); in AddExtraRequestHeader()
|
D | url_fetcher.h | 193 virtual void AddExtraRequestHeader(const std::string& header_line) = 0;
|
D | url_fetcher_impl.h | 59 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;
|
D | url_fetcher_core.h | 82 void AddExtraRequestHeader(const std::string& header_line);
|
D | url_fetcher_core.cc | 220 void URLFetcherCore::AddExtraRequestHeader(const std::string& header_line) { in AddExtraRequestHeader() argument 221 extra_request_headers_.AddHeaderFromString(header_line); in AddExtraRequestHeader()
|
D | test_url_fetcher_factory.h | 111 virtual void AddExtraRequestHeader(const std::string& header_line) OVERRIDE;
|