/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* ConstructSpdyPing(); 164 spdy::SpdyFrame* ConstructSpdyGoAway(); 168 spdy::SpdyFrame* ConstructSpdyWindowUpdate(spdy::SpdyStreamId, 173 spdy::SpdyFrame* ConstructSpdyRstStream(spdy::SpdyStreamId stream_id, [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* ConstructSpdyPing() { in ConstructSpdyPing() 206 spdy::SpdyFrame* ConstructSpdyGoAway() { in ConstructSpdyGoAway() 213 spdy::SpdyFrame* ConstructSpdyWindowUpdate( in ConstructSpdyWindowUpdate() [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 | 197 using spdy::SpdyFrame; 219 const SpdyFrame& actual_frame, in CompareFrame() 224 int actual_len = actual_frame.length() + SpdyFrame::size(); in CompareFrame() 267 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size()); in TEST_F() 270 scoped_ptr<SpdyFrame> control_frame(frame.take()); in TEST_F() 293 frame1.WriteUInt32ToOffset(4, frame1.length() - SpdyFrame::size()); in TEST_F() 308 frame2.WriteUInt32ToOffset(4, frame2.length() - SpdyFrame::size()); in TEST_F() 311 scoped_ptr<SpdyFrame> syn_frame1(frame1.take()); in TEST_F() 312 scoped_ptr<SpdyFrame> syn_frame2(frame2.take()); in TEST_F() 336 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size()); in TEST_F() [all …]
|
D | spdy_framer.h | 168 bool ParseHeaderBlock(const SpdyFrame* frame, SpdyHeaderBlock* block); 270 SpdyFrame* CompressFrame(const SpdyFrame& frame); 277 SpdyFrame* DecompressFrame(const SpdyFrame& frame); 281 SpdyFrame* DuplicateFrame(const SpdyFrame& frame); 284 bool IsCompressible(const SpdyFrame& frame) const; 372 SpdyFrame* CompressFrameWithZStream(const SpdyFrame& frame, 374 SpdyFrame* DecompressFrameWithZStream(const SpdyFrame& frame, 421 bool GetFrameBoundaries(const SpdyFrame& frame, int* payload_length,
|
D | spdy_framer.cc | 313 bool SpdyFramer::ParseHeaderBlock(const SpdyFrame* frame, in ParseHeaderBlock() 321 scoped_ptr<SpdyFrame> decompressed_frame(DecompressFrame(*frame)); in ParseHeaderBlock() 564 size_t length = frame.length() - SpdyFrame::size(); in CreateSynStream() 604 size_t length = frame.length() - SpdyFrame::size(); in CreateSynReply() 644 size_t settings_size = SpdySettingsControlFrame::size() - SpdyFrame::size() + in CreateSettings() 671 size_t ping_size = SpdyPingControlFrame::size() - SpdyFrame::size(); in CreatePingFrame() 685 size_t go_away_size = SpdyGoAwayControlFrame::size() - SpdyFrame::size(); in CreateGoAway() 714 size_t length = frame.length() - SpdyFrame::size(); in CreateHeaders() 744 SpdyFrame::size(); in CreateWindowUpdate() 788 scoped_ptr<SpdyFrame> data_frame(frame.take()); in CreateDataFrame() [all …]
|
D | spdy_protocol.h | 332 class SpdyFrame { 335 explicit SpdyFrame(size_t size) : frame_(NULL), owns_buffer_(true) { in SpdyFrame() function 349 SpdyFrame(char* data, bool owns_buffer) in SpdyFrame() function 355 ~SpdyFrame() { in ~SpdyFrame() 396 DISALLOW_COPY_AND_ASSIGN(SpdyFrame); 400 class SpdyDataFrame : public SpdyFrame { 402 SpdyDataFrame() : SpdyFrame(size()) {} in SpdyDataFrame() 404 : SpdyFrame(data, owns_buffer) {} in SpdyDataFrame() 420 static size_t size() { return SpdyFrame::size(); } in size() 431 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_unittest.cc | 112 scoped_ptr<spdy::SpdyFrame> goaway(ConstructSpdyGoAway()); in TEST_F() 173 scoped_ptr<spdy::SpdyFrame> read_ping(ConstructSpdyPing()); in TEST_F() 179 scoped_ptr<spdy::SpdyFrame> write_ping(ConstructSpdyPing()); in TEST_F() 309 scoped_ptr<spdy::SpdyFrame> settings_frame( in TEST_F() 498 scoped_ptr<spdy::SpdyFrame> settings_frame( in TEST_F()
|
D | spdy_session.cc | 697 DCHECK_GE(result, static_cast<int>(spdy::SpdyFrame::size())); in OnWriteComplete() 698 result -= static_cast<int>(spdy::SpdyFrame::size()); in OnWriteComplete() 797 spdy::SpdyFrame uncompressed_frame(next_buffer.buffer()->data(), false); in WriteSocket() 800 scoped_ptr<spdy::SpdyFrame> compressed_frame( in WriteSocket() 808 size = compressed_frame->length() + spdy::SpdyFrame::size(); in WriteSocket() 819 size = uncompressed_frame.length() + spdy::SpdyFrame::size(); in WriteSocket() 885 void SpdySession::QueueFrame(spdy::SpdyFrame* frame, in QueueFrame() 888 int length = spdy::SpdyFrame::size() + frame->length(); in QueueFrame()
|
D | spdy_session.h | 40 const int kMaxSpdyFrameChunkSize = (2 * kMss) - spdy::SpdyFrame::size(); 339 void QueueFrame(spdy::SpdyFrame* frame, spdy::SpdyPriority priority,
|
/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; 480 size_t df_size = fsrcf->length() + SpdyFrame::size(); in SendSynStreamImpl() 497 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
|