/commonlibrary/ets_utils/js_sys_module/test/ |
H A D | test_process.cpp | 81 * @tc.desc: Test process Uptime. 87 OHOS::JsSysModule::Process::Process process; in HWTEST_F() local 88 napi_value timeStart = process.Uptime(env); in HWTEST_F() 90 napi_value timeEnd = process.Uptime(env); in HWTEST_F() 100 * @tc.desc: Test process kill signal. 106 OHOS::JsSysModule::Process::Process process; in HWTEST_F() local 117 napi_value result = process.Kill(env, pid, signal); in HWTEST_F() 125 * @tc.desc: Test process kill signal. 131 OHOS::JsSysModule::Process::Process process; in HWTEST_F() local 142 napi_value result = process in HWTEST_F() 156 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 178 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 200 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 219 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 238 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 257 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 276 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 295 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 314 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 339 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 364 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 385 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 418 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 441 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 464 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 483 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 502 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 519 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 538 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 561 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 584 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 607 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 627 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 646 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 666 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 688 OHOS::JsSysModule::Process::Process process; HWTEST_F() local 717 OHOS::JsSysModule::Process::Process process; HWTEST_F() local [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/ |
H A D | ylong_tokio_mem.rs | 18 use std::process; in get_memory_info() 19 use std::process::Command; in get_memory_info() 21 let pid = process::id(); in get_memory_info()
|
H A D | ylong_tokio_spawn.rs | 21 use std::process; in get_memory_info() 22 use std::process::Command; in get_memory_info() 24 let pid = process::id(); in get_memory_info()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/ |
H A D | ylong_runtime_memory.rs | 18 use std::process; 20 use std::process::Command; 34 let pid = process::id(); in get_memory_info()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | child.rs | 19 use std::process::{Child as StdChild, ExitStatus, Output}; 23 use crate::process::sys::ChildStdio; 31 /// Handle of child process 62 /// Gets the OS-assigned process identifier associated with this child. 64 /// If the child process is exited, it returns `None`. 69 /// use ylong_runtime::process::Command; 75 /// let _id = child.id().expect("the child process is exited"); 90 /// use std::process::Stdio; 92 /// use ylong_runtime::process::Command; 111 /// use std::process [all...] |
H A D | command.rs | 18 use std::process::{Command as StdCommand, CommandArgs, CommandEnvs, ExitStatus, Output, Stdio}; 20 use crate::process::child::{Child, ChildStderr, ChildStdin, ChildStdout}; 22 /// Async version of std::process::Command 32 /// use std::process::Command; 34 /// let ylong_command = ylong_runtime::process::Command::new("hello"); 49 /// * Inherit the current process's environment 50 /// * Inherit the current process's working directory 55 /// configure the process. If program is not an absolute path, the PATH 63 /// use ylong_runtime::process::Command; 75 /// Gets std::process [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/ |
H A D | ylong_tokio_process.rs | 14 //! Benchmarks for the process. 17 #![cfg(all(unix, feature = "process"))] 81 use tokio::process::Command as tokioCommand; 82 use ylong_runtime::process::Command;
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | command.rs | 17 use std::process::{CommandArgs, CommandEnvs, Stdio}; 19 use crate::process::pty_process::Pts; 20 use crate::process::{Child, Command}; 35 /// * Inherit the current process's environment 36 /// * Inherit the current process's working directory 41 /// configure the process. If program is not an absolute path, the PATH 50 /// use ylong_runtime::process::pty_process::PtyCommand; 70 /// use ylong_runtime::process::pty_process::{Pty, PtyCommand}; 91 /// use ylong_runtime::process::pty_process::{Pty, PtyCommand}; 111 /// use ylong_runtime::process [all...] |
H A D | sys.rs | 20 use std::process::Stdio; 212 use crate::process::pty_process::sys::PtyInner;
|
H A D | pty.rs | 18 use std::process::Stdio; 35 /// use ylong_runtime::process::pty_process::Pty; 51 /// use ylong_runtime::process::pty_process::Pty; 67 /// the child process running in it. 72 /// use ylong_runtime::process::pty_process::Pty; 90 /// use ylong_runtime::process::pty_process::Pty; 112 /// use ylong_runtime::process::pty_process::Pty; 136 /// use ylong_runtime::process::pty_process::Pty; 248 /// use ylong_runtime::process::pty_process::Pty; 307 /// use ylong_runtime::process [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | entry.rs | 31 mod process; modules
|
H A D | process.rs | 14 #![cfg(all(target_os = "linux", feature = "process"))] 17 use std::process::Stdio; 20 use ylong_runtime::process::{ChildStderr, ChildStdin, ChildStdout, Command}; 98 .expect("Failed to spawn child process"); in sdv_process_child_stdio_test() 247 /// 1. Create a `std::process::Command`. 249 /// 3. Use `from_std()` to convert std to ylong_runtime::process::ChildStd. 253 let mut command = std::process::Command::new("echo"); in sdv_process_child_stdio_convert_test()
|
H A D | pty_process.rs | 14 #![cfg(all(target_os = "linux", feature = "process"))] 20 use ylong_runtime::process::pty_process::{Pty, PtyCommand};
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | driver.rs | 85 #[cfg(all(target_os = "linux", feature = "process"))] 86 crate::process::GlobalZombieChild::get_instance().release_zombie(); 109 #[cfg(all(target_os = "linux", feature = "process"))] 110 crate::process::GlobalZombieChild::get_instance().release_zombie();
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | lib.rs | 87 pub mod process; modules
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | zombie_manager.rs | 15 use std::process::Child as StdChild;
|
H A D | child.rs | 19 use std::process::{Child as StdChild, ExitStatus, Stdio}; 88 crate::process::GlobalZombieChild::get_instance().push(std); in drop()
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/ |
H A D | decoder.rs | 548 /// Decoder's possible returns during the decoding process.
|