Searched refs:OwnedFd (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | sys.rs | 18 use std::os::fd::{AsFd, AsRawFd, BorrowedFd, FromRawFd, OwnedFd, RawFd}; 26 pub(crate) struct PtyInner(OwnedFd); 41 let fd = unsafe { OwnedFd::from_raw_fd(raw) }; in open() 113 impl From<PtyInner> for OwnedFd { implementation 172 pub(crate) struct PtsInner(OwnedFd); 189 impl From<PtsInner> for OwnedFd { implementation 210 use std::os::fd::{AsFd, AsRawFd, OwnedFd}; 228 let fd = OwnedFd::from(pts); in ut_pty_pts_size_test()
|
H A D | pty.rs | 16 use std::os::fd::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd}; 159 impl From<Pty> for OwnedFd { implementation
|
H A D | command.rs | 702 use std::os::fd::{AsFd, AsRawFd, OwnedFd}; in ut_pty_as_test() 709 let fd: OwnedFd = From::<Pty>::from(pty); in ut_pty_as_test()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | child.rs | 17 use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, IntoRawFd, OwnedFd, RawFd}; 134 pub(crate) fn into_owned_fd(self) -> io::Result<OwnedFd> { in into_owned_fd() argument 135 to_blocking_file(self).map(OwnedFd::from) in into_owned_fd()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | child.rs | 17 use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd}; 405 pub fn into_owned_fd(self) -> io::Result<OwnedFd> {
|