Home | History | Annotate | Download | only in socket

Lines Matching full:kmsg1

14 static const char kMsg1[] = "\0hello!\xff";
15 static const int kLen1 = arraysize(kMsg1);
173 MockRead(false, kMsg1, kLen1, 0), // Sync Read
180 AssertReadReturns(kMsg1, kLen1, ERR_UNEXPECTED);
185 MockRead(false, kMsg1, kLen1, 1), // Sync Read
193 AssertReadReturns(kMsg1, kLen1, ERR_UNEXPECTED);
198 MockRead(false, kMsg1, kLen1, 0), // Sync Read
205 AssertSyncReadEquals(kMsg1, kLen1);
210 MockRead(false, kMsg1, kLen1, 0), // Sync Read
216 MockRead(false, kMsg1, kLen1, 6), // Sync Read
224 AssertSyncReadEquals(kMsg1, kLen1);
230 AssertSyncReadEquals(kMsg1, kLen1);
235 MockRead(true, kMsg1, kLen1, 0), // Async Read
241 AssertAsyncReadEquals(kMsg1, kLen1);
246 MockRead(true, kMsg1, kLen1, 0), // Async Read
252 MockRead(true, kMsg1, kLen1, 6), // Async Read
258 AssertAsyncReadEquals(kMsg1, kLen1);
264 AssertAsyncReadEquals(kMsg1, kLen1);
269 MockRead(false, kMsg1, kLen1, 0), // Sync Read
275 MockRead(false, kMsg1, kLen1, 6), // Sync Read
282 AssertSyncReadEquals(kMsg1, kLen1);
291 AssertSyncReadEquals(kMsg1, kLen1);
298 MockWrite(false, kMsg1, kLen1, 0), // Sync Read
304 AssertWriteReturns(kMsg1, kLen1, ERR_UNEXPECTED);
309 MockWrite(false, kMsg1, kLen1, 1), // Sync Write
316 AssertWriteReturns(kMsg1, kLen1, ERR_UNEXPECTED);
321 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
328 AssertSyncWriteEquals(kMsg1, kLen1);
333 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
339 MockWrite(false, kMsg1, kLen1, 6), // Sync Write
346 AssertSyncWriteEquals(kMsg1, kLen1);
352 AssertSyncWriteEquals(kMsg1, kLen1);
357 MockWrite(true, kMsg1, kLen1, 0), // Async Write
362 AssertAsyncWriteEquals(kMsg1, kLen1);
367 MockWrite(true, kMsg1, kLen1, 0), // Async Write
373 MockWrite(true, kMsg1, kLen1, 6), // Async Write
378 AssertAsyncWriteEquals(kMsg1, kLen1);
384 AssertAsyncWriteEquals(kMsg1, kLen1);
389 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
395 MockWrite(false, kMsg1, kLen1, 6), // Sync Write
401 AssertSyncWriteEquals(kMsg1, kLen1);
410 AssertSyncWriteEquals(kMsg1, kLen1);
417 MockRead(false, kMsg1, kLen1, 0), // Sync Read
431 AssertSyncReadEquals(kMsg1, kLen1);
439 MockRead(true, kMsg1, kLen1, 0), // Sync Read
451 AssertAsyncReadEquals(kMsg1, kLen1);
460 MockRead(true, kMsg1, kLen1, 0), // Async Read
476 AssertReadReturns(kMsg1, kLen1, ERR_IO_PENDING);
480 AssertReadBufferEquals(kMsg1, kLen1);
503 MockRead(false, kMsg1, kLen1, 0), // Sync Read
520 AssertSyncReadEquals(kMsg1, kLen1);