Home
last modified time | relevance | path

Searched refs:Pty (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/
H A Dpty.rs29 impl Pty { implementation
43 Ok(Pty(source)) in new()
159 impl From<Pty> for OwnedFd {
160 fn from(value: Pty) -> Self { in from()
166 impl AsFd for Pty { implementation
172 impl AsRawFd for Pty { implementation
178 impl AsyncRead for Pty { implementation
188 impl AsyncWrite for Pty { implementation
226 pub struct BorrowReadPty<'a>(&'a Pty);
285 pub struct SplitReadPty(Arc<Pty>);
[all …]
H A Dcommand.rs520 use crate::process::pty_process::{Pty, PtyCommand};
580 let mut pty = Pty::new().unwrap(); in ut_pty_process_read_write_test()
610 let mut pty = Pty::new().unwrap(); in ut_pty_process_split_test()
642 let pty = Pty::new().unwrap(); in ut_pty_process_into_split_test()
675 let pty = Pty::new().unwrap(); in ut_pty_process_unsplit_test()
678 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in ut_pty_process_unsplit_test()
705 let pty = Pty::new().unwrap(); in ut_pty_as_test()
709 let fd: OwnedFd = From::<Pty>::from(pty); in ut_pty_as_test()
722 let pty = Pty::new().unwrap(); in ut_pty_debug_test()
730 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in ut_pty_debug_test()
H A Dmod.rs20 pub use pty::{Pts, Pty};
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dpty_process.rs20 use ylong_runtime::process::pty_process::{Pty, PtyCommand};
77 let mut pty = Pty::new().unwrap(); in sdv_pty_process_read_and_write_test()
107 let mut pty = Pty::new().unwrap(); in sdv_pty_split_test()
139 let pty = Pty::new().unwrap(); in sdv_pty_into_split_test()
172 let pty = Pty::new().unwrap(); in sdv_pty_unsplit_test()
175 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in sdv_pty_unsplit_test()
199 let pty = Pty::new().unwrap(); in sdv_pty_debug_test()
207 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in sdv_pty_debug_test()