Lines Matching refs:argv
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()
81 case 2: return maybe_run_test(argc, argv); in main()
82 case 3: return run_test_part(argv[1], argv[2]); 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
93 if (strcmp(argv[1], "--list") == 0) { in maybe_run_test()
98 if (strcmp(argv[1], "ipc_helper_listen_before_write") == 0) { in maybe_run_test()
102 if (strcmp(argv[1], "ipc_helper_listen_after_write") == 0) { in maybe_run_test()
106 if (strcmp(argv[1], "ipc_helper_heavy_traffic_deadlock_bug") == 0) { in maybe_run_test()
110 if (strcmp(argv[1], "ipc_send_recv_helper") == 0) { in maybe_run_test()
114 if (strcmp(argv[1], "ipc_helper_tcp_connection") == 0) { in maybe_run_test()
118 if (strcmp(argv[1], "ipc_helper_bind_twice") == 0) { in maybe_run_test()
122 if (strcmp(argv[1], "ipc_helper_send_zero") == 0) { in maybe_run_test()
126 if (strcmp(argv[1], "stdio_over_pipes_helper") == 0) { in maybe_run_test()
130 if (strcmp(argv[1], "spawn_helper1") == 0) { in maybe_run_test()
135 if (strcmp(argv[1], "spawn_helper2") == 0) { in maybe_run_test()
141 if (strcmp(argv[1], "spawn_tcp_server_helper") == 0) { in maybe_run_test()
146 if (strcmp(argv[1], "spawn_helper3") == 0) { in maybe_run_test()
155 if (strcmp(argv[1], "spawn_helper4") == 0) { in maybe_run_test()
161 if (strcmp(argv[1], "spawn_helper5") == 0) { in maybe_run_test()
181 if (strcmp(argv[1], "spawn_helper6") == 0) { in maybe_run_test()
195 if (strcmp(argv[1], "spawn_helper7") == 0) { in maybe_run_test()
211 if (strcmp(argv[1], "spawn_helper8") == 0) { in maybe_run_test()
243 if (strcmp(argv[1], "spawn_helper9") == 0) { in maybe_run_test()
250 if (strcmp(argv[1], "spawn_helper_setuid_setgid") == 0) { in maybe_run_test()
251 uv_uid_t uid = atoi(argv[2]); in maybe_run_test()
252 uv_gid_t gid = atoi(argv[3]); in maybe_run_test()
262 if (strcmp(argv[1], "process_title_big_argv_helper") == 0) { in maybe_run_test()
268 return run_test(argv[1], 0, 1); in maybe_run_test()