Lines Matching defs:reads
85 StrictStaticSocketDataProvider(MockRead* reads,
90 : StaticSocketDataProvider(reads, reads_count, writes, writes_count),
119 scoped_ptr<ClientSocketHandle> MakeTransportSocket(MockRead reads[],
124 reads, reads_count, writes, writes_count, expect_all_io_to_complete_));
146 void CreateStream(MockRead reads[],
151 MakeTransportSocket(reads, reads_count, writes, writes_count),
159 void CreateReadOnly(MockRead (&reads)[N]) {
160 CreateStream(reads, N, NULL, 0);
191 // A test fixture for tests that perform chunked reads.
207 // smaller). All reads must be either SYNCHRONOUS or ASYNC (not a mixture),
208 // and errors cannot be simulated. Once data is exhausted, further reads will
302 // The same behaviour applies to asynchronous reads.
316 MockRead reads[] = {MockRead(SYNCHRONOUS, kSampleFrame, 1),
318 CreateReadOnly(reads);
329 MockRead reads[] = {
332 CreateReadOnly(reads);
362 MockRead reads[] = {
367 CreateReadOnly(reads);
541 MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U),
543 CreateReadOnly(reads);
552 MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U),
554 CreateReadOnly(reads);
572 MockRead reads[] = {
576 CreateReadOnly(reads);
587 MockRead reads[] = {
593 CreateReadOnly(reads);
617 MockRead reads[] = {
623 CreateReadOnly(reads);