Lines Matching refs:kLen2
17 static const int kLen2 = arraysize(kMsg2);
211 MockRead(false, kMsg2, kLen2, 1), // Sync Read
214 MockRead(false, kMsg2, kLen2, 4), // Sync Read
225 AssertSyncReadEquals(kMsg2, kLen2);
228 AssertSyncReadEquals(kMsg2, kLen2);
247 MockRead(true, kMsg2, kLen2, 1), // Async Read
250 MockRead(true, kMsg2, kLen2, 4), // Async Read
259 AssertAsyncReadEquals(kMsg2, kLen2);
262 AssertAsyncReadEquals(kMsg2, kLen2);
270 MockRead(true, kMsg2, kLen2, 1), // Async Read
273 MockRead(false, kMsg2, kLen2, 4), // Sync Read
283 AssertAsyncReadEquals(kMsg2, kLen2);
288 AssertSyncReadEquals(kMsg2, kLen2);
334 MockWrite(false, kMsg2, kLen2, 1), // Sync Write
337 MockWrite(false, kMsg2, kLen2, 4), // Sync Write
347 AssertSyncWriteEquals(kMsg2, kLen2);
350 AssertSyncWriteEquals(kMsg2, kLen2);
368 MockWrite(true, kMsg2, kLen2, 1), // Async Write
371 MockWrite(true, kMsg2, kLen2, 4), // Async Write
379 AssertAsyncWriteEquals(kMsg2, kLen2);
382 AssertAsyncWriteEquals(kMsg2, kLen2);
390 MockWrite(true, kMsg2, kLen2, 1), // Async Write
393 MockWrite(false, kMsg2, kLen2, 4), // Sync Write
402 AssertAsyncWriteEquals(kMsg2, kLen2);
407 AssertSyncWriteEquals(kMsg2, kLen2);
418 MockRead(false, kMsg2, kLen2, 3), // Sync Read
423 MockWrite(false, kMsg2, kLen2, 1), // Sync Write
432 AssertSyncWriteEquals(kMsg2, kLen2);
434 AssertSyncReadEquals(kMsg2, kLen2);
440 MockRead(true, kMsg2, kLen2, 3), // Sync Read
445 MockWrite(true, kMsg2, kLen2, 1), // Sync Write
452 AssertAsyncWriteEquals(kMsg2, kLen2);
454 AssertAsyncReadEquals(kMsg2, kLen2);
461 MockRead(true, kMsg2, kLen2, 3), // Async Read
466 MockWrite(true, kMsg2, kLen2, 1), // Async Write
473 AssertWriteReturns(kMsg2, kLen2, ERR_IO_PENDING);
483 ASSERT_EQ(kLen2, write_callback_.WaitForResult());
487 AssertReadReturns(kMsg2, kLen2, ERR_IO_PENDING);
496 ASSERT_EQ(kLen2, read_callback_.WaitForResult());
497 AssertReadBufferEquals(kMsg2, kLen2);
504 MockRead(true, kMsg2, kLen2, 3), // Async Read
509 MockWrite(true, kMsg2, kLen2, 1), // Async Write
516 AssertWriteReturns(kMsg2, kLen2, ERR_IO_PENDING);
523 ASSERT_EQ(kLen2, write_callback_.WaitForResult());
526 AssertReadReturns(kMsg2, kLen2, ERR_IO_PENDING);
533 ASSERT_EQ(kLen2, read_callback_.WaitForResult());
534 AssertReadBufferEquals(kMsg2, kLen2);