/third_party/rust/crates/io-lifetimes/src/ |
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 …]
|
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 …]
|
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 …]
|
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()
|
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()
|
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()
|
D | raw.rs | 123 self.into_raw_fd() in into_raw_filelike() 155 self.into_raw_fd() in into_raw_socketlike()
|
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()
|
D | types.rs | 612 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method
|
/third_party/rust/crates/io-lifetimes/tests/ |
D | niche-optimizations.rs | 24 assert_eq!(OwnedFd::from_raw_fd(RawFd::MIN).into_raw_fd(), RawFd::MIN); in test_niche_optimizations() 25 assert_eq!(OwnedFd::from_raw_fd(RawFd::MAX).into_raw_fd(), RawFd::MAX); in test_niche_optimizations() 29 .into_raw_fd(), in test_niche_optimizations() 35 .into_raw_fd(), in test_niche_optimizations()
|
/third_party/rust/crates/rustix/src/backend/libc/ |
D | io_lifetimes.rs | 38 fn into_raw_fd(self) -> RawFd; in into_raw_fd() method 43 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method
|
D | conv.rs | 37 fd.into_raw_fd() as LibcFd in owned_fd()
|
/third_party/rust/crates/rustix/src/io/fd/ |
D | raw.rs | 127 fn into_raw_fd(self) -> RawFd; in into_raw_fd() method 146 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method
|
D | owned.rs | 135 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method
|
/third_party/rust/crates/nix/test/ |
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 …]
|
D | test_pty.rs | 20 close(m.into_raw_fd()).unwrap(); in test_explicit_close()
|
/third_party/rust/crates/rustix/tests/io/ |
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()
|
D | from_into.rs | 18 let inner = file.into_raw_fd(); in test_owned()
|
D | epoll.rs | 38 let fd: RawFd = epoll.into_raw_fd(); in server()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | epoll.rs | 248 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method 249 self.epoll_fd.into_raw_fd() in into_raw_fd()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | epoll.rs | 257 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method 258 self.epoll_fd.into_raw_fd() in into_raw_fd()
|
/third_party/rust/crates/signal-hook/src/low_level/ |
D | pipe.rs | 209 register_raw(signal, pipe.into_raw_fd()) in register()
|
/third_party/rust/crates/rustix/src/io/ |
D | context.rs | 136 let raw_fd = fd.into_raw_fd(); in acquire()
|
/third_party/rust/crates/nix/src/ |
D | dir.rs | 59 Dir::from_fd(fd.into_raw_fd()) in from()
|
D | pty.rs | 59 fn into_raw_fd(self) -> RawFd { in into_raw_fd() method
|