Home | History | Annotate | Download | only in spdy

Lines Matching defs:frame2

278   SpdyFrameBuilder frame2;
296 frame2.WriteUInt16(kControlFlagMask | 1);
297 frame2.WriteUInt16(SYN_STREAM);
298 frame2.WriteUInt32(0); // Placeholder for the length.
299 frame2.WriteUInt32(3); // stream_id
300 frame2.WriteUInt16(0); // Priority.
302 frame2.WriteUInt16(100); // Wrong number of headers (overflow)
303 frame2.WriteString("gamma");
304 frame2.WriteString("gamma");
305 frame2.WriteString("alpha");
306 frame2.WriteString("alpha");
308 frame2.WriteUInt32ToOffset(4, frame2.length() - SpdyFrame::size());
312 scoped_ptr<SpdyFrame> syn_frame2(frame2.take());
390 scoped_ptr<SpdySynStreamControlFrame> frame2(
392 EXPECT_TRUE(frame2.get() != NULL);
393 EXPECT_FALSE(framer.ParseHeaderBlock(frame2.get(), &parsed_headers));
416 frame2(framer.CreateSynStream(1, 0, 1, CONTROL_FLAG_NONE, true,
420 EXPECT_LE(frame2->length(), frame1->length());
426 scoped_ptr<SpdyFrame> frame4(framer.DecompressFrame(*frame2.get()));
450 scoped_ptr<SpdyFrame> frame2(framer.DecompressFrame(*frame1.get()));
452 EXPECT_EQ(NULL, frame2.get());