/libuv/test/ |
H A D | run-benchmarks.c | 42 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 D | run-tests.c | 61 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 D | runner.h | 135 void platform_init(int argc, char** argv);
|
H A D | runner-win.c | 46 void platform_init(int argc, char **argv) { in platform_init() argument
|
H A D | runner-unix.c | 74 void platform_init(int argc, char **argv) { in platform_init() argument
|
/libuv/docs/code/plugin/ |
H A D | main.c | 15 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 D | main.c | 26 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 D | os390-proctitle.c | 39 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 D | proctitle.c | 46 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 D | bsd-proctitle.c | 46 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 D | no-proctitle.c | 28 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
|
H A D | aix.c | 888 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 D | ibmi.c | 510 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 D | main.c | 142 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 D | main.c | 54 int main(int argc, char **argv) { in main() argument
|
/libuv/docs/code/uvtee/ |
H A D | main.c | 61 int main(int argc, char **argv) { in main() argument
|
/libuv/src/win/ |
H A D | tty.c | 1393 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 D | util.c | 335 char** uv_setup_args(int argc, char** argv) { in uv_setup_args() argument
|
/libuv/docs/src/ |
H A D | misc.rst | 300 .. 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 D | uv.h | 1264 UV_EXTERN char** uv_setup_args(int argc, char** argv);
|