Lines Matching refs:MockRead
32 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
88 void DeterministicSocketDataTest::Initialize(MockRead* reads,
172 MockRead reads[] = {
173 MockRead(false, kMsg1, kLen1, 0), // Sync Read
174 MockRead(false, 0, 1), // EOF
184 MockRead reads[] = {
185 MockRead(false, kMsg1, kLen1, 1), // Sync Read
186 MockRead(false, 0, 2), // EOF
197 MockRead reads[] = {
198 MockRead(false, kMsg1, kLen1, 0), // Sync Read
199 MockRead(false, 0, 1), // EOF
209 MockRead reads[] = {
210 MockRead(false, kMsg1, kLen1, 0), // Sync Read
211 MockRead(false, kMsg2, kLen2, 1), // Sync Read
212 MockRead(false, kMsg3, kLen3, 2), // Sync Read
213 MockRead(false, kMsg3, kLen3, 3), // Sync Read
214 MockRead(false, kMsg2, kLen2, 4), // Sync Read
215 MockRead(false, kMsg3, kLen3, 5), // Sync Read
216 MockRead(false, kMsg1, kLen1, 6), // Sync Read
217 MockRead(false, 0, 7), // EOF
234 MockRead reads[] = {
235 MockRead(true, kMsg1, kLen1, 0), // Async Read
236 MockRead(false, 0, 1), // EOF
245 MockRead reads[] = {
246 MockRead(true, kMsg1, kLen1, 0), // Async Read
247 MockRead(true, kMsg2, kLen2, 1), // Async Read
248 MockRead(true, kMsg3, kLen3, 2), // Async Read
249 MockRead(true, kMsg3, kLen3, 3), // Async Read
250 MockRead(true, kMsg2, kLen2, 4), // Async Read
251 MockRead(true, kMsg3, kLen3, 5), // Async Read
252 MockRead(true, kMsg1, kLen1, 6), // Async Read
253 MockRead(false, 0, 7), // EOF
268 MockRead reads[] = {
269 MockRead(false, kMsg1, kLen1, 0), // Sync Read
270 MockRead(true, kMsg2, kLen2, 1), // Async Read
271 MockRead(false, kMsg3, kLen3, 2), // Sync Read
272 MockRead(true, kMsg3, kLen3, 3), // Async Read
273 MockRead(false, kMsg2, kLen2, 4), // Sync Read
274 MockRead(true, kMsg3, kLen3, 5), // Async Read
275 MockRead(false, kMsg1, kLen1, 6), // Sync Read
276 MockRead(false, 0, 7), // EOF
416 MockRead reads[] = {
417 MockRead(false, kMsg1, kLen1, 0), // Sync Read
418 MockRead(false, kMsg2, kLen2, 3), // Sync Read
419 MockRead(false, 0, 4), // EOF
438 MockRead reads[] = {
439 MockRead(true, kMsg1, kLen1, 0), // Sync Read
440 MockRead(true, kMsg2, kLen2, 3), // Sync Read
441 MockRead(true, 0, 4), // EOF
459 MockRead reads[] = {
460 MockRead(true, kMsg1, kLen1, 0), // Async Read
461 MockRead(true, kMsg2, kLen2, 3), // Async Read
462 MockRead(true, 0, 4), // EOF
502 MockRead reads[] = {
503 MockRead(false, kMsg1, kLen1, 0), // Sync Read
504 MockRead(true, kMsg2, kLen2, 3), // Async Read
505 MockRead