Lines Matching refs:framer
18 void FramerSetEnableCompressionHelper(FlipFramer* framer, bool compress) { in FramerSetEnableCompressionHelper() argument
19 framer->set_enable_compression(compress); in FramerSetEnableCompressionHelper()
138 FlipFramer framer; in TEST_F() local
142 framer.CreateSynStream(1, 1, CONTROL_FLAG_NONE, true, &headers)); in TEST_F()
146 framer.ParseHeaderBlock(frame.get(), &new_headers); in TEST_F()
173 FlipFramer framer; in TEST_F() local
174 FramerSetEnableCompressionHelper(&framer, false); in TEST_F()
175 EXPECT_TRUE(framer.ParseHeaderBlock(control_frame.get(), &new_headers)); in TEST_F()
198 FlipFramer framer; in TEST_F() local
199 FramerSetEnableCompressionHelper(&framer, false); in TEST_F()
201 EXPECT_FALSE(framer.ParseHeaderBlock(control_frame.get(), &new_headers)); in TEST_F()
223 FlipFramer framer; in TEST_F() local
224 FramerSetEnableCompressionHelper(&framer, false); in TEST_F()
225 EXPECT_TRUE(framer.ParseHeaderBlock(control_frame.get(), &new_headers)); in TEST_F()
239 FlipFramer framer; in TEST_F() local
240 FramerSetEnableCompressionHelper(&framer, true); in TEST_F()
242 frame1(framer.CreateSynStream(1, 1, CONTROL_FLAG_NONE, true, &headers)); in TEST_F()
244 frame2(framer.CreateSynStream(1, 1, CONTROL_FLAG_NONE, true, &headers)); in TEST_F()
250 scoped_ptr<FlipFrame> frame3(framer.DecompressFrame(frame1.get())); in TEST_F()
253 scoped_ptr<FlipFrame> frame4(framer.DecompressFrame(frame2.get())); in TEST_F()
270 FlipFramer framer; in TEST_F() local
271 FramerSetEnableCompressionHelper(&framer, true); in TEST_F()
273 frame1(framer.CreateSynStream(1, 1, CONTROL_FLAG_NONE, false, &headers)); in TEST_F()
276 scoped_ptr<FlipFrame> frame2(framer.DecompressFrame(frame1.get())); in TEST_F()