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) {
858 // Create a MockRead from the given SpdyFrame.
859 MockRead CreateMockRead(const spdy::SpdyFrame& resp) {
860 return MockRead(
864 // Create a MockRead from the given SpdyFrame and sequence number.
865 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq) {
869 // Create a MockRead from the given SpdyFrame and sequence number.
870 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq, bool async) {
871 return MockRead(