Searched refs:Stdio (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | process.rs | 17 use std::process::Stdio; 94 .stdin(Stdio::piped()) in sdv_process_child_stdio_test() 95 .stdout(Stdio::piped()) in sdv_process_child_stdio_test() 96 .stderr(Stdio::piped()) in sdv_process_child_stdio_test() 209 .stdin(Stdio::piped()) in sdv_process_stdio_test() 210 .stdout(Stdio::piped()) in sdv_process_stdio_test() 211 .stderr(Stdio::piped()); in sdv_process_stdio_test() 228 assert!(TryInto::<Stdio>::try_into(child_stdin).is_ok()); in sdv_process_stdio_test() 255 .stdin(Stdio::piped()) in sdv_process_child_stdio_convert_test() 256 .stdout(Stdio::piped()) in sdv_process_child_stdio_convert_test() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | child.rs | 410 impl TryInto<std::process::Stdio> for $ident { 441 use std::process::Stdio; 504 .stdin(Stdio::piped()) in ut_process_stdio_test() 505 .stdout(Stdio::piped()) in ut_process_stdio_test() 506 .stderr(Stdio::piped()); in ut_process_stdio_test() 523 assert!(TryInto::<Stdio>::try_into(child_stdin).is_ok()); in ut_process_stdio_test() 528 assert!(TryInto::<Stdio>::try_into(child_stdout).is_ok()); in ut_process_stdio_test() 533 assert!(TryInto::<Stdio>::try_into(child_stderr).is_ok()); in ut_process_stdio_test() 549 .stdin(Stdio::piped()) in ut_process_child_stdio_convert_test() 550 .stdout(Stdio::piped()) in ut_process_child_stdio_convert_test() [all …]
|
H A D | command.rs | 18 use std::process::{Command as StdCommand, CommandArgs, CommandEnvs, ExitStatus, Output, Stdio}; 263 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdin() 286 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdout() 309 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stderr() 379 self.stdout(Stdio::piped()); in output() 380 self.stderr(Stdio::piped()); in output() 590 use std::process::Stdio; 660 .stdin(Stdio::piped()) in ut_process_child_stdio_test() 661 .stdout(Stdio::piped()) in ut_process_child_stdio_test() 662 .stderr(Stdio::piped()) in ut_process_child_stdio_test()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | command.rs | 17 use std::process::{CommandArgs, CommandEnvs, Stdio}; 222 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdin() 241 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdout() 260 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stderr() 517 use std::process::Stdio; 533 .stdin(Stdio::piped()) in ut_pty_process_basic_test() 534 .stdout(Stdio::piped()) in ut_pty_process_basic_test() 535 .stderr(Stdio::piped()); in ut_pty_process_basic_test()
|
H A D | pty.rs | 18 use std::process::Stdio; 215 pub(crate) fn clone_stdio(&self) -> io::Result<Stdio> { in clone_stdio() argument
|
H A D | sys.rs | 20 use std::process::Stdio; 175 pub(crate) fn clone_stdio(&self) -> io::Result<Stdio> { in clone_stdio() argument
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | child.rs | 19 use std::process::{Child as StdChild, ExitStatus, Stdio}; 124 pub(crate) fn to_stdio(io: ChildStdio) -> io::Result<Stdio> { in to_stdio() argument 125 to_blocking_file(io).map(Stdio::from) in to_stdio()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | long-frame-optimization.md | 7 本文主要是以Trace数据作为切入点进行分析,相应的工具可以使用SmartPerf Host或DevEco Stdio内置的Frame等。若开发者需要补充SmartPerf Host工具和Trace…
|