Home
last modified time | relevance | path

Searched refs:from_be (Results 1 – 9 of 9) sorted by relevance

/external/crosvm/data_model/src/
Dendian.rs114 endian_type!(u16, Be16, to_be, from_be);
115 endian_type!(i16, SBe16, to_be, from_be);
116 endian_type!(u32, Be32, to_be, from_be);
117 endian_type!(i32, SBe32, to_be, from_be);
118 endian_type!(u64, Be64, to_be, from_be);
119 endian_type!(i64, SBe64, to_be, from_be);
120 endian_type!(usize, BeSize, to_be, from_be);
121 endian_type!(isize, SBeSize, to_be, from_be);
/external/rust/crates/num-traits/src/
Dint.rs238 fn from_be(x: Self) -> Self; in from_be() method
368 fn from_be(x: Self) -> Self {
369 <$T>::from_be(x)
/external/rust/crates/ring/src/aead/
Dblock.rs55 u64::from_be(self.subblocks[0]),
56 u64::from_be(self.subblocks[1]),
/external/rust/crates/ring/src/
Dendian.rs135 impl_endian!(BigEndian, u32, to_be, from_be, 4);
136 impl_endian!(BigEndian, u64, to_be, from_be, 8);
/external/rust/crates/mio/src/sys/unix/
Dnet.rs152 let port = u16::from_be(addr.sin_port); in to_socket_addr()
159 let port = u16::from_be(addr.sin6_port); in to_socket_addr()
/external/rust/crates/mio/src/sys/windows/
Dtcp.rs129 let port = u16::from_be(addr.sin_port); in get_localaddr()
135 let port = u16::from_be(addr.sin6_port); in get_localaddr()
/external/crosvm/sys_util/src/
Dnet.rs226 Ok(u16::from_be(sin.sin_port)) in local_port()
255 Ok(u16::from_be(sin6.sin6_port)) in local_port()
/external/rust/crates/nix/src/sys/socket/
Daddr.rs314 InetAddr::V6(ref sa) => u16::from_be(sa.sin6_port), in port()
315 InetAddr::V4(ref sa) => u16::from_be(sa.sin_port), in port()
432 let bits = u32::from_be(self.0.s_addr);
/external/rust/crates/quiche/src/
Doctets.rs74 Ok(<$ty>::from_be(out))