Searched refs:Pty (Results 1 – 4 of 4) sorted by relevance
29 impl Pty { implementation43 Ok(Pty(source)) in new()159 impl From<Pty> for OwnedFd {160 fn from(value: Pty) -> Self { in from()166 impl AsFd for Pty { implementation172 impl AsRawFd for Pty { implementation178 impl AsyncRead for Pty { implementation188 impl AsyncWrite for Pty { implementation226 pub struct BorrowReadPty<'a>(&'a Pty);285 pub struct SplitReadPty(Arc<Pty>);[all …]
520 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()
20 pub use pty::{Pts, Pty};
20 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()