Home | History | Annotate | Download | only in spdy

Lines Matching refs:data

18 // Makes a SpdyFrame with |size| bytes of data copied from
19 // |data|. |data| must be non-NULL and |size| must be positive.
20 scoped_ptr<SpdyFrame> MakeSpdyFrame(const char* data, size_t size) {
21 DCHECK(data);
24 std::memcpy(frame_data.get(), data, size);
39 : IOBuffer(shared_frame->data->data() + offset),
58 shared_frame_->data = frame.Pass();
61 // The given data may not be strictly a SPDY frame; we (ab)use
63 SpdyBuffer::SpdyBuffer(const char* data, size_t size) :
66 shared_frame_->data = MakeSpdyFrame(data, size);
75 return shared_frame_->data->data() + offset_;
79 return shared_frame_->data->size() - offset_;