Lines Matching refs:MockWrite
23 MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks) {
24 MockWrite* chunks = new MockWrite[num_chunks];
30 chunks[index] = MockWrite(true, ptr, chunk_size);
38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) {
834 // Create a MockWrite from the given SpdyFrame.
835 MockWrite CreateMockWrite(const spdy::SpdyFrame& req) {
836 return MockWrite(
840 // Create a MockWrite from the given SpdyFrame and sequence number.
841 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq) {
845 // Create a MockWrite from the given SpdyFrame and sequence number.
846 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq, bool async) {
847 return MockWrite(