/external/chromium_org/net/spdy/ |
D | spdy_test_util_common.h | 64 MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks); 75 MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks); 87 MockWrite CreateMockWrite(const SpdyFrame& req); 90 MockWrite CreateMockWrite(const SpdyFrame& req, int seq); 92 MockWrite CreateMockWrite(const SpdyFrame& req, int seq, IoMode mode); 95 MockRead CreateMockRead(const SpdyFrame& resp); 98 MockRead CreateMockRead(const SpdyFrame& resp, int seq); 100 MockRead CreateMockRead(const SpdyFrame& resp, int seq, IoMode mode); 104 int CombineFrames(const SpdyFrame** frames, int num_frames, 110 const SpdyFrame& frame, [all …]
|
D | spdy_proxy_client_socket_unittest.cc | 76 SpdyFrame* ConstructConnectRequestFrame(); 77 SpdyFrame* ConstructConnectAuthRequestFrame(); 78 SpdyFrame* ConstructConnectReplyFrame(); 79 SpdyFrame* ConstructConnectAuthReplyFrame(); 80 SpdyFrame* ConstructConnectRedirectReplyFrame(); 81 SpdyFrame* ConstructConnectErrorReplyFrame(); 82 SpdyFrame* ConstructBodyFrame(const char* data, int length); 329 SpdyFrame* 338 SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthRequestFrame() { in ConstructConnectAuthRequestFrame() 346 SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectReplyFrame() { in ConstructConnectReplyFrame() [all …]
|
D | spdy_network_transaction_unittest.cc | 740 scoped_ptr<SpdyFrame> req( in TEST_P() 744 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 745 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true)); in TEST_P() 767 scoped_ptr<SpdyFrame> req( in TEST_P() 816 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 817 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true)); in TEST_P() 849 scoped_ptr<SpdyFrame> req( in TEST_P() 851 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 852 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, false)); in TEST_P() 853 scoped_ptr<SpdyFrame> fbody(spdy_util_.ConstructSpdyBodyFrame(1, true)); in TEST_P() [all …]
|
D | spdy_websocket_test_util.h | 32 SpdyFrame* ConstructSpdyWebSocketSynStream(int stream_id, 39 SpdyFrame* ConstructSpdyWebSocketSynReply(int stream_id); 42 SpdyFrame* ConstructSpdyWebSocketHandshakeRequestFrame( 48 SpdyFrame* ConstructSpdyWebSocketHandshakeResponseFrame( 54 SpdyFrame* ConstructSpdyWebSocketHeadersFrame(int stream_id, 59 SpdyFrame* ConstructSpdyWebSocketDataFrame(const char* data, 65 SpdyFrame* ConstructSpdySettings(const SettingsMap& settings) const; 66 SpdyFrame* ConstructSpdySettingsAck() const;
|
D | spdy_stream_unittest.cc | 73 void AddRead(const SpdyFrame& frame) { in AddRead() 77 void AddWrite(const SpdyFrame& frame) { in AddWrite() 123 scoped_ptr<SpdyFrame> req( in TEST_P() 128 scoped_ptr<SpdyFrame> resp( in TEST_P() 132 scoped_ptr<SpdyFrame> msg( in TEST_P() 136 scoped_ptr<SpdyFrame> echo( in TEST_P() 239 scoped_ptr<SpdyFrame> req( in TEST_P() 244 scoped_ptr<SpdyFrame> resp( in TEST_P() 248 scoped_ptr<SpdyFrame> msg( in TEST_P() 252 scoped_ptr<SpdyFrame> echo( in TEST_P() [all …]
|
D | spdy_test_util_common.cc | 84 MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks) { in ChopWriteFrame() 107 MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks) { in ChopReadFrame() 159 MockWrite CreateMockWrite(const SpdyFrame& req) { in CreateMockWrite() 164 MockWrite CreateMockWrite(const SpdyFrame& req, int seq) { in CreateMockWrite() 169 MockWrite CreateMockWrite(const SpdyFrame& req, int seq, IoMode mode) { in CreateMockWrite() 174 MockRead CreateMockRead(const SpdyFrame& resp) { in CreateMockRead() 179 MockRead CreateMockRead(const SpdyFrame& resp, int seq) { in CreateMockRead() 184 MockRead CreateMockRead(const SpdyFrame& resp, int seq, IoMode mode) { in CreateMockRead() 190 int CombineFrames(const SpdyFrame** frames, int num_frames, in CombineFrames() 265 const SpdyFrame& frame, in GetSpdyPriority() [all …]
|
D | spdy_websocket_test_util.cc | 30 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynStream( in ConstructSpdyWebSocketSynStream() 45 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynReply( in ConstructSpdyWebSocketSynReply() 52 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeRequestFrame( in ConstructSpdyWebSocketHandshakeRequestFrame() 60 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeResponseFrame( in ConstructSpdyWebSocketHandshakeResponseFrame() 67 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHeadersFrame( in ConstructSpdyWebSocketHeadersFrame() 78 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketDataFrame( in ConstructSpdyWebSocketDataFrame() 93 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettings( in ConstructSpdySettings() 98 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettingsAck() const { in ConstructSpdySettingsAck()
|
D | spdy_http_stream_unittest.cc | 158 scoped_ptr<SpdyFrame> req( in TEST_P() 163 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 220 scoped_ptr<SpdyFrame> req1( in TEST_P() 222 scoped_ptr<SpdyFrame> req2( in TEST_P() 228 scoped_ptr<SpdyFrame> resp1( in TEST_P() 230 scoped_ptr<SpdyFrame> body1( in TEST_P() 232 scoped_ptr<SpdyFrame> resp2( in TEST_P() 234 scoped_ptr<SpdyFrame> body2( in TEST_P() 318 scoped_ptr<SpdyFrame> req( in TEST_P() 320 scoped_ptr<SpdyFrame> body( in TEST_P() [all …]
|
D | buffered_spdy_framer.h | 182 SpdyFrame* CreateSynStream(SpdyStreamId stream_id, 187 SpdyFrame* CreateSynReply(SpdyStreamId stream_id, 190 SpdyFrame* CreateRstStream(SpdyStreamId stream_id, 192 SpdyFrame* CreateSettings(const SettingsMap& values) const; 193 SpdyFrame* CreatePingFrame(uint32 unique_id, bool is_ack) const; 194 SpdyFrame* CreateGoAway( 197 SpdyFrame* CreateHeaders(SpdyStreamId stream_id, 200 SpdyFrame* CreateWindowUpdate( 203 SpdyFrame* CreateDataFrame(SpdyStreamId stream_id, 207 SpdyFrame* CreatePushPromise(SpdyStreamId stream_id,
|
D | spdy_session_unittest.cc | 292 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_P() 322 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_P() 349 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_P() 354 scoped_ptr<SpdyFrame> req1( in TEST_P() 356 scoped_ptr<SpdyFrame> req2( in TEST_P() 429 scoped_ptr<SpdyFrame> goaway1(spdy_util_.ConstructSpdyGoAway(1)); in TEST_P() 430 scoped_ptr<SpdyFrame> goaway2(spdy_util_.ConstructSpdyGoAway(0)); in TEST_P() 436 scoped_ptr<SpdyFrame> req1( in TEST_P() 438 scoped_ptr<SpdyFrame> req2( in TEST_P() 509 scoped_ptr<SpdyFrame> goaway(spdy_util_.ConstructSpdyGoAway(1)); in TEST_P() [all …]
|
D | spdy_frame_builder_test.cc | 34 scoped_ptr<SpdyFrame> frame(builder.take()); in TEST_P() 47 scoped_ptr<SpdyFrame> expected(framer.SerializeSettings(settings_ir)); in TEST_P() 57 scoped_ptr<SpdyFrame> built(builder.take()); in TEST_P() 70 scoped_ptr<SpdyFrame> expected(framer.SerializeHeaders(headers_ir)); in TEST_P() 74 scoped_ptr<SpdyFrame> built(builder.take()); in TEST_P()
|
D | buffered_spdy_framer_unittest.cc | 107 void OnDataFrameHeader(const SpdyFrame* frame) { in OnDataFrameHeader() 111 void OnRstStream(const SpdyFrame& frame) {} in OnRstStream() 112 void OnGoAway(const SpdyFrame& frame) {} in OnGoAway() 113 void OnPing(const SpdyFrame& frame) {} in OnPing() 132 void OnCredential(const SpdyFrame& frame) {} in OnCredential() 222 scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); in TEST_P() 241 scoped_ptr<SpdyFrame> control_frame( in TEST_P() 270 scoped_ptr<SpdyFrame> control_frame( in TEST_P() 298 scoped_ptr<SpdyFrame> control_frame( in TEST_P() 323 scoped_ptr<SpdyFrame> control_frame( in TEST_P()
|
D | buffered_spdy_framer.cc | 272 SpdyFrame* BufferedSpdyFramer::CreateSynStream( in CreateSynStream() 290 SpdyFrame* BufferedSpdyFramer::CreateSynReply( in CreateSynReply() 303 SpdyFrame* BufferedSpdyFramer::CreateRstStream( in CreateRstStream() 314 SpdyFrame* BufferedSpdyFramer::CreateSettings( in CreateSettings() 330 SpdyFrame* BufferedSpdyFramer::CreatePingFrame(uint32 unique_id, in CreatePingFrame() 338 SpdyFrame* BufferedSpdyFramer::CreateGoAway( in CreateGoAway() 346 SpdyFrame* BufferedSpdyFramer::CreateHeaders( in CreateHeaders() 358 SpdyFrame* BufferedSpdyFramer::CreateWindowUpdate( in CreateWindowUpdate() 366 SpdyFrame* BufferedSpdyFramer::CreateDataFrame(SpdyStreamId stream_id, in CreateDataFrame() 377 SpdyFrame* BufferedSpdyFramer::CreatePushPromise( in CreatePushPromise()
|
D | spdy_framer_test.cc | 56 template<class SpdyFrameType> static SpdyFrame* DecompressFrame( in DecompressFrame() 66 SpdyFrame* decompressed_frame = new SpdyFrame(buffer, visitor.size(), true); in DecompressFrame() 126 scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); in OnSynStream() 137 scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers)); in OnSynReply() 168 scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers)); in OnHeaders() 184 scoped_ptr<SpdyFrame> frame(framer.SerializePushPromise(push_promise)); in OnPushPromise() 566 base::StringPiece GetSerializedHeaders(const SpdyFrame* frame, in GetSerializedHeaders() 626 const SpdyFrame& actual_frame, in CompareFrame() 636 const SpdyFrame& expected_frame, in CompareFrames() 637 const SpdyFrame& actual_frame) { in CompareFrames() [all …]
|
D | spdy_buffer.cc | 23 scoped_ptr<SpdyFrame> MakeSpdyFrame(const char* data, size_t size) { in MakeSpdyFrame() 29 scoped_ptr<SpdyFrame> frame( in MakeSpdyFrame() 30 new SpdyFrame(frame_data.release(), size, true /* owns_buffer */)); in MakeSpdyFrame() 59 SpdyBuffer::SpdyBuffer(scoped_ptr<SpdyFrame> frame) in SpdyBuffer()
|
D | spdy_buffer.h | 20 class SpdyFrame; variable 50 explicit SpdyBuffer(scoped_ptr<SpdyFrame> frame); 91 typedef base::RefCountedData<scoped_ptr<SpdyFrame> > SharedFrame;
|
D | spdy_frame_builder.h | 75 SpdyFrame* take() { in take() 81 SpdyFrame* rv = new SpdyFrame(buffer_.release(), length(), true); in take()
|
D | spdy_test_utils.h | 31 void SetFrameFlags(SpdyFrame* frame, 35 void SetFrameLength(SpdyFrame* frame,
|
D | spdy_websocket_stream_unittest.cc | 278 scoped_ptr<SpdyFrame> request_frame_; 279 scoped_ptr<SpdyFrame> response_frame_; 280 scoped_ptr<SpdyFrame> message_frame_; 281 scoped_ptr<SpdyFrame> closing_frame_; 282 scoped_ptr<SpdyFrame> closing_frame_fin_; 563 scoped_ptr<SpdyFrame> settings_frame( in TEST_P() 565 scoped_ptr<SpdyFrame> settings_ack(spdy_util_.ConstructSpdySettingsAck()); in TEST_P()
|
D | spdy_protocol.h | 537 class SpdyFrame; variable 538 typedef SpdyFrame SpdySerializedFrame; 996 class SpdyFrame { 1005 SpdyFrame(char* data, size_t size, bool owns_buffer) in SpdyFrame() function 1012 ~SpdyFrame() { in ~SpdyFrame() 1032 DISALLOW_COPY_AND_ASSIGN(SpdyFrame);
|
D | spdy_buffer_unittest.cc | 37 scoped_ptr<SpdyFrame>( in TEST_F() 38 new SpdyFrame(const_cast<char*>(kData), kDataSize, in TEST_F()
|
/external/chromium_org/net/http/ |
D | http_proxy_client_socket_pool_unittest.cc | 378 scoped_ptr<SpdyFrame> req( in TEST_P() 380 scoped_ptr<SpdyFrame> rst( in TEST_P() 391 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyReply(1, resp_block)); in TEST_P() 476 scoped_ptr<SpdyFrame> req( in TEST_P() 481 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 514 scoped_ptr<SpdyFrame> req( in TEST_P() 520 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 621 scoped_ptr<SpdyFrame> req( in TEST_P() 695 scoped_ptr<SpdyFrame> req( in TEST_P() 697 scoped_ptr<SpdyFrame> rst( in TEST_P() [all …]
|
D | http_network_transaction_unittest.cc | 1365 scoped_ptr<SpdyFrame> spdy_request(spdy_util_.ConstructSpdyGet( in PreconnectErrorResendRequestTest() 1367 scoped_ptr<SpdyFrame> spdy_response( in PreconnectErrorResendRequestTest() 1369 scoped_ptr<SpdyFrame> spdy_data( in PreconnectErrorResendRequestTest() 3016 scoped_ptr<SpdyFrame> req( in TEST_P() 3020 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 3021 scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); in TEST_P() 3081 scoped_ptr<SpdyFrame> req( in TEST_P() 3085 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1)); in TEST_P() 3086 scoped_ptr<SpdyFrame> data(spdy_util_.ConstructSpdyBodyFrame(1, true)); in TEST_P() 3156 scoped_ptr<SpdyFrame> req_get( in TEST_P() [all …]
|
/external/chromium_org/net/tools/flip_server/ |
D | spdy_interface.cc | 25 explicit SpdyFrameDataFrame(SpdyFrame* spdy_frame) : frame(spdy_frame) { in SpdyFrameDataFrame() 32 const SpdyFrame* frame; 347 SpdyFrame* settings_frame = buffered_spdy_framer_->CreateSettings(settings); in PostAcceptHook() 482 SpdyFrame* fsrcf = buffered_spdy_framer_->CreateSynStream( in SendSynStreamImpl() 506 SpdyFrame* fsrcf = buffered_spdy_framer_->CreateSynReply( in SendSynReplyImpl() 526 SpdyFrame* fdf = in SendDataFrameImpl() 543 SpdyFrame* fdf = buffered_spdy_framer_->CreateDataFrame( in SendDataFrameImpl()
|
/external/chromium_org/net/quic/ |
D | spdy_utils.cc | 22 scoped_ptr<SpdyFrame> block(builder.take()); in SerializeUncompressedHeaders()
|