/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | pty_process.rs | 34 command.arg("first").args(["second"]); in sdv_pty_process_test() 71 /// 3. Write `Pty` with arg. 75 let arg = "hello world!"; in sdv_pty_process_read_and_write_test() 83 pty.write_all(arg.as_bytes()).await.unwrap(); in sdv_pty_process_read_and_write_test() 92 assert_eq!(String::from_utf8_lossy(&buf).replace(['\n', '\r'], ""), arg); in sdv_pty_process_read_and_write_test() 99 /// 1. Create a `Pty` and a `Command` with arg. 101 /// 3. Write read_pty with arg. 105 let arg = "hello world!"; in sdv_pty_split_test() 115 write_pty.write_all(arg.as_bytes()).await.unwrap(); in sdv_pty_split_test() 124 assert_eq!(String::from_utf8_lossy(&buf).replace(['\n', '\r'], ""), arg); in sdv_pty_split_test() [all...] |
H A D | process.rs | 25 /// 1. Create a `Command` with arg. 31 command.arg("Hello, world!"); in sdv_process_output_test() 44 /// 1. Create a `Command` with arg. 50 command.arg("Hello, world!"); in sdv_process_status_test() 61 /// 1. Create a `Command` with arg. 68 command.arg("Hello, world!"); in sdv_process_spawn_test() 135 /// 1. Create a `Command` with arg. 142 command.arg("Hello, world!"); in sdv_process_kill_test() 153 /// 1. Create a `Command` with arg. 160 command.arg("Hell in sdv_process_try_wait_test() [all...] |
H A D | async_fs.rs | 356 let arg = "hello world"; in sdv_async_fs_open_options() 357 file.write_all(arg.as_bytes()).await.unwrap(); in sdv_async_fs_open_options() 365 assert_eq!(arg.as_bytes(), buf); in sdv_async_fs_open_options()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | mod.rs | 17 ($fn: ident ( $($arg: expr),* $(,)* ), $ret: expr) => {{ 18 let res = unsafe { $fn($($arg, )*) }; 54 ($fn: ident ( $($arg: expr),* $(,)* ), $err_fn: path, $err_val: expr) => {{ 55 let res = unsafe { $fn($($arg, )*) };
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | command.rs | 105 /// .arg("-l") 106 /// .arg("-a") 110 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() functions 111 self.std.arg(arg); in arg() 442 /// it only includes the arguments specified with Command::arg and 455 /// cmd.arg("first").arg("second"); 544 pub fn arg0<S: AsRef<OsStr>>(&mut self, arg [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | command.rs | 76 /// .arg("-l") 77 /// .arg("-a") 81 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut PtyCommand { in arg() functions 82 self.command.arg(arg); in arg() 334 /// it only includes the arguments specified with Command::arg and 345 /// cmd.arg("first").arg("second"); 449 pub fn arg0<S: AsRef<OsStr>>(&mut self, arg [all...] |
H A D | sys.rs | 241 let arg = "hello world!"; in ut_pty_read_write_test() 242 pty.write_all(arg.as_bytes()).unwrap(); in ut_pty_read_write_test() 246 assert_eq!(buf, arg.as_bytes()); in ut_pty_read_write_test()
|
/commonlibrary/utils_lite/kal/timer/src/ |
H A D | kal.c | 30 union sigval arg;
member 40 tmpPtr->func(tmpPtr->arg);
in KalFunction() 50 KalTimerId KalTimerCreate(KalTimerProc func, KalTimerType type, void* arg, unsigned int millisec)
in KalTimerCreate() argument 62 kalTimer->arg.sival_ptr = arg;
in KalTimerCreate()
|
/commonlibrary/ets_utils/js_concurrent_module/worker/ |
H A D | thread.cpp | 23 int ret = uv_thread_create(&tId_, [](void* arg) {
in Start() 29 Thread* thread = reinterpret_cast<Thread*>(arg);
in Start()
|
/commonlibrary/c_utils/base/include/ |
H A D | observer.h | 71 * @brief Notifies all observers, with the data 'arg' passed to 77 * @param arg Indicates the parameters and data to be used for 81 void NotifyObservers(const ObserverArg* arg); 124 virtual void Update(const Observable* o, const ObserverArg* arg) = 0;
|
/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | thread.cpp | 47 int ret = uv_thread_create(&tid_, [](void* arg) { in Start() 53 Thread* thread = reinterpret_cast<Thread*>(arg); in Start()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | mod.rs | 17 ($fn: ident ( $($arg: expr),* $(,)* ) ) => {{ 18 let res = unsafe { libc::$fn($($arg, )*) };
|
/commonlibrary/c_utils/base/src/ |
H A D | observer.cpp | 64 void Observable::NotifyObservers(const ObserverArg* arg) in NotifyObservers() argument 78 o->Update(this, arg); in NotifyObservers()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/ |
H A D | ylong_tokio_mem.rs | 25 .arg("-x") in get_memory_info() 26 .arg(cmd) in get_memory_info()
|
H A D | ylong_tokio_spawn.rs | 28 .arg("-x") in get_memory_info() 29 .arg(cmd) in get_memory_info()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/ |
H A D | pipe.rs | 102 let arg = "Hello, world!"; in ut_process_pipe_test() 118 (&pipe).write_all(arg.as_bytes()).unwrap(); in ut_process_pipe_test() 125 assert_eq!(buf, arg.as_bytes()); in ut_process_pipe_test()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/ |
H A D | ylong_tokio_process.rs | 33 command.arg("Hello, world!"); 58 command.arg("Hello, world!");
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | macros.rs | 135 ($fn: ident ( $($arg: expr),* $(,)* ) ) => {{ 136 let res = unsafe { libc::$fn($($arg, )*) };
|
/commonlibrary/utils_lite/kal/timer/include/ |
H A D | kal.h | 39 KalTimerId KalTimerCreate(KalTimerProc func, KalTimerType type, void* arg, unsigned int millisec);
|
/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/ |
H A D | sys_event.rs | 30 fn ffrt_sys_event_destroy(event: FfrtSysEventHandleT, func: DestroyFunc, arg: *mut c_void); in ffrt_sys_event_destroy()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/ |
H A D | ylong_runtime_memory.rs | 39 .arg(cmd) in get_memory_info()
|
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | lock_request.h | 89 static void EnvCleanUp(void* arg);
|
H A D | async_lock_manager.cpp | 292 napi_value arg; in Query() local 293 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, &arg, nullptr, nullptr)); in Query() 295 napi_typeof(env, arg, &type); in Query() 301 std::string nameStr = NapiHelper::GetString(env, arg); in Query()
|
H A D | lock_request.cpp | 61 void LockRequest::EnvCleanUp(void *arg) in EnvCleanUp() argument 63 LockRequest *lockRequest = static_cast<LockRequest *>(arg); in EnvCleanUp()
|
/commonlibrary/ets_utils/js_api_module/xml/test/ |
H A D | test_xml.h | 431 napi_value arg = nullptr; in DealNapiStrValueFunction() local 433 napi_create_string_utf8(env, pushStr.c_str(), pushStr.size(), &arg); in DealNapiStrValueFunction() 435 xmlSerializer.DealNapiStrValue(env, arg, output); in DealNapiStrValueFunction()
|