Home
last modified time | relevance | path

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

12345678910>>...84

/freebsd/crypto/openssl/apps/
H A Dprogs.h15 extern int asn1parse_main(int argc, char *argv[]);
16 extern int ca_main(int argc, char *argv[]);
17 extern int ciphers_main(int argc, char *argv[]);
18 extern int cmp_main(int argc, char *argv[]);
19 extern int cms_main(int argc, char *argv[]);
20 extern int crl_main(int argc, char *argv[]);
21 extern int crl2pkcs7_main(int argc, char *argv[]);
22 extern int dgst_main(int argc, char *argv[]);
23 extern int dhparam_main(int argc, char *argv[]);
24 extern int dsa_main(int argc, char *argv[]);
[all …]
/freebsd/contrib/tnftp/src/
H A Dcmds.c226 settype(int argc, char *argv[]) in settype() argument
230 if (argc == 0 || argc > 2) { in settype()
243 if (argc < 2) { in settype()
312 setbinary(int argc, char *argv[]) in setbinary() argument
315 if (argc == 0) { in setbinary()
328 setascii(int argc, char *argv[]) in setascii() argument
331 if (argc == 0) { in setascii()
344 settenex(int argc, char *argv[]) in settenex() argument
347 if (argc == 0) { in settenex()
360 setftmode(int argc, char *argv[]) in setftmode() argument
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_cli.c271 int argc, char *argv[]) in wpa_cli_cmd() argument
274 if (argc < min_args) { in wpa_cli_cmd()
280 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) in wpa_cli_cmd()
286 static int wpa_cli_cmd_ifname(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ifname() argument
292 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument
294 if (argc > 0 && os_strcmp(argv[0], "verbose") == 0) in wpa_cli_cmd_status()
296 if (argc > 0 && os_strcmp(argv[0], "wps") == 0) in wpa_cli_cmd_status()
298 if (argc > 0 && os_strcmp(argv[0], "driver") == 0) in wpa_cli_cmd_status()
301 if (argc > 0 && os_strcmp(argv[0], "no_events") == 0) in wpa_cli_cmd_status()
308 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ping() argument
[all …]
/freebsd/usr.bin/m4/
H A Deval.c102 eval(const char *argv[], int argc, int td, int is_traced) in eval() argument
110 mark = trace(argv, argc, infile+ilevel); in eval()
112 expand_macro(argv, argc); in eval()
114 expand_builtin(argv, argc, td); in eval()
123 expand_builtin(const char *argv[], int argc, int td) in expand_builtin() argument
131 printf("argc = %d\n", argc); in expand_builtin()
132 for (n = 0; n < argc; n++) in expand_builtin()
145 ac = argc; in expand_builtin()
147 if (argc == 3 && !*(argv[2]) && !mimic_gnu) in expand_builtin()
148 argc--; in expand_builtin()
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dhostapd_cli.c228 int min_args, int argc, char *argv[]) in hostapd_cli_cmd() argument
232 if (argc < min_args) { in hostapd_cli_cmd()
237 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) in hostapd_cli_cmd()
243 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() argument
249 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() argument
255 static int hostapd_cli_cmd_close_log(struct wpa_ctrl *ctrl, int argc, in hostapd_cli_cmd_close_log() argument
262 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_status() argument
264 if (argc > 0 && os_strcmp(argv[0], "driver") == 0) in hostapd_cli_cmd_status()
270 static int hostapd_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_mib() argument
272 if (argc > 0) { in hostapd_cli_cmd_mib()
[all …]
/freebsd/sbin/bectl/
H A Dbectl.c45 static int bectl_cmd_activate(int argc, char *argv[]);
46 static int bectl_cmd_check(int argc, char *argv[]);
47 static int bectl_cmd_create(int argc, char *argv[]);
48 static int bectl_cmd_destroy(int argc, char *argv[]);
49 static int bectl_cmd_export(int argc, char *argv[]);
50 static int bectl_cmd_import(int argc, char *argv[]);
52 static int bectl_cmd_add(int argc, char *argv[]);
54 static int bectl_cmd_mount(int argc, char *argv[]);
55 static int bectl_cmd_rename(int argc, char *argv[]);
56 static int bectl_cmd_unmount(int argc, char *argv[]);
[all …]
/freebsd/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c81 setpeer(int argc, char **argv) in setpeer() argument
93 if (argc < 2) in setpeer()
94 another(&argc, &argv, "to"); in setpeer()
95 if (argc < 2 || argc > 3) { in setpeer()
104 if (argc > 2) { in setpeer()
220 settype(int argc, char **argv) in settype() argument
225 if (argc > 2) { in settype()
238 if (argc < 2) { in settype()
305 setbinary(int argc, char **argv) in setbinary() argument
317 setascii(int argc, char **argv) in setascii() argument
[all …]
/freebsd/contrib/libxo/tests/core/
H A Dtest_12.c21 main (int argc, char **argv) in main() argument
30 argc = xo_parse_args(argc, argv); in main()
31 if (argc < 0) in main()
34 for (argc = 1; argv[argc]; argc++) { in main()
35 if (xo_streq(argv[argc], "xml")) in main()
37 else if (xo_streq(argv[argc], "json")) in main()
39 else if (xo_streq(argv[argc], "text")) in main()
41 else if (xo_streq(argv[argc], "html")) in main()
43 else if (xo_streq(argv[argc], "no-color")) in main()
45 else if (xo_streq(argv[argc], "pretty")) in main()
[all …]
H A Dtest_09.c21 main (int argc, char **argv) in main() argument
38 argc = xo_parse_args(argc, argv); in main()
39 if (argc < 0) in main()
42 for (argc = 1; argv[argc]; argc++) { in main()
43 if (xo_streq(argv[argc], "xml")) in main()
45 else if (xo_streq(argv[argc], "json")) in main()
47 else if (xo_streq(argv[argc], "text")) in main()
49 else if (xo_streq(argv[argc], "html")) in main()
51 else if (xo_streq(argv[argc], "pretty")) in main()
53 else if (xo_streq(argv[argc], "xpath")) in main()
[all …]
H A Dtest_03.c27 main (int argc, char **argv) in main() argument
43 argc = xo_parse_args(argc, argv); in main()
44 if (argc < 0) in main()
47 for (argc = 1; argv[argc]; argc++) { in main()
48 if (xo_streq(argv[argc], "count")) { in main()
49 if (argv[argc + 1]) in main()
50 opt_count = atoi(argv[++argc]); in main()
51 } else if (xo_streq(argv[argc], "extra")) { in main()
52 if (argv[argc + 1]) in main()
53 opt_extra = atoi(argv[++argc]); in main()
H A Dtest_08.c21 main (int argc, char **argv) in main() argument
38 argc = xo_parse_args(argc, argv); in main()
39 if (argc < 0) in main()
42 for (argc = 1; argv[argc]; argc++) { in main()
43 if (xo_streq(argv[argc], "xml")) in main()
45 else if (xo_streq(argv[argc], "json")) in main()
47 else if (xo_streq(argv[argc], "text")) in main()
49 else if (xo_streq(argv[argc], "html")) in main()
51 else if (xo_streq(argv[argc], "pretty")) in main()
53 else if (xo_streq(argv[argc], "xpath")) in main()
[all …]
H A Dtest_02.c22 main (int argc, char **argv) in main() argument
26 argc = xo_parse_args(argc, argv); in main()
27 if (argc < 0) in main()
30 for (argc = 1; argv[argc]; argc++) { in main()
31 if (xo_streq(argv[argc], "xml")) in main()
33 else if (xo_streq(argv[argc], "json")) in main()
35 else if (xo_streq(argv[argc], "text")) in main()
37 else if (xo_streq(argv[argc], "html")) in main()
39 else if (xo_streq(argv[argc], "pretty")) in main()
41 else if (xo_streq(argv[argc], "xpath")) in main()
[all …]
/freebsd/sbin/gvinum/
H A Dgvinum.c93 main(int argc, char **argv) in main() argument
105 if (argc > 1) { in main()
106 argc--; in main()
108 parseline(argc, argv); in main()
136 gvinum_attach(int argc, char * const *argv) in gvinum_attach() argument
145 if (argc < 3) { in gvinum_attach()
151 if (argc > 3) { in gvinum_attach()
154 if (argc == 5) in gvinum_attach()
173 gvinum_create(int argc, char * const *argv) in gvinum_create() argument
191 for (i = 1; i < argc; i++) { in gvinum_create()
[all …]
/freebsd/usr.sbin/mlxcontrol/
H A Dcommand.c42 static int cmd_status(int argc, char *argv[]);
43 static int cmd_rescan(int argc, char *argv[]);
44 static int cmd_detach(int argc, char *argv[]);
45 static int cmd_check(int argc, char *argv[]);
46 static int cmd_rebuild(int argc, char *argv[]);
48 static int cmd_pause(int argc, char *argv[]);
50 static int cmd_help(int argc, char *argv[]);
52 extern int cmd_config(int argc, char *argv[]);
58 int (*func)(int argc, char *argv[]);
119 main(int argc, char *argv[]) in main() argument
[all …]
/freebsd/bin/chio/
H A Dchio.c119 main(int argc, char **argv) in main() argument
123 while ((ch = getopt(argc, argv, "f:")) != -1) { in main()
133 argc -= optind; in main()
136 if (argc == 0) in main()
167 exit ((*commands[i].cc_handler)(commands[i].cc_name, argc, argv)); in main()
172 do_move(const char *cname, int argc, char **argv) in do_move() argument
185 ++argv; --argc; in do_move()
187 if (argc < 4) { in do_move()
190 } else if (argc > 5) { in do_move()
198 ++argv; --argc; in do_move()
[all …]
/freebsd/tools/regression/tmpfs/
H A Dh_tools.c69 getfh_main(int argc, char **argv) in getfh_main() argument
74 if (argc < 2) in getfh_main()
93 kqueue_main(int argc, char **argv) in kqueue_main() argument
100 if (argc < 2) in kqueue_main()
103 argc--; in kqueue_main()
106 changes = malloc(sizeof(struct kevent) * (argc - 1)); in kqueue_main()
110 for (i = 0; i < argc; i++) { in kqueue_main()
135 (void)kevent(kq, changes, argc, &event, 1, &to); in kqueue_main()
145 nev = kevent(kq, changes, argc, &event, 1, &to); in kqueue_main()
149 for (i = 0; i < argc; i++) in kqueue_main()
[all …]
/freebsd/usr.bin/tftp/
H A Dmain.c165 main(int argc, char *argv[]) in main() argument
189 if (argc > 1) { in main()
198 setpeer(argc, argv); in main()
345 setpeer(int argc, char *argv[]) in setpeer() argument
349 if (argc < 2) { in setpeer()
354 argc = margc; in setpeer()
357 if ((argc < 2) || (argc > 3)) { in setpeer()
361 if (argc == 3) { in setpeer()
369 modecmd(int argc, char *argv[]) in modecmd() argument
374 if (argc < 2) { in modecmd()
[all …]
/freebsd/usr.bin/getent/
H A Dgetent.c100 main(int argc, char *argv[]) in main() argument
106 if (argc < 2) in main()
110 exit(curdb->callback(argc, argv)); in main()
186 ethers(int argc, char *argv[]) in ethers() argument
192 assert(argc > 1); in ethers()
198 if (argc == 2) { in ethers()
202 for (i = 2; i < argc; i++) { in ethers()
228 group(int argc, char *argv[]) in group() argument
234 assert(argc > 1); in group()
242 if (argc == 2) { in group()
[all …]
/freebsd/contrib/netbsd-tests/fs/tmpfs/
H A Dh_tools.c68 getfh_main(int argc, char **argv) in getfh_main() argument
74 if (argc < 2) in getfh_main()
127 kqueue_main(int argc, char **argv) in kqueue_main() argument
134 if (argc < 2) in kqueue_main()
137 argc--; in kqueue_main()
140 changes = malloc(sizeof(struct kevent) * argc); in kqueue_main()
144 for (i = 0; i < argc; i++) { in kqueue_main()
169 (void)kevent(kq, changes, argc, &event, 1, &to); in kqueue_main()
179 nev = kevent(kq, changes, argc, &event, 1, &to); in kqueue_main()
183 for (i = 0; i < argc; i++) in kqueue_main()
[all …]
/freebsd/sbin/ddb/
H A Dddb.c40 void ddb_main(int argc, char *argv[]);
68 int argc = 0; in ddb_readfile() local
80 argc++; in ddb_readfile()
86 argc++; in ddb_readfile()
91 printf("argc = %d\n", argc); in ddb_readfile()
92 for (i = 0; i < argc; i++) { in ddb_readfile()
97 ddb_main(argc, argv); in ddb_readfile()
103 ddb_main(int argc, char *argv[]) in ddb_main() argument
106 if (argc < 1) in ddb_main()
110 ddb_capture(argc, argv); in ddb_main()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A Dllvm-cov.cpp25 int showMain(int argc, const char *argv[]);
28 int reportMain(int argc, const char *argv[]);
31 int exportMain(int argc, const char *argv[]);
34 int convertForTestingMain(int argc, const char *argv[]);
37 int gcovMain(int argc, const char *argv[]);
40 static int helpMain(int argc, const char *argv[]) { in helpMain() argument
53 static int versionMain(int argc, const char *argv[]) { in versionMain() argument
58 int main(int argc, const char **argv) { in main() argument
59 InitLLVM X(argc, argv); in main()
63 return gcovMain(argc, argv); in main()
[all …]
/freebsd/contrib/openpam/modules/pam_return/
H A Dpam_return.c47 int argc, const char *argv[]) in pam_return() argument
54 (void)argc; in pam_return()
79 int argc, const char *argv[]) in pam_sm_authenticate() argument
82 return (pam_return(pamh, flags, argc, argv)); in pam_sm_authenticate()
87 int argc, const char *argv[]) in pam_sm_setcred() argument
90 return (pam_return(pamh, flags, argc, argv)); in pam_sm_setcred()
95 int argc, const char *argv[]) in pam_sm_acct_mgmt() argument
98 return (pam_return(pamh, flags, argc, argv)); in pam_sm_acct_mgmt()
103 int argc, const char *argv[]) in pam_sm_open_session() argument
106 return (pam_return(pamh, flags, argc, argv)); in pam_sm_open_session()
[all …]
/freebsd/usr.sbin/pw/
H A Dpw.h73 int pw_group_add(int argc, char **argv, char *name);
74 int pw_group_del(int argc, char **argv, char *name);
75 int pw_group_mod(int argc, char **argv, char *name);
76 int pw_group_next(int argc, char **argv, char *name);
77 int pw_group_show(int argc, char **argv, char *name);
78 int pw_user_add(int argc, char **argv, char *name);
79 int pw_user_add(int argc, char **argv, char *name);
80 int pw_user_add(int argc, char **argv, char *name);
81 int pw_user_add(int argc, char **argv, char *name);
82 int pw_user_del(int argc, cha
[all...]
/freebsd/contrib/openpam/modules/pam_deny/
H A Dpam_deny.c46 int argc, const char *argv[]) in pam_sm_authenticate() argument
51 (void)argc; in pam_sm_authenticate()
58 int argc, const char *argv[]) in pam_sm_setcred() argument
63 (void)argc; in pam_sm_setcred()
70 int argc, const char *argv[]) in pam_sm_acct_mgmt() argument
75 (void)argc; in pam_sm_acct_mgmt()
82 int argc, const char *argv[]) in pam_sm_open_session() argument
87 (void)argc; in pam_sm_open_session()
94 int argc, const char *argv[]) in pam_sm_close_session() argument
99 (void)argc; in pam_sm_close_session()
[all …]
/freebsd/contrib/openpam/modules/pam_permit/
H A Dpam_permit.c46 int argc, const char *argv[]) in pam_sm_authenticate() argument
51 (void)argc; in pam_sm_authenticate()
58 int argc, const char *argv[]) in pam_sm_setcred() argument
63 (void)argc; in pam_sm_setcred()
70 int argc, const char *argv[]) in pam_sm_acct_mgmt() argument
75 (void)argc; in pam_sm_acct_mgmt()
82 int argc, const char *argv[]) in pam_sm_open_session() argument
87 (void)argc; in pam_sm_open_session()
94 int argc, const char *argv[]) in pam_sm_close_session() argument
99 (void)argc; in pam_sm_close_session()
[all …]

12345678910>>...84