Home
last modified time | relevance | path

Searched refs:from_raw_socket (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
Dimpls_mio.rs52 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
84 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
92 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
132 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
140 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
164 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
172 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
212 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
220 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
[all …]
Dimpls_async_std.rs139 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
147 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
171 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
179 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
219 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
227 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
251 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
259 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
299 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
307 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
[all …]
Dimpls_socket2.rs52 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
84 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
92 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
Dimpls_std.rs88 unsafe { Self::from_raw_socket(self.into_raw_socket()) } in into_socket()
112 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
248 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
256 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
280 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
288 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
328 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()
336 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
360 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()
368 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
[all …]
Dtypes.rs327 unsafe { Ok(OwnedSocket::from_raw_socket(socket as _)) } in try_clone_to_owned()
351 let socket = OwnedSocket::from_raw_socket(socket as _); in try_clone_to_owned()
665 unsafe fn from_raw_socket(socket: RawSocket) -> Self { in from_raw_socket() method
Draw.rs251 Self::from_raw_socket(raw) in from_raw_socketlike()
/third_party/rust/crates/io-lifetimes/tests/
Dniche-optimizations.rs55 assert_eq!(OwnedSocket::from_raw_socket(min).into_raw_socket(), min); in test_niche_optimizations_socket()
56 assert_eq!(OwnedSocket::from_raw_socket(max).into_raw_socket(), max); in test_niche_optimizations_socket()
58 Some(OwnedSocket::from_raw_socket(min)) in test_niche_optimizations_socket()
64 Some(OwnedSocket::from_raw_socket(max)) in test_niche_optimizations_socket()
/third_party/rust/crates/rustix/src/backend/libc/
Dio_lifetimes.rs61 Self::from_raw_socket(raw_fd) in from_raw_fd()