Lines Matching refs:buffer
24 scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(length);
25 memcpy(buffer->data(), data, length);
26 pending_buffers_.push_back(buffer);
37 scoped_refptr<IOBufferWithSize> buffer = pending_buffers_.front();
43 ParseWebSocketFrame(buffer->data(), buffer->size(), &frame_info);
51 original_current_buffer_size_ = buffer->size();
52 buffer_size = buffer->size();
55 current_buffer_ = buffer;
74 scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(buffer_size);
75 memcpy(buffer->data(), front_buffer->data() + original_current_buffer_size_,
78 memcpy(buffer->data() + remaining_size,
80 pending_buffers_.push_front(buffer);
89 const char* buffer, int size, std::vector<FrameInfo>* frame_info) {
90 const char* end = buffer + size;
91 const char* p = buffer;