Home
last modified time | relevance | path

Searched refs:CompoundBuffer (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/remoting/base/
Dcompound_buffer.cc13 CompoundBuffer::DataChunk::DataChunk( in DataChunk()
20 CompoundBuffer::DataChunk::~DataChunk() {} in ~DataChunk()
22 CompoundBuffer::CompoundBuffer() in CompoundBuffer() function in remoting::CompoundBuffer
27 CompoundBuffer::~CompoundBuffer() { in ~CompoundBuffer()
30 void CompoundBuffer::Clear() { in Clear()
36 void CompoundBuffer::Append(net::IOBuffer* buffer, in Append()
48 void CompoundBuffer::Append(net::IOBuffer* buffer, int size) { in Append()
52 void CompoundBuffer::Append(const CompoundBuffer& buffer) { in Append()
59 void CompoundBuffer::Prepend(net::IOBuffer* buffer, in Prepend()
71 void CompoundBuffer::Prepend(net::IOBuffer* buffer, int size) { in Prepend()
[all …]
Dcompound_buffer.h34 class CompoundBuffer {
36 CompoundBuffer();
37 ~CompoundBuffer();
46 void Append(const CompoundBuffer& buffer);
49 void Prepend(const CompoundBuffer& buffer);
79 void CopyFrom(const CompoundBuffer& source, int start, int end);
98 DISALLOW_COPY_AND_ASSIGN(CompoundBuffer);
105 explicit CompoundBufferInputStream(const CompoundBuffer* buffer);
117 const CompoundBuffer* buffer_;
Dcompound_buffer_unittest.cc54 CompoundBuffer copy; in TestCopyFrom()
60 CompoundBuffer cropped; in TestCropFront()
68 CompoundBuffer cropped; in TestCropBack()
103 bool CompareData(const CompoundBuffer& buffer, char* data, int size) { in CompareData()
147 static void PrepareData(scoped_ptr<CompoundBuffer>* buffer) { in PrepareData()
165 CompoundBuffer* result = new CompoundBuffer(); in PrepareData()
176 CompoundBuffer target_;
261 scoped_ptr<CompoundBuffer> buffer; in TEST_F()
/external/chromium_org/remoting/protocol/
Dmessage_decoder.cc28 CompoundBuffer* MessageDecoder::GetNextMessage() { in GetNextMessage()
44 CompoundBuffer* message_buffer = new CompoundBuffer(); in GetNextMessage()
60 CompoundBuffer header_buffer; in GetPayloadSize()
Dmessage_reader.cc94 CompoundBuffer* buffer = message_decoder_.GetNextMessage(); in OnDataReceived()
102 base::Passed(scoped_ptr<CompoundBuffer>(buffer)))); in OnDataReceived()
106 void MessageReader::RunCallback(scoped_ptr<CompoundBuffer> message) { in RunCallback()
Dmessage_decoder.h46 CompoundBuffer* GetNextMessage();
54 CompoundBuffer buffer_;
Dmessage_reader.h38 typedef base::Callback<void(scoped_ptr<CompoundBuffer>, const base::Closure&)>
53 void RunCallback(scoped_ptr<CompoundBuffer> message);
104 void OnNewData(scoped_ptr<CompoundBuffer> buffer, in OnNewData()
Dmessage_reader_unittest.cc90 bool CompareResult(CompoundBuffer* buffer, const std::string& expected) { in CompareResult()
96 void OnMessage(scoped_ptr<CompoundBuffer> buffer, in OnMessage()
106 std::vector<CompoundBuffer*> messages_;
Dmessage_decoder_unittest.cc75 scoped_ptr<CompoundBuffer> message(decoder.GetNextMessage()); in SimulateReadSequence()