Searched refs:raw_socket (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/mio/src/sys/windows/ |
D | selector.rs | 96 raw_socket: RawSocket, field 261 fn new(raw_socket: RawSocket, afd: Arc<Afd>) -> io::Result<SockState> { 266 raw_socket, 267 base_socket: get_base_socket(raw_socket)?, 631 raw_socket: RawSocket, 634 Ok(Arc::pin(Mutex::new(SockState::new(raw_socket, afd)?))) 638 fn try_get_base_socket(raw_socket: RawSocket, ioctl: u32) -> Result<RawSocket, i32> { 643 raw_socket as usize, 661 fn get_base_socket(raw_socket: RawSocket) -> io::Result<RawSocket> { 662 let res = try_get_base_socket(raw_socket, mswsock::SIO_BASE_HANDLE); [all …]
|
/external/webrtc/rtc_base/ |
D | test_echo_server.h | 42 AsyncSocket* raw_socket = socket->Accept(nullptr); in OnAccept() local 43 if (raw_socket) { in OnAccept() 44 AsyncTCPSocket* packet_socket = new AsyncTCPSocket(raw_socket, false); in OnAccept()
|
/external/rust/crates/tokio/src/net/tcp/ |
D | listener.rs | 261 .map(|raw_socket| unsafe { std::net::TcpListener::from_raw_socket(raw_socket) }) in into_std()
|
D | stream.rs | 245 .map(|raw_socket| unsafe { std::net::TcpStream::from_raw_socket(raw_socket) }) in into_std()
|
/external/rust/crates/tokio/src/net/ |
D | udp.rs | 252 .map(|raw_socket| unsafe { std::net::UdpSocket::from_raw_socket(raw_socket) }) in into_std()
|