/third_party/rust/crates/io-lifetimes/src/ |
H A D | impls_mio.rs | 36 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 116 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 124 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 148 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 156 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 196 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 204 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() [all...] |
H A D | impls_std.rs | 72 unsafe { Self::from_raw_fd(self.into_raw_fd()) } in into_fd() 96 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 152 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 160 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 184 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 192 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 232 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 240 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 264 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 272 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() [all...] |
H A D | impls_async_std.rs | 43 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 51 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 75 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 83 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 123 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 131 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 155 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 163 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 203 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 211 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() [all...] |
H A D | impls_os_pipe.rs | 36 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 116 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 124 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 148 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 156 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from()
|
H A D | impls_socket2.rs | 36 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 44 unsafe { OwnedFd::from_raw_fd(owned.into_raw_fd()) } in from() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from()
|
H A D | impls_fs_err.rs | 36 unsafe { OwnedFd::from_raw_fd(self.into_raw_fd()) } in into_fd() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from()
|
H A D | impls_tokio.rs | 36 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from()
|
H A D | raw.rs | 123 self.into_raw_fd() in into_raw_filelike() 155 self.into_raw_fd() in into_raw_socketlike()
|
H A D | types.rs | 612 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | io_lifetimes.rs | 35 /// A version of [`into_raw_fd`] for use with Winsock2 API. 37 /// [`into_raw_fd`]: https://doc.rust-lang.org/stable/std/os/unix/io/trait.FromRawFd.html#tymethod.into_raw_fd 38 fn into_raw_fd(self) -> RawFd; in into_raw_fd() functions 43 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions
|
/third_party/rust/crates/rustix/src/io/fd/ |
H A D | raw.rs | 86 /// let raw_fd: RawFd = f.into_raw_fd(); 123 /// let raw_fd: RawFd = f.into_raw_fd(); 127 fn into_raw_fd(self) -> RawFd; in into_raw_fd() functions 146 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions
|
/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 406 execve_test_factory!(test_fexecve, fexecve, File::open("/system/bin/sh").unwrap().into_raw_fd()); 413 execve_test_factory!(test_fexecve, fexecve, File::open("/bin/sh").unwrap().into_raw_fd()); 432 File::open("/system/bin/sh").unwrap().into_raw_fd(), 435 File::open("/system/bin/").unwrap().into_raw_fd(), 438 File::open("/").unwrap().into_raw_fd(), 442 execve_test_factory!(test_execveat_empty, execveat, File::open("/bin/sh").unwrap().into_raw_fd(), 444 execve_test_factory!(test_execveat_relative, execveat, File::open("/bin/").unwrap().into_raw_fd(), 446 execve_test_factory!(test_execveat_absolute, execveat, File::open("/").unwrap().into_raw_fd(), 459 let tmpdir_fd = File::open(&tmpdir_path).unwrap().into_raw_fd(); in test_fchdir() 558 let tmpfd = tmp.into_raw_fd(); in test_lseek() [all...] |
H A D | test_pty.rs | 20 close(m.into_raw_fd()).unwrap(); in test_explicit_close()
|
/third_party/rust/crates/rustix/tests/io/ |
H A D | poll.rs | 61 let _ = a.into_raw_fd(); in test_poll_fd_set_fd() 62 let _ = b.into_raw_fd(); in test_poll_fd_set_fd()
|
H A D | from_into.rs | 18 let inner = file.into_raw_fd(); in test_owned()
|
H A D | epoll.rs | 38 let fd: RawFd = epoll.into_raw_fd(); in server()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | epoll.rs | 248 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions 249 self.epoll_fd.into_raw_fd() in into_raw_fd()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | epoll.rs | 257 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions 258 self.epoll_fd.into_raw_fd() in into_raw_fd()
|
/third_party/rust/crates/nix/src/ |
H A D | dir.rs | 59 Dir::from_fd(fd.into_raw_fd()) in from()
|
H A D | pty.rs | 59 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions
|