Home
last modified time | relevance | path

Searched refs:TestSender (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/futures-channel/benches/
Dsync_mpsc.rs78 struct TestSender { struct
84 impl Stream for TestSender { argument
108 let mut tx = TestSender { tx, last: 0 }; in bounded_1_tx()
127 TestSender { in bounded_100_tx()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dassociated_interface_unittest.cc247 class TestSender { class
249 TestSender() in TestSender() function in mojo::test::__anone7efbc620111::TestSender
256 TestSender* next_sender, in SetUp()
275 base::Bind(&TestSender::Send, base::Unretained(next_sender_), ++value)); in Send()
288 TestSender* next_sender_;
394 TestSender senders[4]; in TEST_F()
397 FROM_HERE, base::Bind(&TestSender::SetUp, base::Unretained(&senders[i]), in TEST_F()
420 FROM_HERE, base::Bind(&TestSender::Send, base::Unretained(&senders[i]), in TEST_F()
430 base::Bind(&TestSender::TearDown, base::Unretained(&senders[i])), in TEST_F()
479 TestSender senders[4]; in TEST_F()
[all …]