Home
last modified time | relevance | path

Searched refs:is_disconnected (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/crossbeam-channel/src/flavors/
Dzero.rs79 is_disconnected: bool, field
98 is_disconnected: false, in new()
122 } else if inner.is_disconnected { in start_send()
151 } else if inner.is_disconnected { in start_recv()
198 } else if inner.is_disconnected { in try_send()
220 if inner.is_disconnected { in send()
268 } else if inner.is_disconnected { in try_recv()
289 if inner.is_disconnected { in recv()
331 if !inner.is_disconnected { in disconnect()
332 inner.is_disconnected = true; in disconnect()
[all …]
Darray.rs375 if !self.is_full() || self.is_disconnected() { in send()
435 if !self.is_empty() || self.is_disconnected() { in recv()
501 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
594 !self.0.is_empty() || self.0.is_disconnected() in is_ready()
630 !self.0.is_full() || self.0.is_disconnected() in is_ready()
Dlist.rs468 if !self.is_empty() || self.is_disconnected() { in recv()
544 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
628 !self.0.is_empty() || self.0.is_disconnected() in is_ready()
/external/autotest/server/cros/servo/
Dpd_device.py50 def is_disconnected(self, state=None): member in PDDevice
237 def is_disconnected(self, state=None): member in PDConsoleDevice
242 return self.utils.is_disconnected(self.port, state)
286 disconnect = self.is_disconnected()
562 disconnect = self.is_disconnected()
833 if not (tester_port.is_disconnected(tester_state) and
834 dut_port.is_disconnected(dut_state)):
Dpd_console.py336 def is_disconnected(self, port, state=None): member in PDConsoleUtils
/external/rust/crates/crossbeam-channel/src/
Derr.rs210 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
274 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
321 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
360 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
/external/rust/crates/futures-channel/tests/
Dmpsc-close.rs86 assert!(err.is_disconnected()); in multiple_senders_close_channel()
102 assert!(err.is_disconnected()); in multiple_senders_close_channel()
242 Err(ref e) if e.is_disconnected() => { in stress_try_send_as_receiver_closes()
Dmpsc.rs116 Poll::Ready(Err(e)) => assert!(e.is_disconnected()), in recv_close_gets_none()
/external/rust/crates/futures-channel/src/mpsc/
Dsink_impl.rs28 Poll::Ready(Err(ref e)) if e.is_disconnected() => { in poll_flush()
Dmod.rs202 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
237 pub fn is_disconnected(&self) -> bool { in is_disconnected() method
238 self.err.is_disconnected() in is_disconnected()
/external/autotest/server/site_tests/firmware_PDProtocol/
Dfirmware_PDProtocol.py128 if self.pdtester_pd_utils.is_disconnected(self.pdtester_port):
/external/rust/crates/crossbeam-channel/
DCHANGELOG.md74 - Add methods `is_disconnected()`, `is_timeout()`, `is_empty()`, and `is_full()` on error types.