| /third_party/rust/rust/library/std/src/net/ |
| D | socket_addr.rs | 186 impl ToSocketAddrs for SocketAddr { implementation 188 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 196 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 204 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 212 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 224 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 233 fn to_socket_addrs(&self) -> io::Result<option::IntoIter<SocketAddr>> { in to_socket_addrs() 239 fn resolve_socket_addr(lh: LookupHost) -> io::Result<vec::IntoIter<SocketAddr>> { in resolve_socket_addr() 253 fn to_socket_addrs(&self) -> io::Result<vec::IntoIter<SocketAddr>> { in to_socket_addrs() 273 fn to_socket_addrs(&self) -> io::Result<vec::IntoIter<SocketAddr>> { in to_socket_addrs() [all …]
|
| D | test.rs | 19 pub fn sa4(a: Ipv4Addr, p: u16) -> SocketAddr { in sa4() 23 pub fn sa6(a: Ipv6Addr, p: u16) -> SocketAddr { in sa6() 27 pub fn tsa<A: ToSocketAddrs>(a: A) -> Result<Vec<SocketAddr>, String> { in tsa()
|
| D | udp.rs | 126 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 155 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument 218 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 234 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr()
|
| D | tcp.rs | 172 pub fn connect_timeout(addr: &SocketAddr, timeout: Duration) -> io::Result<TcpStream> { in connect_timeout() 189 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 206 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr() 785 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr() 826 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument
|
| /third_party/rust/rust/library/std/src/os/unix/net/ |
| D | addr.rs | 88 pub struct SocketAddr { struct 93 impl SocketAddr { argument 109 ) -> io::Result<SocketAddr> { in from_parts() 249 impl Sealed for SocketAddr {} implementation 254 impl linux_ext::addr::SocketAddrExt for SocketAddr { implementation 287 impl fmt::Debug for SocketAddr { implementation
|
| D | datagram.rs | 284 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr() 308 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 316 ) -> io::Result<(usize, SocketAddr)> { in recv_from_flags() argument 358 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 426 ) -> io::Result<(usize, bool, SocketAddr)> { in recv_vectored_with_ancillary_from() argument 988 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument
|
| D | listener.rs | 151 pub fn accept(&self) -> io::Result<(UnixStream, SocketAddr)> { in accept() argument 195 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr()
|
| D | stream.rs | 200 pub fn local_addr(&self) -> io::Result<SocketAddr> { in local_addr() 218 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr()
|
| /third_party/rust/rust/library/core/src/net/ |
| D | socket_addr.rs | 32 pub enum SocketAddr { enum 108 impl SocketAddr { impl 126 pub const fn new(ip: IpAddr, port: u16) -> SocketAddr { in new() 541 impl From<SocketAddrV4> for SocketAddr { implementation 544 fn from(sock4: SocketAddrV4) -> SocketAddr { in from() 550 impl From<SocketAddrV6> for SocketAddr { implementation 553 fn from(sock6: SocketAddrV6) -> SocketAddr { in from() 559 impl<I: Into<IpAddr>> From<(I, u16)> for SocketAddr { implementation 566 fn from(pieces: (I, u16)) -> SocketAddr { in from() 572 impl fmt::Display for SocketAddr { implementation [all …]
|
| D | parser.rs | 267 fn read_socket_addr(&mut self) -> Option<SocketAddr> { in read_socket_addr() 411 impl SocketAddr { impl 432 impl FromStr for SocketAddr { implementation 434 fn from_str(s: &str) -> Result<SocketAddr, AddrParseError> { in from_str()
|
| /third_party/rust/crates/rustix/src/net/ |
| D | addr.rs | 40 pub enum SocketAddr { enum 116 impl SocketAddr { implementation 136 pub const fn new(ip: IpAddr, port: u16) -> SocketAddr { in new() 572 impl From<SocketAddrV4> for SocketAddr { implementation 574 fn from(sock4: SocketAddrV4) -> SocketAddr { in from() 580 impl From<SocketAddrV6> for SocketAddr { implementation 582 fn from(sock6: SocketAddrV6) -> SocketAddr { in from() 588 impl<I: Into<IpAddr>> From<(I, u16)> for SocketAddr { implementation 595 fn from(pieces: (I, u16)) -> SocketAddr { in from()
|
| D | send_recv.rs | 84 addr: &SocketAddr, in sendto() 93 addr: &SocketAddr, in _sendto()
|
| /third_party/rust/rust/library/core/tests/net/ |
| D | mod.rs | 7 pub fn sa4(a: Ipv4Addr, p: u16) -> SocketAddr { in sa4() 11 pub fn sa6(a: Ipv6Addr, p: u16) -> SocketAddr { in sa6()
|
| /third_party/rust/rust/library/std/src/sys/unix/ |
| D | l4re.rs | 25 pub fn new(_: &SocketAddr, _: libc::c_int) -> io::Result<Socket> { in new() 37 pub fn connect_timeout(&self, _: &SocketAddr, _: Duration) -> io::Result<()> { in connect_timeout() 69 pub fn recv_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 73 pub fn peek_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument 184 pub fn connect_timeout(_: &SocketAddr, _: Duration) -> io::Result<TcpStream> { in connect_timeout() 245 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 249 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 324 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 328 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument 391 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() [all …]
|
| D | net.rs | 62 pub fn new(addr: &SocketAddr, ty: c_int) -> io::Result<Socket> { in new() 141 pub fn connect_timeout(&self, addr: &SocketAddr, timeout: Duration) -> io::Result<()> { in connect_timeout() 289 ) -> io::Result<(usize, SocketAddr)> { in recv_from_with_flags() argument 306 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 316 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument
|
| /third_party/rust/rust/library/std/src/sys/unsupported/ |
| D | net.rs | 14 pub fn connect_timeout(_: &SocketAddr, _: Duration) -> io::Result<TcpStream> { in connect_timeout() 66 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 70 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 128 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 132 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument 178 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 182 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 186 pub fn recv_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 190 pub fn peek_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument 315 fn next(&mut self) -> Option<SocketAddr> { in next()
|
| /third_party/rust/rust/library/std/src/sys/sgx/ |
| D | net.rs | 83 fn addr_to_sockaddr(addr: &Option<String>) -> io::Result<SocketAddr> { in addr_to_sockaddr() 98 pub fn connect_timeout(addr: &SocketAddr, dur: Duration) -> io::Result<TcpStream> { in connect_timeout() 174 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 178 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 268 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 272 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument 334 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 338 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 342 pub fn recv_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 346 pub fn peek_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument [all …]
|
| /third_party/rust/rust/library/std/src/sys_common/ |
| D | net.rs | 106 pub fn sockaddr_to_addr(storage: &c::sockaddr_storage, len: usize) -> io::Result<SocketAddr> { in sockaddr_to_addr() 152 fn next(&mut self) -> Option<SocketAddr> { in next() 234 pub fn connect_timeout(addr: &SocketAddr, timeout: Duration) -> io::Result<TcpStream> { in connect_timeout() 305 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 309 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 441 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 445 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument 532 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 536 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 540 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument [all …]
|
| /third_party/rust/rust/library/std/src/sys/wasi/ |
| D | net.rs | 68 pub fn connect_timeout(_: &SocketAddr, _: Duration) -> io::Result<TcpStream> { in connect_timeout() 120 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 124 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 220 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 224 pub fn accept(&self) -> io::Result<(TcpStream, SocketAddr)> { in accept() argument 324 pub fn peer_addr(&self) -> io::Result<SocketAddr> { in peer_addr() 328 pub fn socket_addr(&self) -> io::Result<SocketAddr> { in socket_addr() 332 pub fn recv_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 336 pub fn peek_from(&self, _: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument 489 fn next(&mut self) -> Option<SocketAddr> { in next()
|
| /third_party/rust/rust/library/std/src/sys/hermit/ |
| D | net.rs | 48 pub fn new(addr: &SocketAddr, ty: i32) -> io::Result<Socket> { in new() 65 pub fn connect_timeout(&self, addr: &SocketAddr, timeout: Duration) -> io::Result<()> { in connect_timeout() 200 fn recv_from_with_flags(&self, buf: &mut [u8], flags: i32) -> io::Result<(usize, SocketAddr)> { in recv_from_with_flags() argument 217 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 221 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument
|
| /third_party/rust/rust/library/std/src/sys/windows/ |
| D | net.rs | 103 pub fn new(addr: &SocketAddr, ty: c_int) -> io::Result<Socket> { in new() 143 pub fn connect_timeout(&self, addr: &SocketAddr, timeout: Duration) -> io::Result<()> { in connect_timeout() 299 ) -> io::Result<(usize, SocketAddr)> { in recv_from_with_flags() argument 331 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 335 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument
|
| /third_party/rust/rust/library/std/src/sys/solid/ |
| D | net.rs | 213 pub fn new(addr: &SocketAddr, ty: c_int) -> io::Result<Socket> { in new() 231 pub fn connect_timeout(&self, addr: &SocketAddr, timeout: Duration) -> io::Result<()> { in connect_timeout() 337 ) -> io::Result<(usize, SocketAddr)> { in recv_from_with_flags() argument 354 pub fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in recv_from() argument 358 pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { in peek_from() argument
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/configs/indent_style/ |
| D | block_args.rs | 25 fn deconstruct(foo: Bar) -> (SocketAddr, Header, Method, RequestUri, HttpVersion, AAAAAAAAAAAAAAAAA… in deconstruct()
|
| /third_party/rust/rust/src/tools/rustfmt/tests/target/configs/indent_style/ |
| D | block_args.rs | 40 SocketAddr, in deconstruct()
|
| /third_party/rust/rust/library/std/src/net/udp/ |
| D | tests.rs | 8 fn each_ip(f: &mut dyn FnMut(SocketAddr, SocketAddr)) { in each_ip()
|