Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dnet.rs409 pub fn get_readable_bytes(&self) -> io::Result<usize> { in get_readable_bytes() method
931 assert_eq!(s1.get_readable_bytes().unwrap(), 0); in unix_seqpacket_get_readable_bytes()
932 assert_eq!(s2.get_readable_bytes().unwrap(), 0); in unix_seqpacket_get_readable_bytes()
936 assert_eq!(s1.get_readable_bytes().unwrap(), 0); in unix_seqpacket_get_readable_bytes()
937 assert_eq!(s2.get_readable_bytes().unwrap(), data1.len()); in unix_seqpacket_get_readable_bytes()
941 assert_eq!(s1.get_readable_bytes().unwrap(), 0); in unix_seqpacket_get_readable_bytes()
942 assert_eq!(s2.get_readable_bytes().unwrap(), 0); in unix_seqpacket_get_readable_bytes()
/external/crosvm/base/src/
Dtube.rs111 self.socket.get_readable_bytes().unwrap_or(0) > 0 in is_packet_ready()