Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 20 of 20) sorted by relevance

/libuv/test/
H A Drun-benchmarks.c42 static int maybe_run_test(int argc, char **argv);
45 int main(int argc, char **argv) { in main() argument
46 platform_init(argc, argv); in main()
48 switch (argc) { in main()
50 case 2: return maybe_run_test(argc, argv); in main()
60 static int maybe_run_test(int argc, char **argv) { in maybe_run_test() argument
H A Drun-tests.c61 static int maybe_run_test(int argc, char **argv);
68 int main(int argc, char **argv) { in main() argument
76 platform_init(argc, argv); in main()
77 argv = uv_setup_args(argc, argv); in main()
79 switch (argc) { in main()
81 case 2: return maybe_run_test(argc, argv); in main()
83 case 4: return maybe_run_test(argc, argv); in main()
92 static int maybe_run_test(int argc, char **argv) { in maybe_run_test() argument
H A Drunner.h135 void platform_init(int argc, char** argv);
H A Drunner-win.c46 void platform_init(int argc, char **argv) { in platform_init() argument
H A Drunner-unix.c74 void platform_init(int argc, char **argv) { in platform_init() argument
/libuv/docs/code/plugin/
H A Dmain.c15 int main(int argc, char **argv) { in main() argument
16 if (argc == 1) { in main()
22 while (--argc) { in main()
23 fprintf(stderr, "Loading %s\n", argv[argc]); in main()
24 if (uv_dlopen(argv[argc], lib)) { in main()
/libuv/docs/code/onchange/
H A Dmain.c26 int main(int argc, char **argv) { in main() argument
27 if (argc <= 2) { in main()
35 while (argc-- > 2) { in main()
36 fprintf(stderr, "Adding watch on %s\n", argv[argc]); in main()
40 uv_fs_event_start(fs_event_req, run_command, argv[argc], UV_FS_EVENT_RECURSIVE); in main()
/libuv/src/unix/
H A Dos390-proctitle.c39 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
45 if (argc <= 0) in uv_setup_args()
50 for (i = 0; i < argc; i++) in uv_setup_args()
54 size += (argc + 1) * sizeof(char*); in uv_setup_args()
61 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
62 for (i = 0; i < argc; i++) { in uv_setup_args()
H A Dproctitle.c46 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
53 if (argc <= 0) in uv_setup_args()
62 for (i = 1; i < argc; i++) in uv_setup_args()
66 size += (argc + 1) * sizeof(char*); in uv_setup_args()
74 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
78 for (/* empty */; i < argc; i++) { in uv_setup_args()
H A Dbsd-proctitle.c46 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
47 process_title = argc > 0 ? uv__strdup(argv[0]) : NULL; in uv_setup_args()
H A Dno-proctitle.c28 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
H A Daix.c888 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
895 if (argc <= 0) in uv_setup_args()
903 process_argc = argc; in uv_setup_args()
916 for (i = 0; i < argc; i++) in uv_setup_args()
920 size += (argc + 1) * sizeof(char*); in uv_setup_args()
928 s = (char*) &new_argv[argc + 1]; in uv_setup_args()
929 for (i = 0; i < argc; i++) { in uv_setup_args()
H A Dibmi.c510 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
515 if (argc > 0) { in uv_setup_args()
/libuv/docs/code/uvwget/
H A Dmain.c142 int main(int argc, char **argv) { in main() argument
145 if (argc <= 1) in main()
159 while (argc-- > 1) { in main()
160 add_download(argv[argc], argc); in main()
/libuv/docs/code/uvcat/
H A Dmain.c54 int main(int argc, char **argv) { in main() argument
/libuv/docs/code/uvtee/
H A Dmain.c61 int main(int argc, char **argv) { in main() argument
/libuv/src/win/
H A Dtty.c1393 unsigned short argc = handle->tty.wr.ansi_csi_argc; in uv__tty_set_style() local
1402 if (argc == 0) { in uv__tty_set_style()
1411 for (i = 0; i < argc; i++) { in uv__tty_set_style()
H A Dutil.c335 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
/libuv/docs/src/
H A Dmisc.rst300 .. c:function:: char** uv_setup_args(int argc, char** argv)
310 argv = uv_setup_args(argc, argv); /* May return a copy of argv. */
/libuv/include/
H A Duv.h1264 UV_EXTERN char** uv_setup_args(int argc, char** argv);

Completed in 37 milliseconds