Home | History | Annotate | Download | only in fastboot

Lines Matching defs:Write

302 // Fixture class to test UDP Transport read/write functionality.
328 bool Write(const std::string& message) {
329 return transport_->Write(message.data(), message.length()) ==
358 EXPECT_TRUE(Write("foo"));
371 EXPECT_TRUE(Write("foo"));
379 EXPECT_TRUE(Write("12345 67890"));
380 EXPECT_TRUE(Write("\x01\x02\x03\x04\x05"));
398 EXPECT_FALSE(Write("foo"));
405 EXPECT_FALSE(Write("foo"));
416 EXPECT_TRUE(Write("foo"));
421 // at the socket layer, a single call to Transport::Read() and Transport::Write() is all the
437 // Write data: split into 3 UDP packets, each of which will be ACKed.
444 EXPECT_TRUE(Write(data));
516 EXPECT_TRUE(Write("foo"));
522 EXPECT_FALSE(Write("foo"));
529 EXPECT_EQ(-1, transport_->Write("foo", 3));