HomeSort by relevance Sort by last modified time
    Searched refs:SpdyFrame (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/chromium_org/net/spdy/
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;
spdy_test_utils.h 26 void SetFrameFlags(SpdyFrame* frame, uint8 flags, int spdy_version);
28 void SetFrameLength(SpdyFrame* frame, size_t length, int spdy_version);
spdy_test_util_common.h 61 // Chop a SpdyFrame into an array of MockWrites.
64 MockWrite* ChopWriteFrame(const SpdyFrame& frame, int num_chunks);
72 // Chop a SpdyFrame into an array of MockReads.
75 MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks);
86 // Create an async MockWrite from the given SpdyFrame.
87 MockWrite CreateMockWrite(const SpdyFrame& req);
89 // Create an async MockWrite from the given SpdyFrame and sequence number.
90 MockWrite CreateMockWrite(const SpdyFrame& req, int seq);
92 MockWrite CreateMockWrite(const SpdyFrame& req, int seq, IoMode mode);
94 // Create a MockRead from the given SpdyFrame
    [all...]
spdy_proxy_client_socket_unittest.cc 74 SpdyFrame* ConstructConnectRequestFrame();
75 SpdyFrame* ConstructConnectAuthRequestFrame();
76 SpdyFrame* ConstructConnectReplyFrame();
77 SpdyFrame* ConstructConnectAuthReplyFrame();
78 SpdyFrame* ConstructConnectRedirectReplyFrame();
79 SpdyFrame* ConstructConnectErrorReplyFrame();
80 SpdyFrame* ConstructBodyFrame(const char* data, int length);
315 SpdyFrame*
345 SpdyFrame*
375 SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectReplyFrame()
    [all...]
spdy_buffer.h 20 class SpdyFrame;
50 explicit SpdyBuffer(scoped_ptr<SpdyFrame> frame);
89 // Ref-count the passed-in SpdyFrame to support the semantics of
91 typedef base::RefCountedData<scoped_ptr<SpdyFrame> > SharedFrame;
spdy_network_transaction_unittest.cc 712 scoped_ptr<SpdyFrame> req(
716 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
717 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true));
739 scoped_ptr<SpdyFrame> req(
788 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
789 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, true));
821 scoped_ptr<SpdyFrame> req(
823 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
824 scoped_ptr<SpdyFrame> body(spdy_util_.ConstructSpdyBodyFrame(1, false));
825 scoped_ptr<SpdyFrame> fbody(spdy_util_.ConstructSpdyBodyFrame(1, true))
    [all...]
spdy_buffer.cc 18 // Makes a SpdyFrame with |size| bytes of data copied from
20 scoped_ptr<SpdyFrame> MakeSpdyFrame(const char* data, size_t size) {
25 scoped_ptr<SpdyFrame> frame(
26 new SpdyFrame(frame_data.release(), size, true /* owns_buffer */));
55 SpdyBuffer::SpdyBuffer(scoped_ptr<SpdyFrame> frame)
spdy_frame_builder.h 74 SpdyFrame* take() {
75 SpdyFrame* rv = new SpdyFrame(buffer_.release(), length_, true);
spdy_frame_builder_test.cc 19 scoped_ptr<SpdyFrame> frame(builder.take());
47 scoped_ptr<SpdyFrame> expected(framer.CreateSettings(settings));
57 scoped_ptr<SpdyFrame> built(builder.take());
spdy_websocket_test_util.cc 33 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynStream(
53 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketSynReply(
66 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeRequestFrame(
91 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHandshakeResponseFrame(
116 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketHeadersFrame(
133 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdyWebSocketDataFrame(
148 SpdyFrame* SpdyWebSocketTestUtil::ConstructSpdySettings(
buffered_spdy_framer.h 30 // Called if an error is detected in the SpdyFrame protocol.
168 SpdyFrame* CreateSynStream(SpdyStreamId stream_id,
174 SpdyFrame* CreateSynReply(SpdyStreamId stream_id,
177 SpdyFrame* CreateRstStream(SpdyStreamId stream_id,
179 SpdyFrame* CreateSettings(const SettingsMap& values) const;
180 SpdyFrame* CreatePingFrame(uint32 unique_id) const;
181 SpdyFrame* CreateGoAway(
184 SpdyFrame* CreateHeaders(SpdyStreamId stream_id,
187 SpdyFrame* CreateWindowUpdate(
190 SpdyFrame* CreateDataFrame(SpdyStreamId stream_id
    [all...]
buffered_spdy_framer_unittest.cc 106 void OnDataFrameHeader(const SpdyFrame* frame) {
110 void OnRstStream(const SpdyFrame& frame) {}
111 void OnGoAway(const SpdyFrame& frame) {}
112 void OnPing(const SpdyFrame& frame) {}
117 void OnCredential(const SpdyFrame& frame) {}
208 scoped_ptr<SpdyFrame> control_frame(framer.CreateSettings(settings));
223 scoped_ptr<SpdyFrame> control_frame(
248 scoped_ptr<SpdyFrame> control_frame(
270 scoped_ptr<SpdyFrame> control_frame(
spdy_stream_unittest.cc 73 void AddRead(const SpdyFrame& frame) {
77 void AddWrite(const SpdyFrame& frame) {
124 scoped_ptr<SpdyFrame> req(
129 scoped_ptr<SpdyFrame> resp(
133 scoped_ptr<SpdyFrame> msg(
137 scoped_ptr<SpdyFrame> echo(
235 scoped_ptr<SpdyFrame> req(
240 scoped_ptr<SpdyFrame> resp(
244 scoped_ptr<SpdyFrame> msg(
248 scoped_ptr<SpdyFrame> echo
    [all...]
spdy_http_stream_unittest.cc 155 scoped_ptr<SpdyFrame> req(
160 scoped_ptr<SpdyFrame> resp(spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 1));
217 scoped_ptr<SpdyFrame> req1(
219 scoped_ptr<SpdyFrame> req2(
225 scoped_ptr<SpdyFrame> resp1(
227 scoped_ptr<SpdyFrame> body1(
229 scoped_ptr<SpdyFrame> resp2(
231 scoped_ptr<SpdyFrame> body2(
315 scoped_ptr<SpdyFrame> req(
317 scoped_ptr<SpdyFrame> body
    [all...]
  /external/chromium/net/spdy/
spdy_test_util.h 53 // Chop a SpdyFrame into an array of MockWrites.
56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks);
64 // Chop a SpdyFrame into an array of MockReads.
67 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks);
115 // Returns a SpdyFrame.
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()
    [all...]
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() {
331 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthRequestFrame() {
357 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectReplyFrame() {
374 spdy::SpdyFrame* SpdyProxyClientSocketTest::ConstructConnectAuthReplyFrame()
    [all...]
spdy_framer.h 58 // Called if an error is detected in the SpdyFrame protocol.
168 bool ParseHeaderBlock(const SpdyFrame* frame, SpdyHeaderBlock* block);
265 // Compresses a SpdyFrame.
266 // On success, returns a new SpdyFrame with the payload compressed.
270 SpdyFrame* CompressFrame(const SpdyFrame& frame);
272 // Decompresses a SpdyFrame.
273 // On success, returns a new SpdyFrame with the payload decompressed.
277 SpdyFrame* DecompressFrame(const SpdyFrame& frame)
    [all...]
spdy_test_util.cc 35 // Chop a SpdyFrame into an array of MockWrites.
38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) {
40 frame.length() + spdy::SpdyFrame::size(),
60 // Chop a SpdyFrame into an array of MockReads.
63 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks) {
65 frame.length() + spdy::SpdyFrame::size(),
148 // Returns a SpdyFrame.
149 spdy::SpdyFrame* ConstructSpdyPacket(const SpdyHeaderInfo& header_info,
161 spdy::SpdyFrame* frame = NULL;
192 spdy::SpdyFrame* ConstructSpdySettings(spdy::SpdySettings settings)
    [all...]
spdy_network_transaction_unittest.cc 527 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST));
530 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
531 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, true));
554 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, p));
580 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
581 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, true));
614 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST));
615 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
616 scoped_ptr<spdy::SpdyFrame> body(ConstructSpdyBodyFrame(1, false));
617 scoped_ptr<spdy::SpdyFrame> fbody(ConstructSpdyBodyFrame(1, true))
    [all...]
spdy_frame_builder.h 44 SpdyFrame* take() {
45 SpdyFrame* rv = new SpdyFrame(buffer_, true);
spdy_protocol.h 331 // All Spdy Frame types derive from this SpdyFrame class.
332 class SpdyFrame {
334 // Create a SpdyFrame for a given sized buffer.
335 explicit SpdyFrame(size_t size) : frame_(NULL), owns_buffer_(true) {
342 // Create a SpdyFrame using a pre-created buffer.
349 SpdyFrame(char* data, bool owns_buffer)
355 ~SpdyFrame() {
386 // Every SpdyFrame* class has a static size() method for accessing
388 // Note: this is not the same as sizeof(SpdyFrame).
396 DISALLOW_COPY_AND_ASSIGN(SpdyFrame);
    [all...]
spdy_http_stream_unittest.cc 58 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(NULL, 0, false, 1, LOWEST));
62 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
108 scoped_ptr<spdy::SpdyFrame> req(ConstructChunkedSpdyPost(NULL, 0));
109 scoped_ptr<spdy::SpdyFrame> chunk1(ConstructSpdyBodyFrame(1, false));
110 scoped_ptr<spdy::SpdyFrame> chunk2(ConstructSpdyBodyFrame(1, true));
116 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyPostSynReply(NULL, 0));
172 scoped_ptr<spdy::SpdyFrame> req(ConstructSpdyGet(base_url, false, 1, LOWEST));
176 scoped_ptr<spdy::SpdyFrame> resp(ConstructSpdyGetSynReply(NULL, 0, 1));
spdy_framer_test.cc 197 using spdy::SpdyFrame;
219 const SpdyFrame& actual_frame,
224 int actual_len = actual_frame.length() + SpdyFrame::size();
267 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size());
270 scoped_ptr<SpdyFrame> control_frame(frame.take());
293 frame1.WriteUInt32ToOffset(4, frame1.length() - SpdyFrame::size());
308 frame2.WriteUInt32ToOffset(4, frame2.length() - SpdyFrame::size());
311 scoped_ptr<SpdyFrame> syn_frame1(frame1.take());
312 scoped_ptr<SpdyFrame> syn_frame2(frame2.take());
336 frame.WriteUInt32ToOffset(4, frame.length() - SpdyFrame::size())
    [all...]
  /external/chromium_org/net/quic/
spdy_utils.cc 21 scoped_ptr<SpdyFrame> block(builder.take());
  /external/chromium/net/tools/flip_server/
constants.h 12 const int kSpdyOverhead = spdy::SpdyFrame::size();

Completed in 472 milliseconds

1 2 3