/external/chromium_org/net/quic/test_tools/ |
quic_framer_peer.h | 19 QuicFramer* framer, 22 static void SetLastSerializedConnectionId(QuicFramer* framer, 25 QuicFramer* framer, 27 static void SetIsServer(QuicFramer* framer, bool is_server);
|
quic_framer_peer.cc | 15 QuicFramer* framer, 18 return framer->CalculatePacketSequenceNumberFromWire(sequence_number_length, 24 QuicFramer* framer, QuicConnectionId connection_id) { 25 framer->last_serialized_connection_id_ = connection_id; 29 QuicFramer* framer, 31 framer->last_sequence_number_ = packet_sequence_number; 34 void QuicFramerPeer::SetIsServer(QuicFramer* framer, bool is_server) { 35 framer->is_server_ = is_server;
|
quic_test_packet_maker.cc | 85 QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); 87 BuildUnsizedDataPacket(&framer, header, frames).packet); 88 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( 132 QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); 146 BuildUnsizedDataPacket(&framer, header, frames).packet); 147 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( 226 QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); 230 BuildUnsizedDataPacket(&framer, header, frames).packet); 231 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket(
|
/external/chromium_org/media/cast/framer/ |
framer.cc | 5 #include "media/cast/framer/framer.h" 14 Framer::Framer(base::TickClock* clock, 30 Framer::~Framer() {} 32 bool Framer::InsertPacket(const uint8* payload_data, 65 bool Framer::GetEncodedFrame(transport::EncodedFrame* frame, 99 void Framer::Reset() { 105 void Framer::ReleaseFrame(uint32 frame_id) [all...] |
framer.h | 15 #include "media/cast/framer/cast_message_builder.h" 16 #include "media/cast/framer/frame_buffer.h" 17 #include "media/cast/framer/frame_id_map.h" 26 class Framer { 28 Framer(base::TickClock* clock, 33 ~Framer(); 54 // Reset framer state to original state and flush all pending buffers. 66 DISALLOW_COPY_AND_ASSIGN(Framer);
|
/external/chromium_org/net/spdy/ |
spdy_frame_builder_test.cc | 42 // Create an empty SETTINGS frame both via framer and manually via builder. 45 SpdyFramer framer(spdy_version_); 47 scoped_ptr<SpdyFrame> expected(framer.SerializeSettings(settings_ir)); 50 builder.WriteControlFrameHeader(framer, SETTINGS, 0); 53 builder.BeginNewFrame(framer, SETTINGS, 0, 0); 56 builder.RewriteLength(framer); 63 // Create a HEADERS frame both via framer and manually via builder with 65 SpdyFramer framer(spdy_version_); 70 scoped_ptr<SpdyFrame> expected(framer.SerializeHeaders(headers_ir)); 72 builder.BeginNewFrame(framer, HEADERS, 0, 1) [all...] |
spdy_frame_builder.cc | 62 bool SpdyFrameBuilder::WriteControlFrameHeader(const SpdyFramer& framer, 70 flags, capacity_ - framer.GetControlFrameHeaderSize()); 74 SpdyConstants::SerializeFrameType(framer.protocol_version(), type)); 76 DCHECK_EQ(framer.GetControlFrameHeaderSize(), length()); 80 bool SpdyFrameBuilder::WriteDataFrameHeader(const SpdyFramer& framer, 84 return BeginNewFrame(framer, DATA, flags, stream_id); 89 size_t length_field = capacity_ - framer.GetDataFrameMinimumSize(); 96 DCHECK_EQ(framer.GetDataFrameMinimumSize(), length()); 100 bool SpdyFrameBuilder::BeginNewFrame(const SpdyFramer& framer, 107 DCHECK_LT(SPDY3, framer.protocol_version()) [all...] |
spdy_framer_test.cc | 57 SpdyFramer* framer, const SpdyFrameType& frame) { 58 DecompressionVisitor visitor(framer->protocol_version()); 59 framer->set_visitor(&visitor); 60 CHECK_EQ(frame.size(), framer->ProcessInput(frame.data(), frame.size())); 61 CHECK_EQ(SpdyFramer::SPDY_RESET, framer->state()); 62 framer->set_visitor(NULL); 68 visitor.size() - framer->GetControlFrameHeaderSize(), 69 framer->protocol_version()); 85 virtual void OnError(SpdyFramer* framer) OVERRIDE { LOG(FATAL); } 119 SpdyFramer framer(version_) [all...] |
spdy_frame_builder.h | 52 // version-specific information from the |framer| and length information from 55 bool WriteControlFrameHeader(const SpdyFramer& framer, 60 // information from the |framer| and length information from capacity_. 61 bool WriteDataFrameHeader(const SpdyFramer& framer, 66 // version-specific information from the |framer| and length information from 69 bool BeginNewFrame(const SpdyFramer& framer, 115 // The framer parameter is used to determine version-specific location and 118 bool RewriteLength(const SpdyFramer& framer); 122 // The framer parameter is used to determine version-specific location and 125 bool OverwriteLength(const SpdyFramer& framer, size_t length) [all...] |
buffered_spdy_framer_unittest.cc | 130 // Convenience function which runs a framer simulation with particular input. 138 // into the framer. This simulates getting strange-sized reads from 214 SpdyFramer framer(spdy_version()); 218 scoped_ptr<SpdyFrame> control_frame(framer.SerializeSettings(settings_ir)); 232 BufferedSpdyFramer framer(spdy_version(), true); 234 framer.CreateSynStream(1, // stream_id 257 BufferedSpdyFramer framer(spdy_version(), true); 259 framer.CreateSynReply(1, // stream_id 285 BufferedSpdyFramer framer(spdy_version(), true); 287 framer.CreateHeaders(1, // stream_i [all...] |
/external/chromium_org/net/quic/crypto/ |
crypto_framer_test.cc | 36 virtual void OnError(CryptoFramer* framer) OVERRIDE { 37 DLOG(ERROR) << "CryptoFramer Error: " << framer->error(); 89 CryptoFramer framer; local 90 scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); 126 CryptoFramer framer; local 127 scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); 153 CryptoFramer framer; local 154 scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)); 169 CryptoFramer framer; local 170 scoped_ptr<QuicData> data(framer.ConstructHandshakeMessage(message)) 205 CryptoFramer framer; local 243 CryptoFramer framer; local 254 CryptoFramer framer; local 294 CryptoFramer framer; local 342 CryptoFramer framer; local 382 CryptoFramer framer; local 410 CryptoFramer framer; local 438 CryptoFramer framer; local 458 CryptoFramer framer; local [all...] |
crypto_framer.h | 30 virtual void OnError(CryptoFramer* framer) = 0; 50 // Set callbacks to be called from the framer. A visitor must be set, or 51 // else the framer will crash. It is acceptable for the visitor to do 53 // will be used. |visitor| will be owned by the framer.
|
/external/chromium_org/net/tools/balsa/ |
noop_balsa_visitor.h | 49 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { } 50 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { } 51 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { } 52 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { }
|
balsa_frame.h | 25 // BalsaFrame is a 'Model' of a framer (haha). 26 // It exists as a proof of concept headers framer. 51 // Reset reinitializes all the member variables of the framer and clears the 58 // to the framer. This is a required step before the framer will process any 60 // To detach the header object from the framer, use set_balsa_headers(NULL). 230 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE {} 231 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} 232 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE {} 233 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { [all...] |
balsa_visitor_interface.h | 152 // framer - the framer in which an error occured. 153 virtual void HandleHeaderError(BalsaFrame* framer) = 0; 159 // framer - the framer in which an error occured. 160 virtual void HandleHeaderWarning(BalsaFrame* framer) = 0; 165 // framer - the framer in which an error occured. 166 virtual void HandleChunkingError(BalsaFrame* framer) = 0; 174 // framer - the framer in which an error occured [all...] |
/external/chromium_org/media/cast/ |
cast.gyp | 103 'framer/cast_message_builder.cc', 104 'framer/cast_message_builder.h', 105 'framer/frame_buffer.cc', 106 'framer/frame_buffer.h', 107 'framer/frame_id_map.cc', 108 'framer/frame_id_map.h', 109 'framer/framer.cc', 110 'framer/framer.h' [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketDeflateFramer.h | 47 static PassOwnPtr<DeflateResultHolder> create(WebSocketDeflateFramer* framer) 49 return adoptPtr(new DeflateResultHolder(framer)); 70 static PassOwnPtr<InflateResultHolder> create(WebSocketDeflateFramer* framer) 72 return adoptPtr(new InflateResultHolder(framer));
|
WebSocketDeflateFramer.cpp | 44 static PassOwnPtr<WebSocketExtensionDeflateFrame> create(WebSocketDeflateFramer* framer) 46 return adoptPtr(new WebSocketExtensionDeflateFrame(framer)); 63 WebSocketExtensionDeflateFrame::WebSocketExtensionDeflateFrame(WebSocketDeflateFramer* framer) 65 , m_framer(framer) 116 DeflateResultHolder::DeflateResultHolder(WebSocketDeflateFramer* framer) 117 : m_framer(framer) 134 InflateResultHolder::InflateResultHolder(WebSocketDeflateFramer* framer) 135 : m_framer(framer)
|
/external/chromium_org/net/tools/flip_server/ |
mem_cache.cc | 37 void StoreBodyAndHeadersVisitor::HandleHeaderError(BalsaFrame* framer) { 41 void StoreBodyAndHeadersVisitor::HandleHeaderWarning(BalsaFrame* framer) { 45 void StoreBodyAndHeadersVisitor::HandleChunkingError(BalsaFrame* framer) { 49 void StoreBodyAndHeadersVisitor::HandleBodyError(BalsaFrame* framer) { 139 BalsaFrame framer; local 140 framer.set_balsa_visitor(&visitor); 141 framer.set_balsa_headers(&(visitor.headers)); 153 pos += framer.ProcessInput(filename_contents.data() + pos, 155 if (framer.Error() || pos == old_pos) { 158 if (framer.Error()) [all...] |
http_interface.h | 61 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; 62 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} 63 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; 64 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE;
|
mem_cache.h | 53 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; 54 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE; 55 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; 56 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE;
|
streamer_interface.h | 119 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE; 120 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {} 121 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE; 122 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE;
|
/external/chromium_org/net/quic/ |
quic_crypto_stream.cc | 28 void QuicCryptoStream::OnError(CryptoFramer* framer) { 30 << QuicUtils::ErrorToString(framer->error());
|
quic_in_memory_cache.cc | 37 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { 40 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { 43 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { 46 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { 162 BalsaFrame framer; local 163 framer.set_balsa_headers(&response_headers); 164 framer.set_balsa_visitor(&caching_visitor); 168 processed += framer.ProcessInput(file_contents.c_str() + processed,
|
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache.cc | 38 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE { 41 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE { 44 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE { 47 virtual void HandleBodyError(BalsaFrame* framer) OVERRIDE { 163 BalsaFrame framer; local 164 framer.set_balsa_headers(&response_headers); 165 framer.set_balsa_visitor(&caching_visitor); 169 processed += framer.ProcessInput(file_contents.c_str() + processed,
|