Home
last modified time | relevance | path

Searched refs:argc (Results 951 - 975 of 7207) sorted by relevance

1...<<31323334353637383940>>...289

/third_party/alsa-lib/alsalisp/
H A Dalsalisp.c79 int main(int argc, char **argv) in main() argument
83 while ((c = getopt(argc, argv, "vdw")) != -1) { in main()
100 argc -= optind; in main()
103 if (argc < 1) in main()
/third_party/jerryscript/jerry-main/
H A Dmain-unix-test.c72 main (int argc, in main() argument
81 if (argc <= 1 || (argc == 2 && (!strcmp ("-h", argv[1]) || !strcmp ("--help", argv[1])))) in main()
90 for (int i = 1; i < argc; i++) in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-smp/
H A Dminimal-http-server-smp.c75 int main(int argc, const char **argv) in main() argument
89 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
102 if ((p = lws_cmdline_option(argc, argv, "-t"))) { in main()
110 if (lws_cmdline_option(argc, argv, "-s")) { in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-tls/
H A Dminimal-http-server-tls.c93 int main(int argc, const char **argv) in main() argument
117 lws_cmdline_option_handle_builtin(argc, argv, &info); in main()
121 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main()
135 if (lws_cmdline_option(argc, argv, "-h")) in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-rx/
H A Dminimal-ws-client.c74 int main(int argc, const char **argv) in main() argument
89 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
92 test = !!lws_cmdline_option(argc, argv, "-t"); in main()
137 if (lws_cmdline_option(argc, argv, "--h2")) in main()
/third_party/ltp/testcases/kernel/controllers/memcg/control/
H A Dmem_process.c28 void process_options(int argc, char **argv) in process_options() argument
34 while ((c = getopt(argc, argv, "pm:")) != -1) { in process_options()
92 int main(int argc, char **argv) in main() argument
98 process_options(argc, argv); in main()
/third_party/ltp/testcases/kernel/fs/doio/
H A Dforker.c237 int main(argc, argv) in main()
238 int argc; in main()
246 if (argc == 1) {
256 if (argc == 3)
/third_party/node/test/js-native-api/8_passing_wrapped/
H A D8_passing_wrapped.cc9 size_t argc = 1; in CreateObject() local
12 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr)); in CreateObject()
21 size_t argc = 2; in Add() local
24 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr)); in Add()
/third_party/node/test/js-native-api/test_promise/
H A Dtest_promise.c23 size_t argc = 2; in concludeCurrentPromise() local
26 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, argv, NULL, NULL)); in concludeCurrentPromise()
41 size_t argc = 1; in isPromise() local
44 NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, &promise, NULL, NULL)); in isPromise()
/third_party/ntfs-3g/src/
H A Dntfs-3g.probe.c88 static int parse_options(int argc, char *argv[]) in parse_options() argument
103 while ((c = getopt_long(argc, argv, sopt, lopt, NULL)) != -1) { in parse_options()
148 int main(int argc, char *argv[]) in main() argument
154 if (parse_options(argc, argv)) { in main()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Duoptions.cpp26 u_parseArgs(int argc, char* argv[], in u_parseArgs() argument
32 while(i<argc) { in u_parseArgs()
60 if(i+1<argc && !(argv[i+1][0]=='-' && argv[i+1][1]!=0)) { in u_parseArgs()
100 } else if(i+1<argc && !(argv[i+1][0]=='-' && argv[i+1][1]!=0)) { in u_parseArgs()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/
H A Drpc_callrpc_performance.c79 int main(int argn, char *argc[]) in main() argument
81 //Program parameters : argc[1] : HostName or Host IP in main()
82 // argc[2] : Server Program Number in main()
83 // argc[3] : Number of test call in main()
97 int progNum = atoi(argc[2]); in main()
103 maxIter = atoi(argc[3]); in main()
112 cs = callrpc(argc[1], progNum, VERSNUM, PROCNUM, in main()
H A Drpc_callrpc_scalability.c79 int main(int argn, char *argc[]) in main() argument
81 //Program parameters : argc[1] : HostName or Host IP in main()
82 // argc[2] : Server Program Number in main()
83 // argc[3] : Number of test call in main()
97 int progNum = atoi(argc[2]); in main()
103 maxIter = atoi(argc[3]); in main()
112 cs = callrpc(argc[1], progNum, VERSNUM, PROCNUM, in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
H A Dtirpc_expertlevel_clnt_call_stress.c41 int main(int argn, char *argc[]) in main() argument
43 //Program parameters : argc[1] : HostName or Host IP in main()
44 // argc[2] : Server Program Number in main()
45 // argc[3] : Number of testes function calls in main()
53 int progNum = atoi(argc[2]); in main()
62 int nbCall = atoi(argc[3]); in main()
90 //printf("svcaddr reserved (%s)\n", argc[1]); in main()
92 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/
H A Dtirpc_svc_unreg_mt.c78 int main(int argn, char *argc[]) in main() argument
80 //Program parameters : argc[1] : HostName or Host IP in main()
81 // argc[2] : Server Program Number in main()
82 // argc[3] : Number of threads in main()
83 // argc[4] : Number of calls per thread in main()
91 int threadNb = atoi(argc[3]); in main()
96 progNum = atoi(argc[2]); in main()
97 callNb = atoi(argc[4]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/
H A Dtirpc_rpc_broadcast_mt.c75 int main(int argn, char *argc[]) in main() argument
77 //Program parameters : argc[1] : HostName or Host IP in main()
78 // argc[2] : Server Program Number in main()
79 // argc[3] : Number of threads in main()
80 // argc[4] : Number of calls per thread in main()
88 int threadNb = atoi(argc[3]); in main()
94 progNum = atoi(argc[2]); in main()
95 callNb = atoi(argc[4]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
H A Dtirpc_toplevel_clnt_call_performance.c79 int main(int argn, char *argc[]) in main() argument
81 //Program parameters : argc[1] : HostName or Host IP in main()
82 // argc[2] : Server Program Number in main()
83 // argc[3] : Number of test call in main()
97 int progNum = atoi(argc[2]); in main()
106 maxIter = atoi(argc[3]); in main()
112 clnt = clnt_create(argc[1], progNum, VERSNUM, nettype); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/
H A Dtirpc_rpc_reg_mt.c79 int main(int argn, char *argc[]) in main() argument
81 //Program parameters : argc[1] : HostName or Host IP in main()
82 // argc[2] : Server Program Number in main()
83 // argc[3] : Number of threads in main()
84 // argc[4] : Number of calls per thread in main()
92 int threadNb = atoi(argc[3]); in main()
98 progNum = atoi(argc[2]); in main()
99 callNb = atoi(argc[4]); in main()
/third_party/ltp/testcases/kernel/sched/pthreads/
H A Dpth_str02.c82 int main(int argc, char **argv) in main() argument
87 parse_args(argc, argv); in main()
169 static void parse_args(int argc, char **argv) in parse_args() argument
175 while ((i = getopt(argc, argv, "dln:?")) != EOF) { in parse_args()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/
H A Dtirpc_rpc_broadcast_exp_mt.c78 int main(int argn, char *argc[]) in main() argument
80 //Program parameters : argc[1] : HostName or Host IP in main()
81 // argc[2] : Server Program Number in main()
82 // argc[3] : Number of threads in main()
83 // argc[4] : Number of calls per thread in main()
91 int threadNb = atoi(argc[3]); in main()
97 progNum = atoi(argc[2]); in main()
98 callNb = atoi(argc[4]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/
H A Drpc_clntudp_bufcreate_limits.c51 int main(int argn, char *argc[]) in main() argument
53 //Program parameters : argc[1] : HostName or Host IP in main()
54 // argc[2] : Server Program Number in main()
62 int progNum = atoi(argc[2]); in main()
72 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
73 fprintf(stderr, "can't get addr for %s\n", argc[1]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/
H A Drpc_clnttcp_create_limits.c51 int main(int argn, char *argc[]) in main() argument
53 //Program parameters : argc[1] : HostName or Host IP in main()
54 // argc[2] : Server Program Number in main()
62 int progNum = atoi(argc[2]); in main()
71 if ((hp = gethostbyname(argc[1])) == NULL) { in main()
72 fprintf(stderr, "can't get addr for %s\n", argc[1]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/
H A Drpc_clnt_call_scalability.c53 int main(int argn, char *argc[]) in main() argument
55 //Program parameters : argc[1] : HostName or Host IP in main()
56 // argc[2] : Server Program Number in main()
57 // argc[3] : Number of test call in main()
71 int progNum = atoi(argc[2]); in main()
80 maxIter = atoi(argc[3]); in main()
85 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/
H A Dtirpc_svc_reg_mt.c74 int main(int argn, char *argc[]) in main() argument
76 //Program parameters : argc[1] : HostName or Host IP in main()
77 // argc[2] : Server Program Number in main()
78 // argc[3] : Number of threads in main()
79 // argc[4] : Number of calls per thread in main()
87 int threadNb = atoi(argc[3]); in main()
92 progNum = atoi(argc[2]); in main()
93 callNb = atoi(argc[4]); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
H A Dtirpc_rpc_call_performance.c80 int main(int argn, char *argc[]) in main() argument
82 //Program parameters : argc[1] : HostName or Host IP in main()
83 // argc[2] : Server Program Number in main()
84 // argc[3] : Number of test call in main()
98 int progNum = atoi(argc[2]); in main()
106 maxIter = atoi(argc[3]); in main()
109 strcpy(hostname, argc[1]); in main()

Completed in 10 milliseconds

1...<<31323334353637383940>>...289