Home | History | Annotate | Download | only in socket

Lines Matching full:read

109   // Issue the read, which will complete immediately
116 // Issue the read, which will be completed asynchronously
123 // Now the read should complete
131 ASSERT_EQ(rv, sock_->Read(read_buf_, len, &read_callback_));
150 // Issue the read, which will be completed asynchronously
165 // Issue the read, which will complete asynchronously
169 // ----------- Read
173 MockRead(false, kMsg1, kLen1, 0), // Sync Read
185 MockRead(false, kMsg1, kLen1, 1), // Sync Read
198 MockRead(false, kMsg1, kLen1, 0), // Sync Read
203 // Make sure we don't stop before we've read all the data
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
222 // Make sure we don't stop before we've read all the data
235 MockRead(true, kMsg1, kLen1, 0), // Async Read
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
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
298 MockWrite(false, kMsg1, kLen1, 0), // Sync Read
326 // Make sure we don't stop before we've read all the data
344 // Make sure we don't stop before we've read all the data
417 MockRead(false, kMsg1, kLen1, 0), // Sync Read
418 MockRead(false, kMsg2, kLen2, 3), // Sync Read
429 // Make sure we don't stop before we've read/written everything
439 MockRead(true, kMsg1, kLen1, 0), // Sync Read
440 MockRead(true, kMsg2, kLen2, 3), // Sync Read
458 // Order of completion is read, write, write, read
460 MockRead(true, kMsg1, kLen1, 0), // Async Read
461 MockRead(true, kMsg2, kLen2, 3), // Async Read
472 // Issue the write, which will block until the read completes
475 // Issue the read which will return first
486 // Issue the read, which will block until the write completes
501 // Order of completion is read, write, write, read
503 MockRead(false, kMsg1, kLen1, 0), // Sync Read
504 MockRead(true, kMsg2, kLen2, 3), // Async Read
515 // Issue the write, which will block until the read completes
525 // Issue the read, which will block until the write completes