framer 29 net/quic/crypto/crypto_framer.cc virtual void OnError(CryptoFramer* framer) OVERRIDE { error_ = true; } framer 59 net/quic/crypto/crypto_framer.cc CryptoFramer framer; framer 61 net/quic/crypto/crypto_framer.cc framer.set_visitor(&visitor); framer 62 net/quic/crypto/crypto_framer.cc if (!framer.ProcessInput(in) || visitor.error() || framer 63 net/quic/crypto/crypto_framer.cc framer.InputBytesRemaining()) { framer 30 net/quic/crypto/crypto_framer.h virtual void OnError(CryptoFramer* framer) = 0; framer 36 net/quic/crypto/crypto_framer_test.cc virtual void OnError(CryptoFramer* framer) OVERRIDE { framer 37 net/quic/crypto/crypto_framer_test.cc DLOG(ERROR) << "CryptoFramer Error: " << framer->error(); framer 89 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 90 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 126 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 127 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 153 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 154 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 169 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 170 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 205 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 206 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 243 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 244 net/quic/crypto/crypto_framer_test.cc scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); framer 254 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 255 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 281 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 282 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(0u, framer.InputBytesRemaining()); framer 294 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 295 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 328 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 329 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(0u, framer.InputBytesRemaining()); framer 342 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 343 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 369 net/quic/crypto/crypto_framer_test.cc EXPECT_TRUE(framer.ProcessInput(StringPiece(AsChars(input) + i, 1))); framer 371 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(0u, framer.InputBytesRemaining()); framer 382 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 383 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 403 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 404 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(QUIC_CRYPTO_TAGS_OUT_OF_ORDER, framer.error()); framer 410 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 411 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 431 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 432 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(QUIC_CRYPTO_TAGS_OUT_OF_ORDER, framer.error()); framer 438 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 439 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 451 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 452 net/quic/crypto/crypto_framer_test.cc EXPECT_EQ(QUIC_CRYPTO_TOO_MANY_ENTRIES, framer.error()); framer 458 net/quic/crypto/crypto_framer_test.cc CryptoFramer framer; framer 459 net/quic/crypto/crypto_framer_test.cc framer.set_visitor(&visitor); framer 479 net/quic/crypto/crypto_framer_test.cc framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); framer 43 net/quic/quic_client_session_test.cc QuicFramer framer(QuicSupportedVersions(), QuicTime::Zero(), true); framer 45 net/quic/quic_client_session_test.cc framer.set_visitor(&visitor); framer 47 net/quic/quic_client_session_test.cc EXPECT_TRUE(framer.ProcessPacket(packet)); framer 265 net/quic/quic_connection.cc void QuicConnection::OnError(QuicFramer* framer) { framer 268 net/quic/quic_connection.cc if (!connected_ || framer->error() == QUIC_DECRYPTION_FAILURE) { framer 271 net/quic/quic_connection.cc SendConnectionCloseWithDetails(framer->error(), framer->detailed_error()); framer 300 net/quic/quic_connection.h virtual void OnError(QuicFramer* framer) OVERRIDE; framer 303 net/quic/quic_connection_test.cc QuicFramer framer(SupportedVersions(version_), framer 306 net/quic/quic_connection_test.cc framer.SetDecrypter(new TaggingDecrypter); framer 309 net/quic/quic_connection_test.cc framer.set_visitor(&visitor_); framer 310 net/quic/quic_connection_test.cc EXPECT_TRUE(framer.ProcessPacket(packet)); framer 46 net/quic/quic_crypto_client_stream_test.cc CryptoFramer framer; framer 47 net/quic/quic_crypto_client_stream_test.cc message_data_.reset(framer.ConstructHandshakeMessage(message_)); framer 97 net/quic/quic_crypto_server_stream_test.cc CryptoFramer framer; framer 98 net/quic/quic_crypto_server_stream_test.cc message_data_.reset(framer.ConstructHandshakeMessage(message_)); framer 27 net/quic/quic_crypto_stream.cc void QuicCryptoStream::OnError(CryptoFramer* framer) { framer 29 net/quic/quic_crypto_stream.cc << QuicUtils::ErrorToString(framer->error()); framer 37 net/quic/quic_crypto_stream.h virtual void OnError(CryptoFramer* framer) OVERRIDE; framer 60 net/quic/quic_crypto_stream_test.cc CryptoFramer framer; framer 61 net/quic/quic_crypto_stream_test.cc message_data_.reset(framer.ConstructHandshakeMessage(message_)); framer 60 net/quic/quic_framer.h virtual void OnError(QuicFramer* framer) = 0; framer 82 net/quic/quic_headers_stream.cc virtual void OnError(SpdyFramer* framer) OVERRIDE { framer 29 net/quic/quic_headers_stream_test.cc MOCK_METHOD1(OnError, void(SpdyFramer* framer)); framer 512 net/quic/quic_http_stream.cc SpdyFramer framer(SPDY3); framer 515 net/quic/quic_http_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), framer 59 net/quic/quic_packet_creator.cc QuicFramer* framer, framer 63 net/quic/quic_packet_creator.cc framer_(framer), framer 50 net/quic/quic_packet_creator.h QuicFramer* framer, framer 44 net/quic/test_tools/crypto_test_utils.cc virtual void OnError(CryptoFramer* framer) OVERRIDE { error_ = true; } framer 72 net/quic/test_tools/crypto_test_utils.cc SimpleQuicFramer framer(source_conn->supported_versions()); framer 81 net/quic/test_tools/crypto_test_utils.cc QuicConnectionPeer::SwapCrypters(dest_conn, framer.framer()); framer 87 net/quic/test_tools/crypto_test_utils.cc ASSERT_TRUE(framer.ProcessPacket(*source_conn->encrypted_packets_[index])); framer 89 net/quic/test_tools/crypto_test_utils.cc i = framer.stream_frames().begin(); framer 90 net/quic/test_tools/crypto_test_utils.cc i != framer.stream_frames().end(); ++i) { framer 98 net/quic/test_tools/crypto_test_utils.cc QuicConnectionPeer::SwapCrypters(dest_conn, framer.framer()); framer 143 net/quic/test_tools/quic_connection_peer.cc QuicFramer* framer) { framer 144 net/quic/test_tools/quic_connection_peer.cc framer->SwapCryptersForTest(&connection->framer_); framer 89 net/quic/test_tools/quic_connection_peer.h static void SwapCrypters(QuicConnection* connection, QuicFramer* framer); framer 15 net/quic/test_tools/quic_framer_peer.cc QuicFramer* framer, framer 18 net/quic/test_tools/quic_framer_peer.cc return framer->CalculatePacketSequenceNumberFromWire(sequence_number_length, framer 24 net/quic/test_tools/quic_framer_peer.cc QuicFramer* framer, QuicConnectionId connection_id) { framer 25 net/quic/test_tools/quic_framer_peer.cc framer->last_serialized_connection_id_ = connection_id; framer 29 net/quic/test_tools/quic_framer_peer.cc QuicFramer* framer, framer 31 net/quic/test_tools/quic_framer_peer.cc framer->last_sequence_number_ = packet_sequence_number; framer 34 net/quic/test_tools/quic_framer_peer.cc void QuicFramerPeer::SetIsServer(QuicFramer* framer, bool is_server) { framer 35 net/quic/test_tools/quic_framer_peer.cc framer->is_server_ = is_server; framer 19 net/quic/test_tools/quic_framer_peer.h QuicFramer* framer, framer 22 net/quic/test_tools/quic_framer_peer.h static void SetLastSerializedConnectionId(QuicFramer* framer, framer 25 net/quic/test_tools/quic_framer_peer.h QuicFramer* framer, framer 27 net/quic/test_tools/quic_framer_peer.h static void SetIsServer(QuicFramer* framer, bool is_server); framer 85 net/quic/test_tools/quic_test_packet_maker.cc QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); framer 87 net/quic/test_tools/quic_test_packet_maker.cc framer.BuildUnsizedDataPacket(header, frames).packet); framer 88 net/quic/test_tools/quic_test_packet_maker.cc return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( framer 132 net/quic/test_tools/quic_test_packet_maker.cc QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); framer 146 net/quic/test_tools/quic_test_packet_maker.cc framer.BuildUnsizedDataPacket(header, frames).packet); framer 147 net/quic/test_tools/quic_test_packet_maker.cc return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( framer 226 net/quic/test_tools/quic_test_packet_maker.cc QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); framer 230 net/quic/test_tools/quic_test_packet_maker.cc framer.BuildUnsizedDataPacket(header, frames).packet); framer 231 net/quic/test_tools/quic_test_packet_maker.cc return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( framer 496 net/quic/test_tools/quic_test_utils.cc QuicFramer framer(QuicSupportedVersions(), QuicTime::Zero(), false); framer 498 net/quic/test_tools/quic_test_utils.cc framer.BuildUnsizedDataPacket(header, frames).packet); framer 500 net/quic/test_tools/quic_test_utils.cc QuicEncryptedPacket* encrypted = framer.EncryptPacket(ENCRYPTION_NONE, framer 105 net/quic/test_tools/quic_test_utils.h MOCK_METHOD1(OnError, void(QuicFramer* framer)); framer 142 net/quic/test_tools/quic_test_utils.h virtual void OnError(QuicFramer* framer) OVERRIDE {} framer 29 net/quic/test_tools/simple_quic_framer.cc virtual void OnError(QuicFramer* framer) OVERRIDE { framer 30 net/quic/test_tools/simple_quic_framer.cc error_ = framer->error(); framer 49 net/quic/test_tools/simple_quic_framer.h QuicFramer* framer(); framer 200 net/spdy/buffered_spdy_framer_unittest.cc SpdyFramer framer(spdy_version()); framer 204 net/spdy/buffered_spdy_framer_unittest.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); framer 218 net/spdy/buffered_spdy_framer_unittest.cc BufferedSpdyFramer framer(spdy_version(), true); framer 220 net/spdy/buffered_spdy_framer_unittest.cc framer.CreateSynStream(1, // stream_id framer 242 net/spdy/buffered_spdy_framer_unittest.cc BufferedSpdyFramer framer(spdy_version(), true); framer 244 net/spdy/buffered_spdy_framer_unittest.cc framer.CreateSynReply(1, // stream_id framer 269 net/spdy/buffered_spdy_framer_unittest.cc BufferedSpdyFramer framer(spdy_version(), true); framer 271 net/spdy/buffered_spdy_framer_unittest.cc framer.CreateHeaders(1, // stream_id framer 19 net/spdy/mock_spdy_framer_visitor.h MOCK_METHOD1(OnError, void(SpdyFramer* framer)); framer 60 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::WriteControlFrameHeader(const SpdyFramer& framer, framer 63 net/spdy/spdy_frame_builder.cc DCHECK_GT(4, framer.protocol_version()); framer 65 net/spdy/spdy_frame_builder.cc SpdyConstants::SerializeFrameType(framer.protocol_version(), type)); framer 68 net/spdy/spdy_frame_builder.cc flags, capacity_ - framer.GetControlFrameHeaderSize()); framer 69 net/spdy/spdy_frame_builder.cc success &= WriteUInt16(kControlFlagMask | framer.protocol_version()); framer 71 net/spdy/spdy_frame_builder.cc SpdyConstants::SerializeFrameType(framer.protocol_version(), type)); framer 73 net/spdy/spdy_frame_builder.cc DCHECK_EQ(framer.GetControlFrameHeaderSize(), length()); framer 77 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::WriteDataFrameHeader(const SpdyFramer& framer, framer 80 net/spdy/spdy_frame_builder.cc if (framer.protocol_version() >= 4) { framer 81 net/spdy/spdy_frame_builder.cc return WriteFramePrefix(framer, DATA, flags, stream_id); framer 86 net/spdy/spdy_frame_builder.cc size_t length_field = capacity_ - framer.GetDataFrameMinimumSize(); framer 93 net/spdy/spdy_frame_builder.cc DCHECK_EQ(framer.GetDataFrameMinimumSize(), length()); framer 97 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::WriteFramePrefix(const SpdyFramer& framer, framer 102 net/spdy/spdy_frame_builder.cc SpdyConstants::SerializeFrameType(framer.protocol_version(), type)); framer 104 net/spdy/spdy_frame_builder.cc DCHECK_LE(4, framer.protocol_version()); framer 110 net/spdy/spdy_frame_builder.cc success &= WriteUInt16(capacity_ - framer.GetControlFrameHeaderSize()); framer 112 net/spdy/spdy_frame_builder.cc success &= WriteUInt16(capacity_ - framer.GetDataFrameMinimumSize()); framer 115 net/spdy/spdy_frame_builder.cc SpdyConstants::SerializeFrameType(framer.protocol_version(), type)); framer 118 net/spdy/spdy_frame_builder.cc DCHECK_EQ(framer.GetDataFrameMinimumSize(), length()); framer 153 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::RewriteLength(const SpdyFramer& framer) { framer 154 net/spdy/spdy_frame_builder.cc return OverwriteLength(framer, framer 155 net/spdy/spdy_frame_builder.cc length_ - framer.GetControlFrameHeaderSize()); framer 158 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::OverwriteLength(const SpdyFramer& framer, framer 160 net/spdy/spdy_frame_builder.cc if (framer.protocol_version() < 4) { framer 161 net/spdy/spdy_frame_builder.cc DCHECK_GT(framer.GetFrameMaximumSize() - framer.GetFrameMinimumSize(), framer 164 net/spdy/spdy_frame_builder.cc DCHECK_GE(framer.GetFrameMaximumSize(), length); framer 169 net/spdy/spdy_frame_builder.cc if (framer.protocol_version() < 4) { framer 187 net/spdy/spdy_frame_builder.cc bool SpdyFrameBuilder::OverwriteFlags(const SpdyFramer& framer, framer 189 net/spdy/spdy_frame_builder.cc DCHECK_LE(SPDY4, framer.protocol_version()); framer 54 net/spdy/spdy_frame_builder.h bool WriteControlFrameHeader(const SpdyFramer& framer, framer 60 net/spdy/spdy_frame_builder.h bool WriteDataFrameHeader(const SpdyFramer& framer, framer 68 net/spdy/spdy_frame_builder.h bool WriteFramePrefix(const SpdyFramer& framer, framer 111 net/spdy/spdy_frame_builder.h bool RewriteLength(const SpdyFramer& framer); framer 118 net/spdy/spdy_frame_builder.h bool OverwriteLength(const SpdyFramer& framer, size_t length); framer 123 net/spdy/spdy_frame_builder.h bool OverwriteFlags(const SpdyFramer& framer, uint8 flags); framer 45 net/spdy/spdy_frame_builder_test.cc SpdyFramer framer(spdy_version_); framer 47 net/spdy/spdy_frame_builder_test.cc scoped_ptr<SpdyFrame> expected(framer.SerializeSettings(settings_ir)); framer 50 net/spdy/spdy_frame_builder_test.cc builder.WriteControlFrameHeader(framer, SETTINGS, 0); framer 53 net/spdy/spdy_frame_builder_test.cc builder.WriteFramePrefix(framer, SETTINGS, 0, 0); framer 56 net/spdy/spdy_frame_builder_test.cc builder.RewriteLength(framer); framer 65 net/spdy/spdy_frame_builder_test.cc SpdyFramer framer(spdy_version_); framer 71 net/spdy/spdy_frame_builder_test.cc scoped_ptr<SpdyFrame> expected(framer.SerializeHeaders(headers_ir)); framer 73 net/spdy/spdy_frame_builder_test.cc builder.WriteFramePrefix(framer, HEADERS, HEADERS_FLAG_END_HEADERS, 1); framer 74 net/spdy/spdy_frame_builder_test.cc builder.OverwriteFlags(framer, 0); framer 2534 net/spdy/spdy_framer.cc explicit FrameSerializationVisitor(SpdyFramer* framer) : framer_(framer) {} framer 130 net/spdy/spdy_framer.h virtual void OnError(SpdyFramer* framer) = 0; framer 56 net/spdy/spdy_framer_test.cc SpdyFramer* framer, const SpdyFrameType& frame) { framer 57 net/spdy/spdy_framer_test.cc DecompressionVisitor visitor(framer->protocol_version()); framer 58 net/spdy/spdy_framer_test.cc framer->set_visitor(&visitor); framer 59 net/spdy/spdy_framer_test.cc CHECK_EQ(frame.size(), framer->ProcessInput(frame.data(), frame.size())); framer 60 net/spdy/spdy_framer_test.cc CHECK_EQ(SpdyFramer::SPDY_RESET, framer->state()); framer 61 net/spdy/spdy_framer_test.cc framer->set_visitor(NULL); framer 67 net/spdy/spdy_framer_test.cc visitor.size() - framer->GetControlFrameHeaderSize(), framer 68 net/spdy/spdy_framer_test.cc framer->protocol_version()); framer 84 net/spdy/spdy_framer_test.cc virtual void OnError(SpdyFramer* framer) OVERRIDE { LOG(FATAL); } framer 118 net/spdy/spdy_framer_test.cc SpdyFramer framer(version_); framer 119 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 125 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 127 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetSynStreamMinimumSize()); framer 128 net/spdy/spdy_framer_test.cc size_ += framer.GetSynStreamMinimumSize(); framer 132 net/spdy/spdy_framer_test.cc SpdyFramer framer(version_); framer 133 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 136 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers)); framer 138 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetHeadersMinimumSize()); framer 139 net/spdy/spdy_framer_test.cc size_ += framer.GetSynStreamMinimumSize(); framer 163 net/spdy/spdy_framer_test.cc SpdyFramer framer(version_); framer 164 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 167 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers)); framer 169 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetHeadersMinimumSize()); framer 170 net/spdy/spdy_framer_test.cc size_ += framer.GetHeadersMinimumSize(); framer 180 net/spdy/spdy_framer_test.cc SpdyFramer framer(version_); framer 181 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 183 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializePushPromise(push_promise)); framer 185 net/spdy/spdy_framer_test.cc memcpy(buffer_.get(), frame->data(), framer.GetPushPromiseMinimumSize()); framer 186 net/spdy/spdy_framer_test.cc size_ += framer.GetPushPromiseMinimumSize(); framer 498 net/spdy/spdy_framer_test.cc const SpdyFramer& framer) { framer 499 net/spdy/spdy_framer_test.cc return base::StringPiece(frame->data() + framer.GetSynStreamMinimumSize(), framer 500 net/spdy/spdy_framer_test.cc frame->size() - framer.GetSynStreamMinimumSize()); framer 587 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 588 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 596 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 612 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 613 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 620 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 637 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 638 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 642 net/spdy/spdy_framer_test.cc scoped_ptr<SpdySerializedFrame> frame(framer.SerializeSynReply(syn_reply)); framer 646 net/spdy/spdy_framer_test.cc EXPECT_CALL(visitor, OnError(testing::Eq(&framer))); framer 647 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); framer 648 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.HasError()); framer 649 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_CONTROL_FRAME, framer.error_code()) framer 650 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 657 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 658 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 662 net/spdy/spdy_framer_test.cc scoped_ptr<SpdySerializedFrame> frame(framer.SerializeHeaders(headers_ir)); framer 666 net/spdy/spdy_framer_test.cc EXPECT_CALL(visitor, OnError(testing::Eq(&framer))); framer 667 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); framer 668 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.HasError()); framer 669 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_CONTROL_FRAME, framer.error_code()) framer 670 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 681 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 682 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 687 net/spdy/spdy_framer_test.cc framer.SerializePushPromise(push_promise)); framer 691 net/spdy/spdy_framer_test.cc EXPECT_CALL(visitor, OnError(testing::Eq(&framer))); framer 692 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); framer 693 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.HasError()); framer 694 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_CONTROL_FRAME, framer.error_code()) framer 695 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 706 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 707 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 712 net/spdy/spdy_framer_test.cc framer.SerializePushPromise(push_promise)); framer 716 net/spdy/spdy_framer_test.cc EXPECT_CALL(visitor, OnError(testing::Eq(&framer))); framer 717 net/spdy/spdy_framer_test.cc EXPECT_GT(frame->size(), framer.ProcessInput(frame->data(), frame->size())); framer 718 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.HasError()); framer 719 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_CONTROL_FRAME, framer.error_code()) framer 720 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 730 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 734 net/spdy/spdy_framer_test.cc frame.WriteControlFrameHeader(framer, SYN_STREAM, CONTROL_FLAG_NONE); framer 739 net/spdy/spdy_framer_test.cc frame.WriteFramePrefix(framer, HEADERS, HEADERS_FLAG_PRIORITY, 3); framer 740 net/spdy/spdy_framer_test.cc frame.WriteUInt32(framer.GetHighestPriority()); framer 757 net/spdy/spdy_framer_test.cc frame.RewriteLength(framer); framer 760 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 763 net/spdy/spdy_framer_test.cc GetSerializedHeaders(control_frame.get(), framer); framer 765 net/spdy/spdy_framer_test.cc EXPECT_FALSE(framer.ParseHeaderBlockInBuffer(serialized_headers.data(), framer 771 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 775 net/spdy/spdy_framer_test.cc frame.WriteControlFrameHeader(framer, SYN_STREAM, CONTROL_FLAG_NONE); framer 780 net/spdy/spdy_framer_test.cc frame.WriteFramePrefix(framer, framer 784 net/spdy/spdy_framer_test.cc frame.WriteUInt32(framer.GetHighestPriority()); framer 804 net/spdy/spdy_framer_test.cc frame.RewriteLength(framer); framer 806 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 825 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 826 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(visitor.get()); framer 835 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame1(framer.SerializeSynStream(syn_stream)); framer 838 net/spdy/spdy_framer_test.cc visitor->last_frame_len_ - framer.GetSynStreamMinimumSize(); framer 854 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame2(framer.SerializeSynStream(syn_stream)); framer 857 net/spdy/spdy_framer_test.cc visitor->last_frame_len_ - framer.GetSynStreamMinimumSize(); framer 864 net/spdy/spdy_framer_test.cc &framer, *frame1.get())); framer 868 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(visitor.get()); framer 870 net/spdy/spdy_framer_test.cc &framer, *frame2.get())); framer 872 net/spdy/spdy_framer_test.cc frame4->size() - framer.GetSynStreamMinimumSize(); framer 874 net/spdy/spdy_framer_test.cc visitor->last_frame_len_ - framer.GetSynStreamMinimumSize(); framer 900 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 902 net/spdy/spdy_framer_test.cc framer.SerializeSynStream(syn_stream)); framer 917 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 918 net/spdy/spdy_framer_test.cc framer.set_enable_compression(true); framer 919 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame1(framer.SerializeSynStream(syn_stream)); framer 1455 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 1456 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeWindowUpdate( framer 1480 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 1499 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1510 net/spdy/spdy_framer_test.cc frame.reset(framer.SerializeDataFrameHeader(data_header_ir)); framer 1514 net/spdy/spdy_framer_test.cc framer.GetDataFrameMinimumSize(), framer 1516 net/spdy/spdy_framer_test.cc framer.GetDataFrameMinimumSize()); framer 1542 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1565 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1591 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1612 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1638 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1667 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 1673 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 1674 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 1718 net/spdy/spdy_framer_test.cc syn_stream.set_priority(framer.GetLowestPriority()); framer 1721 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 1773 net/spdy/spdy_framer_test.cc syn_stream.set_priority(framer.GetHighestPriority()); framer 1777 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 1834 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 1849 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 1850 net/spdy/spdy_framer_test.cc framer.set_enable_compression(true); framer 1897 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 1910 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 1911 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 1952 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynReply(syn_reply)); framer 2002 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynReply(syn_reply)); framer 2052 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynReply(syn_reply)); framer 2067 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2068 net/spdy/spdy_framer_test.cc framer.set_enable_compression(true); framer 2110 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynReply(syn_reply)); framer 2123 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2140 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeRstStream(rst_stream)); framer 2164 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeRstStream(rst_stream)); framer 2188 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeRstStream(rst_stream)); framer 2198 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2238 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSettings(settings_ir)); framer 2310 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSettings(settings_ir)); framer 2334 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSettings(settings_ir)); framer 2344 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2371 net/spdy/spdy_framer_test.cc frame.reset(framer.SerializePing(ping_ir)); framer 2376 net/spdy/spdy_framer_test.cc frame.reset(framer.SerializePing(ping_ir)); framer 2381 net/spdy/spdy_framer_test.cc frame.reset(framer.SerializePing(SpdyPingIR(0x12345678ull))); framer 2388 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2411 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeGoAway(goaway_ir)); framer 2442 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeGoAway(goaway_ir)); framer 2454 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2455 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 2496 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers_ir)); framer 2546 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers_ir)); framer 2596 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers_ir)); framer 2611 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2612 net/spdy/spdy_framer_test.cc framer.set_enable_compression(true); framer 2654 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers_ir)); framer 2667 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2683 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 1))); framer 2704 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeWindowUpdate( framer 2726 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeWindowUpdate( framer 2741 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2749 net/spdy/spdy_framer_test.cc scoped_ptr<SpdySerializedFrame> frame(framer.SerializeFrame(blocked_ir)); framer 2758 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2764 net/spdy/spdy_framer_test.cc framer.SerializeBlocked(SpdyBlockedIR(kStreamId))); framer 2767 net/spdy/spdy_framer_test.cc framer.SerializeFrame(blocked_ir)); framer 2777 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2796 net/spdy/spdy_framer_test.cc framer.SerializePushPromise(push_promise)); framer 2801 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2807 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynStream(syn_stream)); framer 2819 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2824 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynReply(syn_reply)); framer 2842 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2847 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeHeaders(headers_ir)); framer 2866 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2872 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeHeaders(headers_ir)); framer 2897 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2898 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 2902 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynStream(syn_stream)); framer 2904 net/spdy/spdy_framer_test.cc framer.GetControlFrameBufferMaxSize() - control_frame->size(); framer 2909 net/spdy/spdy_framer_test.cc control_frame.reset(framer.SerializeSynStream(syn_stream)); framer 2911 net/spdy/spdy_framer_test.cc EXPECT_EQ(framer.GetControlFrameBufferMaxSize(), control_frame->size()); framer 2932 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2933 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 2937 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynStream(syn_stream)); framer 2939 net/spdy/spdy_framer_test.cc framer.GetControlFrameBufferMaxSize() - control_frame->size() + 1; framer 2947 net/spdy/spdy_framer_test.cc control_frame.reset(framer.SerializeSynStream(syn_stream)); framer 2950 net/spdy/spdy_framer_test.cc EXPECT_EQ(framer.GetControlFrameBufferMaxSize() + 1, framer 2961 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 2975 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 2980 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynStream(syn_stream)); framer 2992 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3014 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3015 net/spdy/spdy_framer_test.cc framer.set_enable_compression(false); framer 3022 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSynStream(syn_stream)); framer 3030 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3035 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3050 net/spdy/spdy_framer_test.cc framer.GetGoAwayMinimumSize() - framer.GetControlFrameHeaderSize() - 1; framer 3058 net/spdy/spdy_framer_test.cc length + framer.GetControlFrameHeaderSize() - framer 3075 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3080 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3082 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); framer 3088 net/spdy/spdy_framer_test.cc framer.GetControlFrameHeaderSize()); framer 3100 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3109 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); framer 3116 net/spdy/spdy_framer_test.cc framer.GetControlFrameHeaderSize() + kNewLength); framer 3124 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3139 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); framer 3176 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3235 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3295 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3321 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3322 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3326 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 3335 net/spdy/spdy_framer_test.cc CHECK_EQ(8u, framer.ProcessInput(frame->data(), 8)); framer 3336 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_READ_PADDING_LENGTH); framer 3337 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3341 net/spdy/spdy_framer_test.cc CHECK_EQ(1u, framer.ProcessInput(frame->data() + bytes_consumed, 1)); framer 3342 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_READ_PADDING_LENGTH); framer 3343 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3347 net/spdy/spdy_framer_test.cc CHECK_EQ(1u, framer.ProcessInput(frame->data() + bytes_consumed, 1)); framer 3348 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_FORWARD_STREAM_FRAME); framer 3349 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3354 net/spdy/spdy_framer_test.cc CHECK_EQ(2u, framer.ProcessInput(frame->data() + bytes_consumed, 2)); framer 3355 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_FORWARD_STREAM_FRAME); framer 3356 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3361 net/spdy/spdy_framer_test.cc CHECK_EQ(3u, framer.ProcessInput(frame->data() + bytes_consumed, 3)); framer 3362 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_CONSUME_PADDING); framer 3363 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3368 net/spdy/spdy_framer_test.cc CHECK_EQ(100u, framer.ProcessInput(frame->data() + bytes_consumed, 100)); framer 3369 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_CONSUME_PADDING); framer 3370 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3375 net/spdy/spdy_framer_test.cc CHECK_EQ(410u, framer.ProcessInput(frame->data() + bytes_consumed, 410)); framer 3376 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.state(), SpdyFramer::SPDY_RESET); framer 3377 net/spdy/spdy_framer_test.cc CHECK_EQ(framer.error_code(), SpdyFramer::SPDY_NO_ERROR); framer 3381 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3383 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 2))); framer 3396 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3424 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3447 net/spdy/spdy_framer_test.cc framer.SerializeWindowUpdate(net::SpdyWindowUpdateIR(1, 2))); framer 3463 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3481 net/spdy/spdy_framer_test.cc framer.SerializeContinuation(continuation)); framer 3490 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3496 net/spdy/spdy_framer_test.cc framer.SerializePushPromise(push_promise)); framer 3538 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3583 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3630 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3668 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3670 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3676 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3696 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3698 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3704 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3727 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3729 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3735 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3764 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3766 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3772 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3780 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3793 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3811 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3823 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3824 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetDataFrameMinimumSize()); framer 3826 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetSynReplyMinimumSize()); framer 3827 net/spdy/spdy_framer_test.cc EXPECT_EQ(12u, framer.GetRstStreamMinimumSize()); framer 3828 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetSettingsMinimumSize()); framer 3829 net/spdy/spdy_framer_test.cc EXPECT_EQ(16u, framer.GetPingSize()); framer 3830 net/spdy/spdy_framer_test.cc EXPECT_EQ(16u, framer.GetGoAwayMinimumSize()); framer 3831 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetHeadersMinimumSize()); framer 3832 net/spdy/spdy_framer_test.cc EXPECT_EQ(12u, framer.GetWindowUpdateSize()); framer 3833 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetBlockedSize()); framer 3834 net/spdy/spdy_framer_test.cc EXPECT_EQ(12u, framer.GetPushPromiseMinimumSize()); framer 3835 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetFrameMinimumSize()); framer 3836 net/spdy/spdy_framer_test.cc EXPECT_EQ(16383u, framer.GetFrameMaximumSize()); framer 3837 net/spdy/spdy_framer_test.cc EXPECT_EQ(16375u, framer.GetDataFrameMaximumPayload()); framer 3839 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetControlFrameHeaderSize()); framer 3840 net/spdy/spdy_framer_test.cc EXPECT_EQ(18u, framer.GetSynStreamMinimumSize()); framer 3841 net/spdy/spdy_framer_test.cc EXPECT_EQ(IsSpdy2() ? 14u : 12u, framer.GetSynReplyMinimumSize()); framer 3842 net/spdy/spdy_framer_test.cc EXPECT_EQ(16u, framer.GetRstStreamMinimumSize()); framer 3843 net/spdy/spdy_framer_test.cc EXPECT_EQ(12u, framer.GetSettingsMinimumSize()); framer 3844 net/spdy/spdy_framer_test.cc EXPECT_EQ(12u, framer.GetPingSize()); framer 3845 net/spdy/spdy_framer_test.cc EXPECT_EQ(IsSpdy2() ? 12u : 16u, framer.GetGoAwayMinimumSize()); framer 3846 net/spdy/spdy_framer_test.cc EXPECT_EQ(IsSpdy2() ? 14u : 12u, framer.GetHeadersMinimumSize()); framer 3847 net/spdy/spdy_framer_test.cc EXPECT_EQ(16u, framer.GetWindowUpdateSize()); framer 3848 net/spdy/spdy_framer_test.cc EXPECT_EQ(8u, framer.GetFrameMinimumSize()); framer 3849 net/spdy/spdy_framer_test.cc EXPECT_EQ(16777223u, framer.GetFrameMaximumSize()); framer 3850 net/spdy/spdy_framer_test.cc EXPECT_EQ(16777215u, framer.GetDataFrameMaximumPayload()); framer 3975 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3976 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3979 net/spdy/spdy_framer_test.cc framer.ProcessInput("HTTP/1.1", 8); framer 3980 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.probable_http_response()); framer 3981 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 3982 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_DATA_FRAME_FLAGS, framer.error_code()) framer 3983 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 3987 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 3988 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 3991 net/spdy/spdy_framer_test.cc framer.ProcessInput("HTTP/1.0", 8); framer 3992 net/spdy/spdy_framer_test.cc EXPECT_TRUE(framer.probable_http_response()); framer 3993 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 3994 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_INVALID_DATA_FRAME_FLAGS, framer.error_code()) framer 3995 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4008 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4009 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4012 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 4025 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4027 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4029 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4030 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4032 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4033 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4034 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4051 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4052 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4055 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeData(data_ir)); framer 4073 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4076 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4078 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4079 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4081 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4082 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4083 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4094 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4095 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4096 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(&debug_visitor); framer 4104 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 4140 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4143 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4145 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4146 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4151 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4153 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4154 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4156 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4157 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4158 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4172 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4173 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4177 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynReply(syn_reply)); framer 4191 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4193 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4195 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4196 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4198 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4199 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4200 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4210 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4211 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4214 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeRstStream(rst_stream)); framer 4223 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4225 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4227 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4228 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4230 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4231 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4232 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4243 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4244 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4251 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSettings(settings_ir)); framer 4264 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4266 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4268 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4269 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4271 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4272 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4273 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4284 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4285 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4289 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSettings(settings_ir)); framer 4300 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4302 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4304 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4305 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4308 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4310 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4311 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4313 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4314 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4315 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4325 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4326 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4329 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeGoAway(goaway_ir)); framer 4338 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4340 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4342 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4343 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4345 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4346 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4347 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4361 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4362 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4366 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeHeaders(headers_ir)); framer 4390 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4392 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4394 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4395 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4398 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4400 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4401 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4403 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4404 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4405 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4407 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4408 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4409 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4419 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4420 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4422 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializePing(SpdyPingIR(42))); framer 4434 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4437 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4438 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4439 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4441 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4443 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4444 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4454 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4455 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4457 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeWindowUpdate( framer 4467 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4469 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4471 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4472 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4474 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4475 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4476 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4491 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4492 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4493 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(&debug_visitor); framer 4500 net/spdy/spdy_framer_test.cc framer.SerializePushPromise(push_promise)); framer 4513 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4515 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4517 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4518 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4520 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4521 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4522 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4537 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4538 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4539 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(&debug_visitor); framer 4551 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame0(framer.SerializeHeaders(headers_ir)); framer 4556 net/spdy/spdy_framer_test.cc framer.SerializeContinuation(continuation)); framer 4569 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame0->data(), frame0->size()); framer 4570 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), frame->size()); framer 4572 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_ERROR, framer.state()); framer 4574 net/spdy/spdy_framer_test.cc framer.error_code()) framer 4575 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4577 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4578 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4579 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4587 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4588 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4589 net/spdy/spdy_framer_test.cc framer.set_debug_visitor(&debug_visitor); framer 4595 net/spdy/spdy_framer_test.cc scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); framer 4599 net/spdy/spdy_framer_test.cc framer.GetSynStreamMinimumSize() - framer.GetControlFrameHeaderSize(), framer 4606 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), framer.GetSynStreamMinimumSize()); framer 4607 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4608 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4609 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4653 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4654 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4658 net/spdy/spdy_framer_test.cc framer.ProcessInput(reinterpret_cast<const char*>(kV4RstStreamInvalid), framer 4661 net/spdy/spdy_framer_test.cc framer.ProcessInput(reinterpret_cast<const char*>(kV3RstStreamInvalid), framer 4664 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4665 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4666 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4670 net/spdy/spdy_framer_test.cc framer.ProcessInput( framer 4674 net/spdy/spdy_framer_test.cc framer.ProcessInput( framer 4678 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4679 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4680 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4704 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4705 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4709 net/spdy/spdy_framer_test.cc framer.ProcessInput(reinterpret_cast<const char*>(kV2FrameData), framer 4712 net/spdy/spdy_framer_test.cc framer.ProcessInput(reinterpret_cast<const char*>(kV3FrameData), framer 4715 net/spdy/spdy_framer_test.cc framer.ProcessInput(reinterpret_cast<const char*>(kV4FrameData), framer 4718 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4719 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4720 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 4731 net/spdy/spdy_framer_test.cc SpdyFramer framer(spdy_version_); framer 4732 net/spdy/spdy_framer_test.cc framer.set_visitor(&visitor); framer 4737 net/spdy/spdy_framer_test.cc scoped_ptr<SpdySerializedFrame> frame(framer.SerializeFrame(blocked_ir)); framer 4738 net/spdy/spdy_framer_test.cc framer.ProcessInput(frame->data(), framer.GetBlockedSize()); framer 4740 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_RESET, framer.state()); framer 4741 net/spdy/spdy_framer_test.cc EXPECT_EQ(SpdyFramer::SPDY_NO_ERROR, framer.error_code()) framer 4742 net/spdy/spdy_framer_test.cc << SpdyFramer::ErrorCodeToString(framer.error_code()); framer 317 net/spdy/spdy_http_stream_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 322 net/spdy/spdy_http_stream_unittest.cc framer.CreateDataFrame(1, kUploadData, kUploadDataSize, DATA_FLAG_FIN)); framer 1982 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 1998 net/spdy/spdy_network_transaction_unittest.cc scoped_ptr<SpdyFrame> req(framer.SerializeFrame(syn_ir)); framer 2026 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 2045 net/spdy/spdy_network_transaction_unittest.cc scoped_ptr<SpdyFrame> req(framer.SerializeFrame(syn_ir)); framer 3598 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 3601 net/spdy/spdy_network_transaction_unittest.cc syn_reply_wrong_length->size() - framer.GetControlFrameHeaderSize() : framer 3649 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 3651 net/spdy/spdy_network_transaction_unittest.cc syn_reply_wrong_length->size() - framer.GetControlFrameHeaderSize(); framer 3863 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 3871 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "goodby", 6, DATA_FLAG_NONE)); framer 3873 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "e worl", 6, DATA_FLAG_NONE)); framer 3883 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "d", 1, DATA_FLAG_FIN)); framer 3957 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 3965 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_NONE)); framer 3967 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_FIN)); framer 4052 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 4063 net/spdy/spdy_network_transaction_unittest.cc scoped_ptr<SpdyFrame> syn_reply(framer.SerializeFrame(reply_ir)); framer 4065 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_NONE)); framer 4067 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_FIN)); framer 4146 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 4155 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_NONE)); framer 4237 net/spdy/spdy_network_transaction_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 4245 net/spdy/spdy_network_transaction_unittest.cc framer.CreateDataFrame(1, "message", 7, DATA_FLAG_NONE)); framer 2307 net/spdy/spdy_session_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 2319 net/spdy/spdy_session_unittest.cc kMaxReadBytesWithoutYielding / 4 - framer.GetControlFrameHeaderSize(); framer 2326 net/spdy/spdy_session_unittest.cc framer.CreateDataFrame(1, payload_data, kPayloadSize, DATA_FLAG_NONE)); framer 2328 net/spdy/spdy_session_unittest.cc framer.CreateDataFrame(1, payload_data, kPayloadSize - 1, DATA_FLAG_FIN)); framer 2398 net/spdy/spdy_session_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 2410 net/spdy/spdy_session_unittest.cc kMaxReadBytesWithoutYielding / 4 - framer.GetControlFrameHeaderSize(); framer 2417 net/spdy/spdy_session_unittest.cc framer.CreateDataFrame(1, payload_data, kPayloadSize, DATA_FLAG_NONE)); framer 2419 net/spdy/spdy_session_unittest.cc framer.CreateDataFrame(1, "h", 1, DATA_FLAG_FIN)); framer 2496 net/spdy/spdy_session_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 2509 net/spdy/spdy_session_unittest.cc kMaxReadBytesWithoutYielding / 4 - framer.GetControlFrameHeaderSize(); framer 2523 net/spdy/spdy_session_unittest.cc scoped_ptr<SpdyFrame> eightk_data_frame(framer.CreateDataFrame( framer 2525 net/spdy/spdy_session_unittest.cc scoped_ptr<SpdyFrame> twok_data_frame(framer.CreateDataFrame( framer 2527 net/spdy/spdy_session_unittest.cc scoped_ptr<SpdyFrame> finish_data_frame(framer.CreateDataFrame( framer 2600 net/spdy/spdy_session_unittest.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 259 net/spdy/spdy_test_util_common.cc BufferedSpdyFramer framer(version, false); framer 261 net/spdy/spdy_test_util_common.cc framer.set_visitor(&priority_getter); framer 263 net/spdy/spdy_test_util_common.cc if (framer.ProcessInput(frame.data(), frame_size) != frame_size) { framer 738 net/spdy/spdy_test_util_common.cc BufferedSpdyFramer framer(spdy_version_, header_info.compressed); framer 742 net/spdy/spdy_test_util_common.cc frame = framer.CreateDataFrame(header_info.id, header_info.data, framer 748 net/spdy/spdy_test_util_common.cc frame = framer.CreateSynStream(header_info.id, header_info.assoc_id, framer 755 net/spdy/spdy_test_util_common.cc frame = framer.CreateSynReply(header_info.id, header_info.control_flags, framer 759 net/spdy/spdy_test_util_common.cc frame = framer.CreateRstStream(header_info.id, header_info.status); framer 762 net/spdy/spdy_test_util_common.cc frame = framer.CreateHeaders(header_info.id, header_info.control_flags, framer 1154 net/spdy/spdy_test_util_common.cc SpdyFramer framer(spdy_version_); framer 1158 net/spdy/spdy_test_util_common.cc return framer.SerializeData(data_ir); framer 1165 net/spdy/spdy_test_util_common.cc SpdyFramer framer(spdy_version_); framer 1168 net/spdy/spdy_test_util_common.cc return framer.SerializeData(data_ir); framer 140 net/spdy/spdy_websocket_test_util.cc BufferedSpdyFramer framer(spdy_util_.spdy_version(), false); framer 141 net/spdy/spdy_websocket_test_util.cc return framer.CreateDataFrame( framer 232 net/tools/balsa/balsa_frame.h virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE {} framer 233 net/tools/balsa/balsa_frame.h virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} framer 234 net/tools/balsa/balsa_frame.h virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE {} framer 235 net/tools/balsa/balsa_frame.h virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE {} framer 153 net/tools/balsa/balsa_visitor_interface.h virtual void HandleHeaderError(BalsaFrame* framer) = 0; framer 160 net/tools/balsa/balsa_visitor_interface.h virtual void HandleHeaderWarning(BalsaFrame* framer) = 0; framer 166 net/tools/balsa/balsa_visitor_interface.h virtual void HandleChunkingError(BalsaFrame* framer) = 0; framer 175 net/tools/balsa/balsa_visitor_interface.h virtual void HandleBodyError(BalsaFrame* framer) = 0; framer 49 net/tools/balsa/noop_balsa_visitor.h virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { } framer 50 net/tools/balsa/noop_balsa_visitor.h virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { } framer 51 net/tools/balsa/noop_balsa_visitor.h virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { } framer 52 net/tools/balsa/noop_balsa_visitor.h virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { } framer 76 net/tools/flip_server/http_interface.cc void HttpSM::HandleHeaderError(BalsaFrame* framer) { HandleError(); } framer 78 net/tools/flip_server/http_interface.cc void HttpSM::HandleChunkingError(BalsaFrame* framer) { HandleError(); } framer 80 net/tools/flip_server/http_interface.cc void HttpSM::HandleBodyError(BalsaFrame* framer) { HandleError(); } framer 61 net/tools/flip_server/http_interface.h virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; framer 62 net/tools/flip_server/http_interface.h virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} framer 63 net/tools/flip_server/http_interface.h virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; framer 64 net/tools/flip_server/http_interface.h virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE; framer 37 net/tools/flip_server/mem_cache.cc void StoreBodyAndHeadersVisitor::HandleHeaderError(BalsaFrame* framer) { framer 41 net/tools/flip_server/mem_cache.cc void StoreBodyAndHeadersVisitor::HandleHeaderWarning(BalsaFrame* framer) { framer 45 net/tools/flip_server/mem_cache.cc void StoreBodyAndHeadersVisitor::HandleChunkingError(BalsaFrame* framer) { framer 49 net/tools/flip_server/mem_cache.cc void StoreBodyAndHeadersVisitor::HandleBodyError(BalsaFrame* framer) { framer 139 net/tools/flip_server/mem_cache.cc BalsaFrame framer; framer 140 net/tools/flip_server/mem_cache.cc framer.set_balsa_visitor(&visitor); framer 141 net/tools/flip_server/mem_cache.cc framer.set_balsa_headers(&(visitor.headers)); framer 153 net/tools/flip_server/mem_cache.cc pos += framer.ProcessInput(filename_contents.data() + pos, framer 155 net/tools/flip_server/mem_cache.cc if (framer.Error() || pos == old_pos) { framer 158 net/tools/flip_server/mem_cache.cc if (framer.Error()) { framer 164 net/tools/flip_server/mem_cache.cc if (framer.MessageFullyRead()) { framer 53 net/tools/flip_server/mem_cache.h virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; framer 54 net/tools/flip_server/mem_cache.h virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE; framer 55 net/tools/flip_server/mem_cache.h virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; framer 56 net/tools/flip_server/mem_cache.h virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE; framer 190 net/tools/flip_server/streamer_interface.cc void StreamerSM::HandleHeaderError(BalsaFrame* framer) { HandleError(); } framer 192 net/tools/flip_server/streamer_interface.cc void StreamerSM::HandleChunkingError(BalsaFrame* framer) { HandleError(); } framer 194 net/tools/flip_server/streamer_interface.cc void StreamerSM::HandleBodyError(BalsaFrame* framer) { HandleError(); } framer 119 net/tools/flip_server/streamer_interface.h virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; framer 120 net/tools/flip_server/streamer_interface.h virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} framer 121 net/tools/flip_server/streamer_interface.h virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; framer 122 net/tools/flip_server/streamer_interface.h virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE; framer 59 net/tools/quic/quic_dispatcher.cc virtual void OnError(QuicFramer* framer) OVERRIDE { framer 60 net/tools/quic/quic_dispatcher.cc DVLOG(1) << QuicUtils::ErrorToString(framer->error()); framer 155 net/tools/quic/quic_dispatcher.h QuicFramer* framer() { return &framer_; } framer 38 net/tools/quic/quic_in_memory_cache.cc virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { framer 41 net/tools/quic/quic_in_memory_cache.cc virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { framer 44 net/tools/quic/quic_in_memory_cache.cc virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { framer 47 net/tools/quic/quic_in_memory_cache.cc virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { framer 163 net/tools/quic/quic_in_memory_cache.cc BalsaFrame framer; framer 164 net/tools/quic/quic_in_memory_cache.cc framer.set_balsa_headers(&response_headers); framer 165 net/tools/quic/quic_in_memory_cache.cc framer.set_balsa_visitor(&caching_visitor); framer 169 net/tools/quic/quic_in_memory_cache.cc processed += framer.ProcessInput(file_contents.c_str() + processed, framer 98 net/tools/quic/quic_spdy_client_stream.cc SpdyFramer framer(SPDY3); framer 101 net/tools/quic/quic_spdy_client_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), framer 69 net/tools/quic/quic_spdy_server_stream.cc SpdyFramer framer(SPDY3); framer 72 net/tools/quic/quic_spdy_server_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), framer 163 net/tools/quic/quic_time_wait_list_manager_test.cc QuicFramer framer(QuicSupportedVersions(), framer 166 net/tools/quic/quic_time_wait_list_manager_test.cc framer.set_visitor(&visitor); framer 169 net/tools/quic/quic_time_wait_list_manager_test.cc framer.ProcessPacket(encrypted);