Home
last modified time | relevance | path

Searched refs:into_raw_fd (Results 1 - 20 of 20) sorted by relevance

/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs36 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 Dimpls_std.rs72 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 Dimpls_async_std.rs43 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 Dimpls_os_pipe.rs36 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 Dimpls_socket2.rs36 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 Dimpls_fs_err.rs36 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 Dimpls_tokio.rs36 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 Draw.rs123 self.into_raw_fd() in into_raw_filelike()
155 self.into_raw_fd() in into_raw_socketlike()
H A Dtypes.rs612 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions
/third_party/rust/crates/rustix/src/backend/libc/
H A Dio_lifetimes.rs35 /// 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 Draw.rs86 /// 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 Dtest_unistd.rs406 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 Dtest_pty.rs20 close(m.into_raw_fd()).unwrap(); in test_explicit_close()
/third_party/rust/crates/rustix/tests/io/
H A Dpoll.rs61 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 Dfrom_into.rs18 let inner = file.into_raw_fd(); in test_owned()
H A Depoll.rs38 let fd: RawFd = epoll.into_raw_fd(); in server()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Depoll.rs248 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 Depoll.rs257 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 Ddir.rs59 Dir::from_fd(fd.into_raw_fd()) in from()
H A Dpty.rs59 fn into_raw_fd(self) -> RawFd { in into_raw_fd() functions

Completed in 10 milliseconds