/external/chromium/net/spdy/ |
D | spdy_test_util.h | 56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks); 67 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks); 116 spdy::SpdyFrame* ConstructSpdyPacket(const SpdyHeaderInfo& header_info, 123 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[], 132 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[], 156 spdy::SpdyFrame* ConstructSpdySettings(spdy::SpdySettings settings); 160 spdy::SpdyFrame* ConstructSpdyGoAway(); 164 spdy::SpdyFrame* ConstructSpdyWindowUpdate(spdy::SpdyStreamId, 169 spdy::SpdyFrame* ConstructSpdyRstStream(spdy::SpdyStreamId stream_id, 188 spdy::SpdyFrame* ConstructSpdyGet(const char* const url, [all …]
|
D | spdy_proxy_client_socket_unittest.cc | 65 spdy::SpdyFrame* ConstructConnectRequestFrame(); 66 spdy::SpdyFrame* ConstructConnectAuthRequestFrame(); 67 spdy::SpdyFrame* ConstructConnectReplyFrame(); 68 spdy::SpdyFrame* ConstructConnectAuthReplyFrame(); 69 spdy::SpdyFrame* ConstructConnectErrorReplyFrame(); 70 spdy::SpdyFrame* ConstructBodyFrame(const char* data, int length); 305 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectRequestFrame() { in ConstructConnectRequestFrame() 331 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthRequestFrame() { in ConstructConnectAuthRequestFrame() 357 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectReplyFrame() { in ConstructConnectReplyFrame() 374 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthReplyFrame() { in ConstructConnectAuthReplyFrame() [all …]
|
D | spdy_test_util.cc | 38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) { in ChopWriteFrame() 40 frame.length() + spdy::SpdyFrame::size(), in ChopWriteFrame() 63 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks) { in ChopReadFrame() 65 frame.length() + spdy::SpdyFrame::size(), in ChopReadFrame() 149 spdy::SpdyFrame* ConstructSpdyPacket(const SpdyHeaderInfo& header_info, in ConstructSpdyPacket() 161 spdy::SpdyFrame* frame = NULL; in ConstructSpdyPacket() 192 spdy::SpdyFrame* ConstructSpdySettings(spdy::SpdySettings settings) { in ConstructSpdySettings() 199 spdy::SpdyFrame* ConstructSpdyGoAway() { in ConstructSpdyGoAway() 206 spdy::SpdyFrame* ConstructSpdyWindowUpdate( in ConstructSpdyWindowUpdate() 214 spdy::SpdyFrame* ConstructSpdyRstStream(spdy::SpdyStreamId stream_id, in ConstructSpdyRstStream() [all …]
|
D | spdy_network_transaction_unittest.cc | 527 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST)); in TEST_P() 530 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 531 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, true)); in TEST_P() 554 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, p)); in TEST_P() 580 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 581 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, true)); in TEST_P() 614 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST)); in TEST_P() 615 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 616 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, false)); in TEST_P() 617 scoped_ptr<spdy::SpdyFrame> fbody(ConstructSpdyBodyFrame(1, true)); in TEST_P() [all …]
|
D | spdy_framer_test.cc | 186 using spdy::SpdyFrame; 208 const SpdyFrame& actual_frame, in CompareFrame() 213 int actual_len = actual_frame.length() + SpdyFrame::size(); in CompareFrame() 256 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size()); in TEST_F() 259 scoped_ptr<SpdyFrame> control_frame(frame.take()); in TEST_F() 282 frame1.WriteUInt32ToOffset(4, frame1.length() - SpdyFrame::size()); in TEST_F() 297 frame2.WriteUInt32ToOffset(4, frame2.length() - SpdyFrame::size()); in TEST_F() 300 scoped_ptr<SpdyFrame> syn_frame1(frame1.take()); in TEST_F() 301 scoped_ptr<SpdyFrame> syn_frame2(frame2.take()); in TEST_F() 325 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size()); in TEST_F() [all …]
|
D | spdy_framer.h | 139 bool ParseHeaderBlock(const SpdyFrame* frame, SpdyHeaderBlock* block); 229 SpdyFrame* CompressFrame(const SpdyFrame& frame); 236 SpdyFrame* DecompressFrame(const SpdyFrame& frame); 240 SpdyFrame* DuplicateFrame(const SpdyFrame& frame); 243 bool IsCompressible(const SpdyFrame& frame) const; 309 SpdyFrame* CompressFrameWithZStream(const SpdyFrame& frame, 311 SpdyFrame* DecompressFrameWithZStream(const SpdyFrame& frame, 328 bool GetFrameBoundaries(const SpdyFrame& frame, int* payload_length,
|
D | spdy_framer.cc | 176 bool SpdyFramer::ParseHeaderBlock(const SpdyFrame* frame, in ParseHeaderBlock() 184 scoped_ptr<SpdyFrame> decompressed_frame(DecompressFrame(*frame)); in ParseHeaderBlock() 267 size_t length = frame.length() - SpdyFrame::size(); in CreateSynStream() 275 scoped_ptr<SpdyFrame> syn_frame(frame.take()); in CreateSynStream() 306 size_t length = frame.length() - SpdyFrame::size(); in CreateSynReply() 314 scoped_ptr<SpdyFrame> reply_frame(frame.take()); in CreateSynReply() 345 size_t settings_size = SpdySettingsControlFrame::size() - SpdyFrame::size() + in CreateSettings() 375 size_t go_away_size = SpdyGoAwayControlFrame::size() - SpdyFrame::size(); in CreateGoAway() 404 size_t length = frame.length() - SpdyFrame::size(); in CreateHeaders() 412 scoped_ptr<SpdyFrame> headers_frame(frame.take()); in CreateHeaders() [all …]
|
D | spdy_protocol.h | 320 class SpdyFrame { 323 explicit SpdyFrame(size_t size) : frame_(NULL), owns_buffer_(true) { in SpdyFrame() function 337 SpdyFrame(char* data, bool owns_buffer) in SpdyFrame() function 343 ~SpdyFrame() { in ~SpdyFrame() 384 DISALLOW_COPY_AND_ASSIGN(SpdyFrame); 388 class SpdyDataFrame : public SpdyFrame { 390 SpdyDataFrame() : SpdyFrame(size()) {} in SpdyDataFrame() 392 : SpdyFrame(data, owns_buffer) {} in SpdyDataFrame() 408 static size_t size() { return SpdyFrame::size(); } in size() 419 class SpdyControlFrame : public SpdyFrame { [all …]
|
D | spdy_http_stream_unittest.cc | 58 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST)); in TEST_F() 62 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_F() 108 scoped_ptr<spdy::SpdyFrame> req(ConstructChunkedSpdyPost(NULL, 0)); in TEST_F() 109 scoped_ptr<spdy::SpdyFrame> chunk1(ConstructSpdyBodyFrame(1, false)); in TEST_F() 110 scoped_ptr<spdy::SpdyFrame> chunk2(ConstructSpdyBodyFrame(1, true)); in TEST_F() 116 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyPostSynReply(NULL, 0)); in TEST_F() 172 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(base_url, false, 1, LOWEST)); in TEST_F() 176 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_F()
|
D | spdy_frame_builder.h | 44 SpdyFrame* take() { in take() 45 SpdyFrame* rv = new SpdyFrame(buffer_, true); in take()
|
D | spdy_stream_unittest.cc | 104 spdy::SpdyFrame* ConstructSpdyBodyFrame(const char* data, int length) { in ConstructSpdyBodyFrame() 162 scoped_ptr<spdy::SpdyFrame> req( in TEST_F() 165 scoped_ptr<spdy::SpdyFrame> msg( in TEST_F() 174 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_F() 175 scoped_ptr<spdy::SpdyFrame> echo( in TEST_F()
|
D | spdy_protocol_test.cc | 27 using spdy::SpdyFrame; 47 EXPECT_EQ(8u, SpdyFrame::size()); in TEST() 70 SpdyFrame frame(SpdyFrame::size()); in TEST()
|
D | spdy_session.cc | 651 DCHECK_GE(result, static_cast<int>(spdy::SpdyFrame::size())); in OnWriteComplete() 652 result -= static_cast<int>(spdy::SpdyFrame::size()); in OnWriteComplete() 751 spdy::SpdyFrame uncompressed_frame(next_buffer.buffer()->data(), false); in WriteSocket() 754 scoped_ptr<spdy::SpdyFrame> compressed_frame( in WriteSocket() 762 size = compressed_frame->length() + spdy::SpdyFrame::size(); in WriteSocket() 773 size = uncompressed_frame.length() + spdy::SpdyFrame::size(); in WriteSocket() 839 void SpdySession::QueueFrame(spdy::SpdyFrame* frame, in QueueFrame() 842 int length = spdy::SpdyFrame::size() + frame->length(); in QueueFrame()
|
D | spdy_session.h | 40 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::size(); 302 void QueueFrame(spdy::SpdyFrame* frame, spdy::SpdyPriority priority,
|
D | spdy_session_unittest.cc | 68 scoped_ptr<spdy::SpdyFrame> goaway(ConstructSpdyGoAway()); in TEST_F() 170 scoped_ptr<spdy::SpdyFrame> settings_frame( in TEST_F() 359 scoped_ptr<spdy::SpdyFrame> settings_frame( in TEST_F()
|
/external/chromium/net/http/ |
D | http_proxy_client_socket_pool_unittest.cc | 250 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyConnect(NULL, 0, 1)); in TEST_P() 251 scoped_ptr<spdy::SpdyFrame> rst(ConstructSpdyRstStream(1, spdy::CANCEL)); in TEST_P() 256 scoped_ptr<spdy::SpdyFrame> resp( in TEST_P() 334 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders, in TEST_P() 339 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 446 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders, in TEST_P() 483 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders, in TEST_P() 485 scoped_ptr<spdy::SpdyFrame> rst(ConstructSpdyRstStream(1, spdy::CANCEL)); in TEST_P() 490 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdySynReplyError(1)); in TEST_P()
|
D | http_network_transaction_unittest.cc | 1955 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST, in TEST_F() 1959 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_F() 1960 scoped_ptr<spdy::SpdyFrame> data(ConstructSpdyBodyFrame(1, true)); in TEST_F() 2016 scoped_ptr<spdy::SpdyFrame> req_get( in TEST_F() 2022 scoped_ptr<spdy::SpdyFrame> req_get_authorization( in TEST_F() 2038 scoped_ptr<spdy::SpdyFrame> resp_authentication( in TEST_F() 2043 scoped_ptr<spdy::SpdyFrame> body_authentication( in TEST_F() 2045 scoped_ptr<spdy::SpdyFrame> resp_data(ConstructSpdyGetSynReply(NULL, 0, 3)); in TEST_F() 2046 scoped_ptr<spdy::SpdyFrame> body_data(ConstructSpdyBodyFrame(3, true)); in TEST_F() 2123 scoped_ptr<spdy::SpdyFrame> connect(ConstructSpdyConnect(NULL, 0, 1)); in TEST_F() [all …]
|
/external/chromium/net/tools/flip_server/ |
D | spdy_interface.cc | 30 using spdy::SpdyFrame; 49 SpdyFrameDataFrame(SpdyFrame* spdy_frame) in SpdyFrameDataFrame() 52 size = spdy_frame->length() + SpdyFrame::size(); in SpdyFrameDataFrame() 59 const SpdyFrame* frame; 469 size_t df_size = fsrcf->length() + SpdyFrame::size(); in SendSynStreamImpl() 486 size_t df_size = fsrcf->length() + SpdyFrame::size(); in SendSynReplyImpl()
|
D | constants.h | 12 const int kSpdyOverhead = spdy::SpdyFrame::size();
|
D | balsa_headers.h | 983 friend class SpdyFrame; variable
|