Lines Matching defs:framer_
364 framer_(QuicSupportedVersions(), start_, true) {
366 framer_.set_version(version_);
367 framer_.SetDecrypter(decrypter_, ENCRYPTION_NONE);
368 framer_.SetEncrypter(ENCRYPTION_NONE, encrypter_);
369 framer_.set_visitor(&visitor_);
370 framer_.set_received_entropy_calculator(&entropy_calculator_);
449 EXPECT_FALSE(framer_.ProcessPacket(encrypted)) << "len: " << len;
450 EXPECT_EQ(expected_error, framer_.detailed_error()) << "len: " << len;
451 EXPECT_EQ(error_code, framer_.error()) << "len: " << len;
488 QuicFramerPeer::SetLastSequenceNumber(&framer_, last_sequence_number);
491 &framer_, PACKET_6BYTE_SEQUENCE_NUMBER, wire_sequence_number))
498 return BuildUnsizedDataPacket(&framer_, header, frames).packet;
505 QuicFramer framer_;
619 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
620 EXPECT_EQ(QUIC_INVALID_PACKET_HEADER, framer_.error());
645 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
652 EXPECT_EQ(QUIC_PACKET_TOO_LARGE, framer_.error());
670 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
671 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
708 &framer_, GG_UINT64_C(0xFEDCBA9876543210));
723 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
724 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
764 &framer_, GG_UINT64_C(0xFEDCBA9876543210));
779 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
780 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
820 &framer_, GG_UINT64_C(0xFEDCBA9876543210));
834 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
835 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
890 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
891 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
930 QuicFramerPeer::SetLastSequenceNumber(&framer_,
946 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
947 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
985 QuicFramerPeer::SetLastSequenceNumber(&framer_,
1001 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
1002 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
1040 QuicFramerPeer::SetLastSequenceNumber(&framer_,
1056 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
1057 EXPECT_EQ(QUIC_MISSING_PAYLOAD, framer_.error());
1117 framer_.set_validate_flags(false);
1119 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1167 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1168 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1251 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1252 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1295 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1297 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1343 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1345 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1392 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1394 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1441 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1443 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1492 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1494 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1544 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1546 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1566 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1568 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1600 EXPECT_TRUE(framer_.ProcessRevivedPacket(&header,
1604 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1660 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1662 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1722 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1724 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1827 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1829 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
1950 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
1952 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2059 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2061 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2164 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2166 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2273 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2275 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2365 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2367 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2420 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2422 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2486 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2488 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2561 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2563 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2614 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2616 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2663 EXPECT_FALSE(framer_.ProcessPacket(encrypted));
2665 EXPECT_EQ(QUIC_INVALID_CONGESTION_FEEDBACK_DATA, framer_.error());
2692 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2694 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2757 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2759 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2820 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2822 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2879 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2881 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2935 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2937 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
2984 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
2986 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
3027 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
3029 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
3066 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
3067 ASSERT_EQ(QUIC_NO_ERROR, framer_.error());
3170 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
3171 ASSERT_EQ(QUIC_NO_ERROR, framer_.error());
3218 QuicFramerPeer::SetIsServer(&framer_, false);
3221 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
3222 ASSERT_EQ(QUIC_NO_ERROR, framer_.error());
3265 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
3267 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
3616 QuicFramerPeer::SetIsServer(&framer_, false);
3644 framer_.BuildVersionNegotiationPacket(header, versions));
3889 framer_.BuildDataPacket(header, frames, kMaxPacketSize).packet);
4004 framer_.BuildDataPacket(header, frames, kMaxPacketSize).packet);
4073 framer_.BuildDataPacket(header, frames, 37u).packet);
4142 framer_.BuildDataPacket(header, frames, 37u).packet);
4596 framer_.BuildPublicResetPacket(reset_packet));
4648 framer_.BuildPublicResetPacket(reset_packet));
4693 framer_.BuildFecPacket(header, fec_data).packet);
4729 framer_.EncryptPacket(ENCRYPTION_NONE, sequence_number, *raw));
4765 framer_.EncryptPacket(ENCRYPTION_NONE, sequence_number, *raw));
4791 framer_.BuildDataPacket(header, frames, kMaxPacketSize).packet);
4794 framer_.EncryptPacket(ENCRYPTION_NONE, header.packet_sequence_number,
4797 ASSERT_TRUE(framer_.ProcessPacket(*ack_packet));
4834 framer_.BuildDataPacket(header, frames, 500).packet);
4837 framer_.EncryptPacket(ENCRYPTION_NONE, header.packet_sequence_number,
4840 ASSERT_TRUE(framer_.ProcessPacket(*ack_packet));
4878 framer_.BuildDataPacket(header, frames, 500).packet);
4881 framer_.EncryptPacket(ENCRYPTION_NONE, header.packet_sequence_number,
4884 ASSERT_TRUE(framer_.ProcessPacket(*ack_packet));
4925 framer_.EncryptPacket(ENCRYPTION_NONE, header.packet_sequence_number,
4929 ASSERT_TRUE(framer_.ProcessPacket(*ack_packet));
4972 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
4973 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
5009 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
5010 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());
5064 framer_.set_visitor(&visitor);
5073 EXPECT_TRUE(framer_.ProcessPacket(encrypted));
5074 EXPECT_EQ(QUIC_NO_ERROR, framer_.error());