HomeSort by relevance Sort by last modified time
    Searched full:framer (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/chromium_org/net/quic/test_tools/
quic_framer_peer.cc 15 QuicFramer* framer,
18 return framer->CalculatePacketSequenceNumberFromWire(sequence_number_length,
23 void QuicFramerPeer::SetLastSerializedGuid(QuicFramer* framer, QuicGuid guid) {
24 framer->last_serialized_guid_ = guid;
28 QuicFramer* framer,
30 framer->last_sequence_number_ = packet_sequence_number;
33 void QuicFramerPeer::SetIsServer(QuicFramer* framer, bool is_server) {
34 framer->is_server_ = is_server;
quic_framer_peer.h 19 QuicFramer* framer,
22 static void SetLastSerializedGuid(QuicFramer* framer, QuicGuid guid);
24 QuicFramer* framer,
26 static void SetIsServer(QuicFramer* framer, bool is_server);
  /external/chromium_org/media/cast/framer/
framer.gyp 22 'framer.cc',
23 'framer.h',
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();
55 // Reset framer state to original state and flush all pending buffers.
67 DISALLOW_COPY_AND_ASSIGN(Framer);
framer.cc 5 #include "media/cast/framer/framer.h"
14 Framer::Framer(base::TickClock* clock,
26 Framer::~Framer() {}
28 bool Framer::InsertPacket(const uint8* payload_data,
56 bool Framer::GetEncodedAudioFrame(EncodedAudioFrame* audio_frame,
79 bool Framer::GetEncodedVideoFrame(EncodedVideoFrame* video_frame,
104 void Framer::Reset()
    [all...]
  /external/chromium_org/net/spdy/
spdy_framer_test.cc 35 MOCK_METHOD1(OnError, void(SpdyFramer* framer));
91 SpdyFramer* framer, const SpdyFrameType& frame) {
92 DecompressionVisitor visitor(framer->protocol_version());
93 framer->set_visitor(&visitor);
94 CHECK_EQ(frame.size(), framer->ProcessInput(frame.data(), frame.size()));
95 CHECK_EQ(SpdyFramer::SPDY_RESET, framer->state());
96 framer->set_visitor(NULL);
101 if (framer->protocol_version() == 4) {
104 framer->protocol_version());
107 visitor.size() - framer->GetControlFrameHeaderSize()
    [all...]
spdy_frame_builder.cc 60 bool SpdyFrameBuilder::WriteControlFrameHeader(const SpdyFramer& framer,
65 DCHECK_GT(4, framer.protocol_version());
68 flags, capacity_ - framer.GetControlFrameHeaderSize());
69 success &= WriteUInt16(kControlFlagMask | framer.protocol_version());
72 DCHECK_EQ(framer.GetControlFrameHeaderSize(), length());
76 bool SpdyFrameBuilder::WriteDataFrameHeader(const SpdyFramer& framer,
79 if (framer.protocol_version() >= 4) {
80 return WriteFramePrefix(framer, DATA, flags, stream_id);
85 size_t length_field = capacity_ - framer.GetDataFrameMinimumSize();
92 DCHECK_EQ(framer.GetDataFrameMinimumSize(), length())
    [all...]
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.CreateSettings(settings));
50 builder.WriteControlFrameHeader(framer, SETTINGS, 0);
52 builder.WriteFramePrefix(framer, SETTINGS, 0, 0);
56 builder.RewriteLength(framer);
buffered_spdy_framer_unittest.cc 119 // Convenience function which runs a framer simulation with particular input.
127 // into the framer. This simulates getting strange-sized reads from
201 SpdyFramer framer(spdy_version());
208 scoped_ptr<SpdyFrame> control_frame(framer.CreateSettings(settings));
222 BufferedSpdyFramer framer(spdy_version(), true);
224 framer.CreateSynStream(1, // stream_id
247 BufferedSpdyFramer framer(spdy_version(), true);
249 framer.CreateSynReply(1, // stream_id
269 BufferedSpdyFramer framer(spdy_version(), true);
271 framer.CreateHeaders(1, // stream_i
    [all...]
spdy_frame_builder.h 51 // version-specific information from the |framer| and length information from
54 bool WriteControlFrameHeader(const SpdyFramer& framer,
59 // information from the |framer| and length information from capacity_.
60 bool WriteDataFrameHeader(const SpdyFramer& framer,
65 // version-specific information from the |framer| and length information from
68 bool WriteFramePrefix(const SpdyFramer& framer,
102 // The framer parameter is used to determine version-specific location and
105 bool RewriteLength(const SpdyFramer& framer);
109 // The framer parameter is used to determine version-specific location and
112 bool OverwriteLength(const SpdyFramer& framer, size_t length)
    [all...]
  /external/chromium_org/media/cast/video_receiver/
video_receiver.gypi 23 'framer/framer.gyp:cast_framer',
  /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...]
  /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 27 // BalsaFrame is a 'Model' of a framer (haha).
28 // It exists as a proof of concept headers framer.
53 // Reset reinitializes all the member variables of the framer and clears the
60 // to the framer. This is a required step before the framer will process any
62 // To detach the header object from the framer, use set_balsa_headers(NULL).
232 virtual void HandleHeaderError(BalsaFrame* framer) OVERRIDE {}
233 virtual void HandleHeaderWarning(BalsaFrame* framer) OVERRIDE {}
234 virtual void HandleChunkingError(BalsaFrame* framer) OVERRIDE {}
235 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/net/spdy/
spdy_framer_test.cc 79 void FramerSetEnableCompressionHelper(SpdyFramer* framer, bool compress) {
80 framer->set_enable_compression(compress);
156 // Convenience function which runs a framer simulation with particular input.
165 // into the framer. This simulates getting strange-sized reads from
235 SpdyFramer framer; local
239 framer.CreateSynStream(1, 0, 1, CONTROL_FLAG_NONE, true, &headers));
243 EXPECT_TRUE(framer.ParseHeaderBlock(frame.get(), &new_headers));
271 SpdyFramer framer; local
272 FramerSetEnableCompressionHelper(&framer, false);
273 EXPECT_TRUE(framer.ParseHeaderBlock(control_frame.get(), &new_headers))
313 SpdyFramer framer; local
340 SpdyFramer framer; local
366 SpdyFramer framer; local
382 SpdyFramer framer; local
410 SpdyFramer framer; local
443 SpdyFramer framer; local
745 SpdyFramer framer; local
811 SpdyFramer framer; local
895 SpdyFramer framer; local
928 SpdyFramer framer; local
1004 SpdyFramer framer; local
1034 SpdyFramer framer; local
1076 SpdyFramer framer; local
1135 SpdyFramer framer; local
1149 SpdyFramer framer; local
1175 SpdyFramer framer; local
1251 SpdyFramer framer; local
1281 SpdyFramer framer; local
1336 SpdyFramer framer; local
    [all...]
  /external/chromium/net/tools/flip_server/
balsa_frame.h 27 // BalsaFrame is a 'Model' of a framer (haha).
28 // It exists as a proof of concept headers framer.
53 // Reset reinitializes all the member variables of the framer and clears the
60 // to the framer. This is a required step before the framer will process any
62 // To detach the header object from the framer, use set_balsa_headers(NULL).
231 virtual void HandleHeaderError(BalsaFrame* framer) {}
232 virtual void HandleHeaderWarning(BalsaFrame* framer) {}
233 virtual void HandleChunkingError(BalsaFrame* framer) {}
234 virtual void HandleBodyError(BalsaFrame* framer) {}
    [all...]
balsa_visitor_interface.h 153 // framer - the framer in which an error occured.
154 virtual void HandleHeaderError(BalsaFrame* framer) = 0;
160 // framer - the framer in which an error occured.
161 virtual void HandleHeaderWarning(BalsaFrame* framer) = 0;
166 // framer - the framer in which an error occured.
167 virtual void HandleChunkingError(BalsaFrame* framer) = 0;
175 // framer - the framer in which an error occured
    [all...]
mem_cache.h 51 virtual void HandleHeaderError(BalsaFrame* framer);
52 virtual void HandleHeaderWarning(BalsaFrame* framer);
53 virtual void HandleChunkingError(BalsaFrame* framer);
54 virtual void HandleBodyError(BalsaFrame* framer);
mem_cache.cc 32 void StoreBodyAndHeadersVisitor::HandleHeaderError(BalsaFrame* framer) {
36 void StoreBodyAndHeadersVisitor::HandleHeaderWarning(BalsaFrame* framer) {
40 void StoreBodyAndHeadersVisitor::HandleChunkingError(BalsaFrame* framer) {
44 void StoreBodyAndHeadersVisitor::HandleBodyError(BalsaFrame* framer) {
142 BalsaFrame framer; local
143 framer.set_balsa_visitor(&visitor);
144 framer.set_balsa_headers(&(visitor.headers));
156 pos += framer.ProcessInput(filename_contents.data() + pos,
158 if (framer.Error() || pos == old_pos) {
161 if (framer.Error())
    [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...]
  /external/chromium_org/media/cast/audio_receiver/
audio_decoder.h 12 #include "media/cast/framer/cast_message_builder.h"
13 #include "media/cast/framer/frame_id_map.h"
  /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 {
151 BalsaFrame framer; local
152 framer.set_balsa_headers(&response_headers);
153 framer.set_balsa_visitor(&caching_visitor);
157 processed += framer.ProcessInput(file_contents.c_str() + processed,

Completed in 867 milliseconds

1 2 3 4 5