/external/chromium_org/net/tools/balsa/ |
D | balsa_headers_test.cc | 37 headers_.reset(new BalsaHeaders); in SetUp() 41 scoped_ptr<BalsaHeaders> headers_; member in net::__anonf6fcd73b0111::BalsaHeadersTest 162 headers_->AppendHeader("key1", "value1"); in TEST_F() 163 headers_->AppendHeader("key2", "value2"); in TEST_F() 164 headers_->AppendHeader("key3", "value3"); in TEST_F() 165 headers_->AppendHeader("key3", "value3.1"); in TEST_F() 166 headers_->AppendHeader("key3", "value3.2"); in TEST_F() 168 ASSERT_EQ(5, std::distance(headers_->header_lines_begin(), in TEST_F() 169 headers_->header_lines_end())); in TEST_F() 170 ASSERT_EQ("value1", headers_->GetHeader("key1")); in TEST_F() [all …]
|
D | balsa_frame.cc | 77 headers_(NULL) { in BalsaFrame() 101 if (headers_ != NULL) { in Reset() 102 headers_->Clear(); in Reset() 439 headers_, in ProcessFirstLine() 451 headers_->whitespace_4_idx_ - headers_->non_whitespace_3_idx_; in ProcessFirstLine() 453 begin + headers_->non_whitespace_1_idx_, in ProcessFirstLine() 454 headers_->whitespace_4_idx_ - headers_->non_whitespace_1_idx_, in ProcessFirstLine() 455 begin + headers_->non_whitespace_1_idx_, in ProcessFirstLine() 456 headers_->whitespace_2_idx_ - headers_->non_whitespace_1_idx_, in ProcessFirstLine() 457 begin + headers_->non_whitespace_2_idx_, in ProcessFirstLine() [all …]
|
D | balsa_frame.h | 55 const BalsaHeaders* const_balsa_headers() const { return headers_; } in const_balsa_headers() 56 BalsaHeaders* balsa_headers() { return headers_; } in balsa_headers() 62 if (headers_ != headers) { in set_balsa_headers() 63 headers_ = headers; in set_balsa_headers() 65 if (headers_) { in set_balsa_headers() 68 headers_->Clear(); in set_balsa_headers() 123 const BalsaHeaders* headers() const { return headers_; } in headers() 124 BalsaHeaders* mutable_headers() { return headers_; } in mutable_headers() 256 BalsaHeaders* headers_; // This is not reset to NULL in Reset(). variable
|
D | balsa_headers.h | 358 const HeaderLines& header_lines = headers_->header_lines_; in increment() 376 const HeaderLines& header_lines = headers_->header_lines_; in decrement() 394 DCHECK_LT(index, headers_->header_lines_.size()); in Lookup() 395 const HeaderLineDescription& line = headers_->header_lines_[index]; in Lookup() 396 const char* stream_begin = headers_->GetPtr(line.buffer_base_idx); in Lookup() 407 const BalsaHeaders* headers_; variable 417 using iterator_base::headers_; 429 headers_ = it.headers_; 435 headers_ = it.headers_; 476 iterator_base(it.headers_, it.idx_) {} in const_header_lines_iterator() [all …]
|
/external/chromium_org/net/http/ |
D | http_request_headers.cc | 51 curr_(headers.headers_.begin()), in Iterator() 52 end_(headers.headers_.end()) {} in Iterator() 75 if (it == headers_.end()) in GetHeader() 82 headers_.clear(); in Clear() 90 if (it != headers_.end()) in SetHeader() 93 headers_.push_back(HeaderKeyValuePair(key, value)); in SetHeader() 101 if (it == headers_.end()) in SetHeaderIfMissing() 102 headers_.push_back(HeaderKeyValuePair(key, value)); in SetHeaderIfMissing() 107 if (it != headers_.end()) in RemoveHeader() 108 headers_.erase(it); in RemoveHeader() [all …]
|
D | http_request_headers.h | 85 bool IsEmpty() const { return headers_.empty(); } in IsEmpty() 88 return FindHeader(key) != headers_.end(); in HasHeader() 140 headers_.swap(other->headers_); in Swap() 166 HeaderVector headers_; variable
|
/external/chromium_org/net/websockets/ |
D | websocket_handshake_handler.cc | 170 &headers_); in ParseRequest() 172 if (!CheckVersionInRequest(headers_)) { in ParseRequest() 187 DCHECK(!headers_.empty()); in AppendHeaderIfMissing() 188 HttpUtil::AppendHeaderIfMissing(name.c_str(), value, &headers_); in AppendHeaderIfMissing() 194 DCHECK(!headers_.empty()); in RemoveHeaders() 195 headers_ = FilterHeaders( in RemoveHeaders() 196 headers_, headers_to_remove, headers_to_remove_len); in RemoveHeaders() 208 request_info.extra_headers.AddHeadersFromString(headers_); in GetRequestInfo() 239 HttpUtil::HeadersIterator iter(headers_.begin(), headers_.end(), "\r\n"); in GetRequestHeaderBlock() 296 DCHECK(!headers_.empty()); in GetRawRequest() [all …]
|
D | websocket_handshake_handler.h | 66 std::string headers_; variable 116 std::string headers_; variable
|
/external/chromium_org/net/quic/ |
D | quic_data_stream_test.cc | 64 headers_[":host"] = "www.google.com"; in QuicDataStreamTest() 65 headers_[":path"] = "/index.hml"; in QuicDataStreamTest() 66 headers_[":scheme"] = "https"; in QuicDataStreamTest() 67 headers_["cookie"] = in QuicDataStreamTest() 110 SpdyHeaderBlock headers_; member in net::test::__anone1713da20111::QuicDataStreamTest 120 string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P() 133 string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P() 146 string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P() 174 string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P() 206 string headers = SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P() [all …]
|
D | quic_reliable_client_stream_test.cc | 52 headers_[":host"] = "www.google.com"; in InitializeHeaders() 53 headers_[":path"] = "/index.hml"; in InitializeHeaders() 54 headers_[":scheme"] = "https"; in InitializeHeaders() 55 headers_["cookie"] = in InitializeHeaders() 85 SpdyHeaderBlock headers_; member in net::test::__anon4cd61a860111::QuicReliableClientStreamTest 94 SpdyUtils::SerializeUncompressedHeaders(headers_); in TEST_P()
|
D | quic_spdy_server_stream.cc | 67 SpdyHeaderBlock::const_iterator it = headers_.find("content-length"); in OnFinRead() 69 if (it != headers_.end() && in OnFinRead() 86 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_len, &headers_); in ParseRequestHeaders() 94 request_url_ = GetUrlFromHeaderBlock(headers_, in ParseRequestHeaders()
|
D | quic_headers_stream_test.cc | 88 headers_[":version"] = "HTTP/1.1"; in QuicHeadersStreamTest() 89 headers_[":status"] = "200 Ok"; in QuicHeadersStreamTest() 90 headers_["content-length"] = "11"; in QuicHeadersStreamTest() 132 headers_stream_->WriteHeaders(stream_id, headers_, fin, NULL); in WriteHeadersAndCheckData() 161 EXPECT_EQ(headers_, headers); in CheckHeaders() 179 SpdyHeaderBlock headers_; member in net::test::__anonc53cdcc40111::QuicHeadersStreamTest 223 syn_stream.set_name_value_block(headers_); in TEST_P() 229 syn_reply.set_name_value_block(headers_); in TEST_P()
|
D | quic_in_memory_cache.h | 47 const HttpResponseHeaders& headers() const { return *headers_.get(); } in headers() 54 headers_ = headers; in set_headers() 61 scoped_refptr<HttpResponseHeaders> headers_; variable
|
D | quic_http_stream_test.cc | 322 HttpRequestHeaders headers_; member in net::test::QuicHttpStreamTest 370 EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, in TEST_P() 409 EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, in TEST_P() 457 stream_->SendRequest(headers_, &response_, in TEST_P() 473 EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, in TEST_P() 500 EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, in TEST_P() 548 ASSERT_EQ(ERR_IO_PENDING, stream_->SendRequest(headers_, &response_, in TEST_P() 599 ASSERT_EQ(ERR_IO_PENDING, stream_->SendRequest(headers_, &response_, in TEST_P() 646 ASSERT_EQ(ERR_IO_PENDING, stream_->SendRequest(headers_, &response_, in TEST_P() 689 EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_, in TEST_P() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | httpcommon.h | 308 return headers_.begin(); in begin() 311 return headers_.end(); in end() 314 return headers_.begin(); in begin() 317 return headers_.end(); in end() 320 return headers_.lower_bound(name); in begin() 323 return headers_.upper_bound(name); in end() 326 return headers_.lower_bound(name); in begin() 329 return headers_.upper_bound(name); in end() 352 return headers_.lower_bound(ToString(header)); in begin() 355 return headers_.upper_bound(ToString(header)); in end() [all …]
|
/external/chromium_org/net/spdy/ |
D | buffered_spdy_framer_unittest.cc | 50 headers_ = headers; in OnSynStream() 59 headers_ = headers; in OnSynReply() 68 headers_ = headers; in OnHeaders() 125 headers_ = headers; in OnPushPromise() 170 SpdyHeaderBlock headers_; member in net::__anon898249580111::TestBufferedSpdyVisitor 258 EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); in TEST_P() 290 EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); in TEST_P() 313 EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); in TEST_P() 336 EXPECT_TRUE(CompareHeaderBlocks(&headers, &visitor.headers_)); in TEST_P()
|
/external/chromium_org/net/tools/quic/ |
D | quic_spdy_server_stream.cc | 58 } else if ((headers_.content_length_status() == in OnFinRead() 60 body_.size() != headers_.content_length()) { in OnFinRead() 78 if (!SpdyUtils::FillBalsaRequestHeaders(headers, &headers_)) { in ParseRequestHeaders() 94 QuicInMemoryCache::GetInstance()->GetResponse(headers_); in SendResponse()
|
D | quic_spdy_client_stream_test.cc | 39 headers_.SetResponseFirstlineFromStringPieces("HTTP/1.1", "200", "Ok"); in QuicSpdyClientStreamTest() 40 headers_.ReplaceOrAppendHeader("content-length", "11"); in QuicSpdyClientStreamTest() 42 headers_string_ = SpdyUtils::SerializeResponseHeaders(headers_); in QuicSpdyClientStreamTest() 58 BalsaHeaders headers_; member in net::tools::test::__anonf7109d260111::QuicSpdyClientStreamTest
|
D | quic_in_memory_cache.h | 48 const BalsaHeaders& headers() const { return headers_; } in headers() 55 headers_.CopyFrom(headers); in set_headers() 62 BalsaHeaders headers_; variable
|
D | quic_spdy_client_stream.h | 59 const BalsaHeaders& headers() { return headers_; } in headers() 72 BalsaHeaders headers_; variable
|
/external/chromium_org/net/socket_stream/ |
D | socket_stream.h | 209 data_ = const_cast<char*>(headers_.data()) + offset; in SetDataOffset() 212 std::string headers_; variable 222 void SetDataOffset(size_t offset) { data_ = headers_.get() + offset; } in SetDataOffset() 223 char* headers() const { return headers_.get(); } in headers() 224 void Reset() { headers_.reset(); } in Reset() 230 scoped_ptr<char, base::FreeDeleter> headers_; variable
|
/external/chromium_org/net/server/ |
D | http_server_response_info.cc | 37 headers_.push_back(std::make_pair(name, value)); in AddHeader() 59 for (header = headers_.begin(); header != headers_.end(); ++header) in Serialize()
|
/external/chromium_org/net/tools/quic/test_tools/ |
D | http_message.h | 104 const BalsaHeaders* headers() const { return &headers_; } in headers() 105 BalsaHeaders* headers() { return &headers_; } in headers() 108 BalsaHeaders headers_;
|
/external/chromium_org/net/ocsp/ |
D | nss_ocsp_unittest.cc | 46 : headers_(headers), cert_data_(cert_data), request_count_(0) {} in AiaResponseHandler() 56 request, network_delegate, headers_, cert_data_, true); in MaybeInterceptRequest() 62 std::string headers_; member in net::__anona9ddad970111::AiaResponseHandler
|
/external/chromium_org/net/tools/flip_server/ |
D | mem_cache.h | 71 BalsaHeaders* headers() { return headers_.get(); } in headers() 72 const BalsaHeaders* headers() const { return headers_.get(); } in headers() 78 scoped_ptr<BalsaHeaders> headers_;
|