Home
last modified time | relevance | path

Searched refs:from_fd (Results 1 - 12 of 12) sorted by relevance

/third_party/rust/crates/nix/src/
H A Ddir.rs42 Dir::from_fd(fd) in open()
53 Dir::from_fd(fd) in openat()
59 Dir::from_fd(fd.into_raw_fd()) in from()
64 pub fn from_fd(fd: RawFd) -> Result<Self> { in from_fd() functions
/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
147 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
227 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
283 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
323 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
363 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
403 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
443 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dimpls_async_std.rs74 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
154 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
234 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
314 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
418 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
458 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
498 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dimpls_os_pipe.rs67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
147 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dimpls_std.rs95 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
183 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
263 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
343 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
423 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
695 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
775 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
815 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
855 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dimpls_socket2.rs67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dtraits.rs139 /// let f = File::from_fd(owned_fd);
144 note = "`FromFd::from_fd` is replaced by `From<OwnedFd>::from`"
146 fn from_fd(owned: OwnedFd) -> Self; in from_fd() functions
H A Dimpls_tokio.rs35 fn from_fd(owned: OwnedFd) -> Self { in from_fd() functions
H A Dlib.rs96 fn from_fd(owned_fd: OwnedFd) -> Self { in from_fd() functions
/third_party/rust/crates/rustix/src/path/
H A Ddec_int.rs66 pub fn from_fd<Fd: AsFd>(fd: Fd) -> Self { in from_fd() functions
/third_party/rust/crates/nix/test/
H A Dtest_dir.rs64 assert_eq!(Dir::from_fd(-1).unwrap_err(), nix::Error::EBADF); in ebadf()
/third_party/python/Lib/test/
H A Dtest_subprocess.py2603 for from_fd in from_fds:
2605 os.dup2(f.fileno(), from_fd)
2612 for from_fd, to_fd in zip(from_fds, to_fds):
2613 kwargs[arg_names[to_fd]] = from_fd
2629 for from_fd, to_fd in zip(from_fds, to_fds):
2630 os.lseek(from_fd, 0, os.SEEK_SET)
2631 read_bytes = os.read(from_fd, 1024)
2635 parent descriptor {from_fd} got redirected

Completed in 13 milliseconds