Lines Matching refs:MockWrite
32 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
90 MockWrite* writes,
297 MockWrite writes[] = {
298 MockWrite(false, kMsg1, kLen1, 0), // Sync Read
308 MockWrite writes[] = {
309 MockWrite(false, kMsg1, kLen1, 1), // Sync Write
320 MockWrite writes[] = {
321 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
332 MockWrite writes[] = {
333 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
334 MockWrite(false, kMsg2, kLen2, 1), // Sync Write
335 MockWrite(false, kMsg3, kLen3, 2), // Sync Write
336 MockWrite(false, kMsg3, kLen3, 3), // Sync Write
337 MockWrite(false, kMsg2, kLen2, 4), // Sync Write
338 MockWrite(false, kMsg3, kLen3, 5), // Sync Write
339 MockWrite(false, kMsg1, kLen1, 6), // Sync Write
356 MockWrite writes[] = {
357 MockWrite(true, kMsg1, kLen1, 0), // Async Write
366 MockWrite writes[] = {
367 MockWrite(true, kMsg1, kLen1, 0), // Async Write
368 MockWrite(true, kMsg2, kLen2, 1), // Async Write
369 MockWrite(true, kMsg3, kLen3, 2), // Async Write
370 MockWrite(true, kMsg3, kLen3, 3), // Async Write
371 MockWrite(true, kMsg2, kLen2, 4), // Async Write
372 MockWrite(true, kMsg3, kLen3, 5), // Async Write
373 MockWrite(true, kMsg1, kLen1, 6), // Async Write
388 MockWrite writes[] = {
389 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
390 MockWrite(true, kMsg2, kLen2, 1), // Async Write
391 MockWrite(false, kMsg3, kLen3, 2), // Sync Write
392 MockWrite(true, kMsg3, kLen3, 3), // Async Write
393 MockWrite(false, kMsg2, kLen2, 4), // Sync Write
394 MockWrite(true, kMsg3, kLen3, 5), // Async Write
395 MockWrite(false, kMsg1, kLen1, 6), // Sync Write
422 MockWrite writes[] = {
423 MockWrite(false, kMsg2, kLen2, 1), // Sync Write
424 MockWrite(false, kMsg3, kLen3, 2), // Sync Write
444 MockWrite writes[] = {
445 MockWrite(true, kMsg2, kLen2, 1), // Sync Write
446 MockWrite(true, kMsg3, kLen3, 2), // Sync Write
465 MockWrite writes[] = {
466 MockWrite(true, kMsg2, kLen2, 1), // Async Write
467 MockWrite(true, kMsg3, kLen3, 2), // Async Write
508 MockWrite writes[] = {
509 MockWrite(true, kMsg2, kLen2, 1), // Async Write
510 MockWrite(false, kMsg3, kLen3, 2), // Sync Write