Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 26) sorted by relevance

12

/libuv/test/
H A Drunner-unix.c89 char* args[16]; in process_start() local
111 args[n++] = name; in process_start()
112 args[n++] = part; in process_start()
113 args[n++] = NULL; in process_start()
156 execve(args[0], args, environ); in process_start()
241 dowait_args args; in process_wait() local
249 args.vec = vec; in process_wait()
250 args.n = n; in process_wait()
251 args.pipe[0] = -1; in process_wait()
252 args.pipe[1] = -1; in process_wait()
[all …]
H A Dtest-process-title.c92 char* args[5]; in TEST_IMPL() local
109 args[0] = exepath; in TEST_IMPL()
110 args[1] = "process_title_big_argv_helper"; in TEST_IMPL()
111 args[2] = jumbo; in TEST_IMPL()
112 args[3] = jumbo; in TEST_IMPL()
113 args[4] = NULL; in TEST_IMPL()
117 options.args = args; in TEST_IMPL()
H A Dbenchmark-spawn.c36 static char* args[3]; variable
110 args[0] = exepath; in spawn()
111 args[1] = "spawn_helper"; in spawn()
112 args[2] = NULL; in spawn()
114 options.args = args; in spawn()
H A Drunner-win.c78 WCHAR args[MAX_PATH * 2]; in process_start() local
126 if (_snwprintf((WCHAR*)args, in process_start()
127 sizeof(args) / sizeof(WCHAR), in process_start()
135 if (_snwprintf((WCHAR*)args, in process_start()
136 sizeof(args) / sizeof(WCHAR), in process_start()
151 if (!CreateProcessW(image, args, NULL, NULL, TRUE, in process_start()
H A Dtest-stdio-over-pipes.c31 static char* args[3]; variable
67 args[0] = exepath; in init_process_options()
68 args[1] = test; in init_process_options()
69 args[2] = NULL; in init_process_options()
71 options.args = args; in init_process_options()
H A Dtest-spawn.c51 static char* args[5]; variable
164 args[0] = exepath; in init_process_options()
165 args[1] = test; in init_process_options()
166 args[2] = NULL; in init_process_options()
167 args[3] = NULL; in init_process_options()
168 args[4] = NULL; in init_process_options()
170 options.args = args; in init_process_options()
1972 args[1] = NULL; in TEST_IMPL()
1974 options.args = args; in TEST_IMPL()
1996 char* args[2]; in TEST_IMPL() local
[all …]
H A Dtest-ipc.c286 char* args[3]; in spawn_helper() local
299 args[0] = exepath; in spawn_helper()
300 args[1] = (char*)helper; in spawn_helper()
301 args[2] = NULL; in spawn_helper()
305 options.args = args; in spawn_helper()
H A Dtest-thread-priority.c42 static void simple_task(void *args) { in simple_task() argument
H A Dtest-ref.c417 options.args = argv; in TEST_IMPL()
H A Dtest-fs.c4428 va_list args; in call_icacls() local
4430 va_start(args, command); in call_icacls()
4431 vsnprintf(icacls_command, ARRAYSIZE(icacls_command), command, args); in call_icacls()
4432 va_end(args); in call_icacls()
/libuv/src/unix/
H A Drandom-sysctl-linux.c45 struct uv__sysctl_args args; in uv__random_sysctl() local
55 memset(&args, 0, sizeof(args)); in uv__random_sysctl()
57 args.name = name; in uv__random_sysctl()
58 args.nlen = ARRAY_SIZE(name); in uv__random_sysctl()
59 args.oldval = uuid; in uv__random_sysctl()
60 args.oldlenp = &n; in uv__random_sysctl()
71 if (syscall(SYS__sysctl, &args) == -1) in uv__random_sysctl()
75 (void) &args; in uv__random_sysctl()
H A Daix-common.c62 char args[UV__PATH_MAX]; in uv_exepath() local
83 res = getargs(&pi, sizeof(pi), args, sizeof(args)); in uv_exepath()
88 return uv__search_path(args, buffer, size); in uv_exepath()
H A Dprocess.c398 execvpe(options->file, options->args, environ); in uv__process_child_init()
400 execvp(options->file, options->args); in uv__process_child_init()
697 err = posix_spawn(pid, options->file, actions, attrs, options->args, env); in uv__spawn_resolve_and_spawn()
741 err = posix_spawn(pid, b, actions, attrs, options->args, env); in uv__spawn_resolve_and_spawn()
H A Dos390.c157 char args[PATH_MAX]; in uv_exepath() local
163 res = getexe(args, sizeof(args)); in uv_exepath()
167 return uv__search_path(args, buffer, size); in uv_exepath()
/libuv/docs/code/detach/
H A Dmain.c12 char* args[3]; in main() local
13 args[0] = "sleep"; in main()
14 args[1] = "100"; in main()
15 args[2] = NULL; in main()
19 options.args = args; in main()
/libuv/docs/code/spawn/
H A Dmain.c18 char* args[3]; in main() local
19 args[0] = "mkdir"; in main()
20 args[1] = "test-dir"; in main()
21 args[2] = NULL; in main()
25 options.args = args; in main()
/libuv/docs/code/proc-streams/
H A Dmain.c24 char* args[2]; in main() local
25 args[0] = path; in main()
26 args[1] = NULL; in main()
39 options.file = args[0]; in main()
40 options.args = args; in main()
/libuv/docs/code/cgi/
H A Dmain.c23 char* args[2]; in invoke_cgi_script() local
24 args[0] = path; in invoke_cgi_script()
25 args[1] = NULL; in invoke_cgi_script()
38 options.file = args[0]; in invoke_cgi_script()
39 options.args = args; in invoke_cgi_script()
/libuv/docs/code/multi-echo-server/
H A Dmain.c57 char* args[2]; in setup_workers() local
58 args[0] = worker_path; in setup_workers()
59 args[1] = NULL; in setup_workers()
89 worker->options.file = args[0]; in setup_workers()
90 worker->options.args = args; in setup_workers()
/libuv/src/win/
H A Ddl.c79 DWORD_PTR args[1]; in uv__format_fallback_error() local
80 args[0] = (DWORD_PTR) errorno; in uv__format_fallback_error()
87 0, (va_list*) args); in uv__format_fallback_error()
H A Dprocess.c521 int make_program_args(char** args, int verbatim_arguments, WCHAR** dst_ptr) { in make_program_args() argument
532 for (arg = args; *arg; arg++) { in make_program_args()
566 for (arg = args; *arg; arg++) { in make_program_args()
913 options->args == NULL) { in uv_spawn()
932 options->args, in uv_spawn()
/libuv/docs/src/
H A Dprocess.rst27 char** args;
188 .. c:member:: char** uv_process_options_t.args
190 Command line arguments. args[0] should be the path to the program. On
/libuv/docs/src/guide/
H A Dprocesses.rst45 ``file`` and ``args`` fields. ``file`` is the program to execute. Since
98 ``uv_process_options_t.args`` is done on Windows. Ignored on Unix.
/libuv/
H A DREADME.md288 $ gdb --args build/uv_run_tests_a TEST_NAME
/libuv/include/
H A Duv.h1056 char** args; member

Completed in 51 milliseconds

12