HomeSort by relevance Sort by last modified time
    Searched refs:FlipFrame (Results 1 - 9 of 9) sorted by null

  /external/chromium/net/flip/
flip_framer.h 50 // Called if an error is detected in the FlipFrame protocol.
129 bool ParseHeaderBlock(const FlipFrame* frame, FlipHeaderBlock* block);
181 // Compresses a FlipFrame.
182 // On success, returns a new FlipFrame with the payload compressed.
186 FlipFrame* CompressFrame(const FlipFrame* frame);
188 // Decompresses a FlipFrame.
189 // On success, returns a new FlipFrame with the payload decompressed.
193 FlipFrame* DecompressFrame(const FlipFrame* frame)
    [all...]
flip_framer.cc 112 DCHECK(current_frame_len_ < FlipFrame::size());
113 return FlipFrame::size() - current_frame_len_;
212 FlipFrame current_frame(current_frame_buffer_, false);
215 if (current_frame_len_ < FlipFrame::size()) {
216 size_t bytes_desired = FlipFrame::size() - current_frame_len_;
224 if (current_frame_len_ == FlipFrame::size() &&
255 DCHECK_LE(FlipFrame::size(), current_frame_len_);
271 FlipFinStreamControlFrame::size() - FlipFrame::size())
389 int alloc_size = size + FlipFrame::size();
396 bool FlipFramer::ParseHeaderBlock(const FlipFrame* frame
    [all...]
flip_protocol.h 173 // All Flip Frame types derive from this FlipFrame class.
174 class FlipFrame {
176 // Create a FlipFrame for a given sized buffer.
177 explicit FlipFrame(size_t size) : frame_(NULL), owns_buffer_(true) {
184 // Create a FlipFrame using a pre-created buffer.
191 FlipFrame(char* data, bool owns_buffer)
197 virtual ~FlipFrame() {
228 // Note: this is not the size of the FlipFrame class.
229 // Every FlipFrame* class has a static size() method for accessing
231 // Note: this is not the same as sizeof(FlipFrame)
    [all...]
flip_frame_builder.h 47 FlipFrame* take() {
48 FlipFrame* rv = new FlipFrame(buffer_, true);
flip_framer_test.cc 115 using flip::FlipFrame;
169 frame.WriteUInt32ToOffset(4, frame.length() - FlipFrame::size());
172 scoped_ptr<FlipFrame> control_frame(frame.take());
194 frame.WriteUInt32ToOffset(4, frame.length() - FlipFrame::size());
197 scoped_ptr<FlipFrame> control_frame(frame.take());
219 frame.WriteUInt32ToOffset(4, frame.length() - FlipFrame::size());
222 scoped_ptr<FlipFrame> control_frame(frame.take());
250 scoped_ptr<FlipFrame> frame3(framer.DecompressFrame(frame1.get()));
253 scoped_ptr<FlipFrame> frame4(framer.DecompressFrame(frame2.get()));
258 FlipFrame::size() + frame3->length()))
    [all...]
flip_protocol_test.cc 13 using flip::FlipFrame;
34 EXPECT_EQ(8u, FlipFrame::size());
48 FlipFrame frame(FlipFrame::size());
flip_session.cc 358 int length = flip::FlipFrame::size() + syn_frame->length();
392 const int kMaxFlipFrameChunkSize = (2 * kMss) - flip::FlipFrame::size();
414 int length = flip::FlipFrame::size() + frame->length();
588 DCHECK_GT(result, static_cast<int>(flip::FlipFrame::size()));
589 result -= static_cast<int>(flip::FlipFrame::size());
675 // Grab the next FlipFrame to send.
681 flip::FlipFrame uncompressed_frame(next_buffer.buffer()->data(), false);
684 scoped_ptr<flip::FlipFrame> compressed_frame(
686 size = compressed_frame->length() + flip::FlipFrame::size();
697 size = uncompressed_frame.length() + flip::FlipFrame::size()
    [all...]
  /external/chromium/net/tools/flip_server/
flip_in_mem_edsm_server.cc 54 using flip::FlipFrame;
243 const int kInitialDataSendersThreshold = (2 * 1460) - FlipFrame::size();
244 const int kNormalSegmentSize = (2 * 1460) - FlipFrame::size();
    [all...]
balsa_headers.h     [all...]

Completed in 128 milliseconds