Home | History | Annotate | Download | only in spdy

Lines Matching refs:MockRead

48 MockRead* ChopReadFrame(const char* data, int length, int num_chunks) {
49 MockRead* chunks = new MockRead[num_chunks];
55 chunks[index] = MockRead(true, ptr, chunk_size);
63 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks) {
851 MockRead from the given SpdyFrame.
852 MockRead CreateMockRead(const spdy::SpdyFrame& resp) {
853 return MockRead(
857 // Create a MockRead from the given SpdyFrame and sequence number.
858 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq) {
862 // Create a MockRead from the given SpdyFrame and sequence number.
863 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq, bool async) {
864 return MockRead(