Home
last modified time | relevance | path

Searched refs:framer (Results 1 – 16 of 16) sorted by relevance

/external/chromium/net/spdy/
Dspdy_framer_test.cc79 void FramerSetEnableCompressionHelper(SpdyFramer* framer, bool compress) { in FramerSetEnableCompressionHelper() argument
80 framer->set_enable_compression(compress); in FramerSetEnableCompressionHelper()
235 SpdyFramer framer; in TEST_F() local
239 framer.CreateSynStream(1, 0, 1, CONTROL_FLAG_NONE, true, &headers)); in TEST_F()
243 EXPECT_TRUE(framer.ParseHeaderBlock(frame.get(), &new_headers)); in TEST_F()
271 SpdyFramer framer; in TEST_F() local
272 FramerSetEnableCompressionHelper(&framer, false); in TEST_F()
273 EXPECT_TRUE(framer.ParseHeaderBlock(control_frame.get(), &new_headers)); in TEST_F()
313 SpdyFramer framer; in TEST_F() local
314 FramerSetEnableCompressionHelper(&framer, false); in TEST_F()
[all …]
Dspdy_test_util.cc154 spdy::SpdyFramer framer; in ConstructSpdyPacket() local
164 frame = framer.CreateSynStream(header_info.id, header_info.assoc_id, in ConstructSpdyPacket()
170 frame = framer.CreateSynReply(header_info.id, header_info.control_flags, in ConstructSpdyPacket()
174 frame = framer.CreateRstStream(header_info.id, header_info.status); in ConstructSpdyPacket()
177 frame = framer.CreateHeaders(header_info.id, header_info.control_flags, in ConstructSpdyPacket()
181 frame = framer.CreateDataFrame(header_info.id, header_info.data, in ConstructSpdyPacket()
193 spdy::SpdyFramer framer; in ConstructSpdySettings() local
194 return framer.CreateSettings(settings); in ConstructSpdySettings()
200 spdy::SpdyFramer framer; in ConstructSpdyPing() local
201 return framer.CreatePingFrame(1); in ConstructSpdyPing()
[all …]
Dspdy_protocol_test.cc91 SpdyFramer framer; in TEST() local
95 framer.CreateSynStream(123, 456, 2, CONTROL_FLAG_FIN, false, &headers)); in TEST()
109 framer.CreateSynReply(123, CONTROL_FLAG_NONE, false, &headers)); in TEST()
118 framer.CreateRstStream(123, spdy::PROTOCOL_ERROR)); in TEST()
129 framer.CreateGoAway(123)); in TEST()
136 framer.CreateWindowUpdate(123, 456)); in TEST()
188 SpdyFramer framer; in TEST() local
193 framer.CreateSettings(settings)); in TEST()
210 settings_frame.reset(framer.CreateSettings(settings)); in TEST()
217 EXPECT_TRUE(framer.ParseSettings(settings_frame.get(), &parsed_settings)); in TEST()
Dspdy_framer.h40 void FramerSetEnableCompressionHelper(SpdyFramer* framer, bool compress);
59 virtual void OnError(SpdyFramer* framer) = 0;
332 friend void test::FramerSetEnableCompressionHelper(SpdyFramer* framer,
Dspdy_stream_unittest.cc105 spdy::SpdyFramer framer; in ConstructSpdyBodyFrame() local
106 return framer.CreateDataFrame(1, data, length, spdy::DATA_FLAG_NONE); in ConstructSpdyBodyFrame()
Dspdy_network_transaction_unittest.cc3743 spdy::SpdyFramer framer; in TEST_P() local
3750 framer.CreateDataFrame(1, "goodby", 6, spdy::DATA_FLAG_NONE)); in TEST_P()
3752 framer.CreateDataFrame(1, "e worl", 6, spdy::DATA_FLAG_NONE)); in TEST_P()
3762 framer.CreateDataFrame(1, "d", 1, spdy::DATA_FLAG_FIN)); in TEST_P()
3837 spdy::SpdyFramer framer; in TEST_P() local
3844 framer.CreateDataFrame(1, "message", 7, spdy::DATA_FLAG_NONE)); in TEST_P()
3846 framer.CreateDataFrame(1, "message", 7, spdy::DATA_FLAG_FIN)); in TEST_P()
3931 spdy::SpdyFramer framer; in TEST_P() local
3941 framer.CreateDataFrame(1, "message", 7, spdy::DATA_FLAG_NONE)); in TEST_P()
3943 framer.CreateDataFrame(1, "message", 7, spdy::DATA_FLAG_FIN)); in TEST_P()
[all …]
Dspdy_session.cc1042 void SpdySession::OnError(spdy::SpdyFramer* framer) { in OnError() argument
/external/chromium/net/tools/flip_server/
Dmem_cache.cc32 void StoreBodyAndHeadersVisitor::HandleHeaderError(BalsaFrame* framer) { in HandleHeaderError() argument
36 void StoreBodyAndHeadersVisitor::HandleHeaderWarning(BalsaFrame* framer) { in HandleHeaderWarning() argument
40 void StoreBodyAndHeadersVisitor::HandleChunkingError(BalsaFrame* framer) { in HandleChunkingError() argument
44 void StoreBodyAndHeadersVisitor::HandleBodyError(BalsaFrame* framer) { in HandleBodyError() argument
142 BalsaFrame framer; in ReadAndStoreFileContents() local
143 framer.set_balsa_visitor(&visitor); in ReadAndStoreFileContents()
144 framer.set_balsa_headers(&(visitor.headers)); in ReadAndStoreFileContents()
156 pos += framer.ProcessInput(filename_contents.data() + pos, in ReadAndStoreFileContents()
158 if (framer.Error() || pos == old_pos) { in ReadAndStoreFileContents()
161 if (framer.Error()) { in ReadAndStoreFileContents()
[all …]
Dbalsa_visitor_interface.h154 virtual void HandleHeaderError(BalsaFrame* framer) = 0;
161 virtual void HandleHeaderWarning(BalsaFrame* framer) = 0;
167 virtual void HandleChunkingError(BalsaFrame* framer) = 0;
176 virtual void HandleBodyError(BalsaFrame* framer) = 0;
Dmem_cache.h51 virtual void HandleHeaderError(BalsaFrame* framer);
52 virtual void HandleHeaderWarning(BalsaFrame* framer);
53 virtual void HandleChunkingError(BalsaFrame* framer);
54 virtual void HandleBodyError(BalsaFrame* framer);
Dstreamer_interface.h109 virtual void HandleHeaderError(BalsaFrame* framer);
110 virtual void HandleHeaderWarning(BalsaFrame* framer) {} in HandleHeaderWarning() argument
111 virtual void HandleChunkingError(BalsaFrame* framer);
112 virtual void HandleBodyError(BalsaFrame* framer);
Dbalsa_frame.h231 virtual void HandleHeaderError(BalsaFrame* framer) {} in HandleHeaderError() argument
232 virtual void HandleHeaderWarning(BalsaFrame* framer) {} in HandleHeaderWarning() argument
233 virtual void HandleChunkingError(BalsaFrame* framer) {} in HandleChunkingError() argument
234 virtual void HandleBodyError(BalsaFrame* framer) {} in HandleBodyError() argument
Dhttp_interface.h61 virtual void HandleHeaderError(BalsaFrame* framer);
62 virtual void HandleHeaderWarning(BalsaFrame* framer) {} in HandleHeaderWarning() argument
63 virtual void HandleChunkingError(BalsaFrame* framer);
64 virtual void HandleBodyError(BalsaFrame* framer);
Dstreamer_interface.cc188 void StreamerSM::HandleHeaderError(BalsaFrame* framer) { in HandleHeaderError() argument
192 void StreamerSM::HandleChunkingError(BalsaFrame* framer) { in HandleChunkingError() argument
196 void StreamerSM::HandleBodyError(BalsaFrame* framer) { in HandleBodyError() argument
Dhttp_interface.cc77 void HttpSM::HandleHeaderError(BalsaFrame* framer) { in HandleHeaderError() argument
81 void HttpSM::HandleChunkingError(BalsaFrame* framer) { in HandleChunkingError() argument
85 void HttpSM::HandleBodyError(BalsaFrame* framer) { in HandleBodyError() argument
Dspdy_interface.h55 virtual void OnError(spdy::SpdyFramer* framer) {} in OnError() argument