Home
last modified time | relevance | path

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

12345678910>>...78

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h250 extern void put(int argc, char *argv[]);
251 extern void mput(int argc, char *argv[]);
252 extern void get(int argc, char *argv[]);
253 extern void mget(int argc, char *argv[]);
263 extern void cd(int argc, char *argv[]);
264 extern void lcd(int argc, char *argv[]);
268 extern void ls(int argc, char *argv[]);
269 extern void mls(int argc, char *argv[]);
271 extern void user(int argc, char *argv[]);
272 extern void pwd(int argc, char *argv[]);
[all …]
H A Dcmds.c110 if (argc < 2) { in setpeer()
116 argc = margc; in setpeer()
119 if (argc > 3 || argc < 2) { in setpeer()
341 argc++; in put()
351 argc = margc; in put()
366 argc = margc; in put()
369 if (argc < 3) in put()
613 argc++; in getit()
644 if (argc < 3) in getit()
1670 --argc; in account()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.h36 extern char *kadmin_startup(int argc, char *argv[]);
38 extern void kadmin_lock(int argc, char *argv[]);
39 extern void kadmin_unlock(int argc, char *argv[]);
40 extern void kadmin_delprinc(int argc, char *argv[]);
41 extern void kadmin_cpw(int argc, char *argv[]);
42 extern void kadmin_addprinc(int argc, char *argv[]);
46 extern void kadmin_addpol(int argc, char *argv[]);
47 extern void kadmin_modpol(int argc, char *argv[]);
48 extern void kadmin_delpol(int argc, char *argv[]);
49 extern void kadmin_getpol(int argc, char *argv[]);
[all …]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dprocess_command.c56 ADM_Process_date(argc, argv); in ADM_Process_command()
59 ADM_Process_set(argc, argv); in ADM_Process_command()
62 ADM_Process_show(argc, argv); in ADM_Process_command()
65 ADM_Process_reset(argc, argv); in ADM_Process_command()
71 ADM_Process_useradd(argc, argv); in ADM_Process_command()
74 ADM_Process_userdel(argc, argv); in ADM_Process_command()
89 if (argc == 3) { in ADM_Process_command()
102 if (argc == 2) { in ADM_Process_command()
114 if (argc != 2) { in ADM_Process_command()
123 if (argc == 2) { in ADM_Process_command()
[all …]
H A Dadm.h80 void ADM_Process_command(int argc, char *argv[]);
84 void ADM_Process_send_event(int argc, char *argv[]);
85 void ADM_Process_date(int argc, char *argv[]);
86 void ADM_Process_set(int argc, char *argv[]);
87 void ADM_Process_show(int argc, char *argv[]);
88 void ADM_Process_reset(int argc, char *argv[]);
89 void ADM_Process_download(int argc, char *argv[]);
90 void ADM_Process_useradd(int argc, char *argv[]);
91 void ADM_Process_userdel(int argc, char *argv[]);
92 void ADM_Process_usershow(int argc, char *argv[]);
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c76 if (eqarg("erase", argc) && --argc)
78 else if (eqarg("intr", argc) && --argc)
80 else if (eqarg("quit", argc) && --argc)
82 else if (eqarg("eof", argc) && --argc)
84 else if (eqarg("min", argc) && --argc)
86 else if (eqarg("eol", argc) && --argc)
88 else if (eqarg("brk", argc) && --argc)
90 else if (eqarg("eol2", argc) && --argc)
101 if (eqarg("start", argc) && --argc)
257 if(eqarg("rows", argc) && --argc)
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c189 if (argc > 1) { in main()
249 if (argc < 2) { in setpeer()
254 if (argc > 3 || argc < 2) { in setpeer()
320 if (argc < 2) { in modecmd()
377 if (argc < 2) { in put()
382 if (argc < 2) { in put()
703 int argc; in command() local
791 int argc; in makeargv() local
802 argc = 0; in makeargv()
810 argc++; in makeargv()
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssdtest.c199 argc--; in do_gssdtest()
336 int argc; in _gss_acquire_cred()
391 argc--;
515 int argc; in _gss_add_cred()
570 argc--;
848 argc--;
1261 argc--;
1317 argc--;
1397 argc--;
1409 argc--;
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtest1.c101 if( argc!=2 ){ in sqlite_test_open()
153 if( argc!=4 ){ in test_exec_printf()
214 if( argc!=4 ){ in test_get_table_printf()
256 if( argc!=2 ){ in test_last_rowid()
278 if( argc!=2 ){ in sqlite_test_close()
393 if( argc!=2 ){ in test_create_function()
495 if( argc<4 || argc>5 ){ in sqlite_mprintf_str()
651 argc -= 2; in testFunc()
755 if( argc!=3 && argc!=4 ){ in test_compile()
796 if( argc<2 || argc>5 ){ in test_step()
[all …]
H A Dtest3.c68 if( argc!=2 ){ in btree_open()
99 if( argc!=2 ){ in btree_close()
126 if( argc!=2 ){ in btree_begin_transaction()
153 if( argc!=2 ){ in btree_rollback()
180 if( argc!=2 ){ in btree_commit()
208 if( argc!=2 ){ in btree_create_table()
238 if( argc!=3 ){ in btree_drop_table()
267 if( argc!=3 ){ in btree_clear_table()
297 if( argc!=2 ){ in btree_get_meta()
366 if( argc!=3 ){ in btree_page_dump()
[all …]
H A Dtest2.c76 if( argc!=3 ){ in pager_open()
105 if( argc!=2 ){ in pager_close()
132 if( argc!=2 ){ in pager_rollback()
159 if( argc!=2 ){ in pager_commit()
186 if( argc!=2 ){ in pager_ckpt_begin()
213 if( argc!=2 ){ in pager_ckpt_rollback()
240 if( argc!=2 ){ in pager_ckpt_commit()
267 if( argc!=2 ){ in pager_stats()
300 if( argc!=2 ){ in pager_pagecount()
327 if( argc!=3 ){ in page_get()
[all …]
H A Dfunc.c41 if( argc==0 ) return; in minmaxFunc()
63 assert( argc==2 ); in typeofFunc()
74 assert( argc==1 ); in lengthFunc()
90 assert( argc==1 ); in absFunc()
107 assert( argc==3 ); in substrFunc()
150 assert( argc==1 || argc==2 ); in roundFunc()
256 assert(argc <= 1); in lower_utf8Func()
276 assert(argc <= 1); in upper_utf8Func()
444 assert( argc==1 ); in soundexFunc()
479 if( argc>=1 ){ in randStr()
[all …]
/illumos-gate/usr/src/lib/krb5/ss/
H A Dexecute_cmd.c73 int argc;
88 info->argc = argc;
126 int argc;
162 register int i, argc; local
165 argc = 0;
167 argc++;
168 argp = (char **)malloc((argc+1)*sizeof(char *));
169 for (i = 0; i <= argc; i++)
171 i = really_execute_command(sci_idx, argc, &argp);
197 int argc, ret; local
[all …]
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c118 if (argc != 2) { in do_open()
150 if (argc != 3) { in do_codelen()
174 if (argc != 3) { in do_maxkey()
203 if (argc < 3) { in do_key2code()
207 if (argc > 4) { in do_key2code()
255 if (argc < 3) { in do_code2key()
259 if (argc > 4) { in do_code2key()
283 if (argc > 3) { in do_code2key()
307 if (argc != 4) { in do_getprop()
353 int argc; in testdict() local
[all …]
/illumos-gate/usr/src/lib/pam_modules/allow/
H A Dallow.c47 debug(pam_handle_t *pamh, int flags, int argc, const char **argv, char *mod) in debug() argument
52 if (argc < 1 || strcmp(argv[0], "debug") != 0) in debug()
66 debug(pamh, flags, argc, argv, "pam_sm_authenticate"); in pam_sm_authenticate()
71 pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_setcred() argument
73 debug(pamh, flags, argc, argv, "pam_sm_setcred"); in pam_sm_setcred()
78 pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_acct_mgmt() argument
80 debug(pamh, flags, argc, argv, "pam_sm_acct_mgmt"); in pam_sm_acct_mgmt()
87 debug(pamh, flags, argc, argv, "pam_sm_open_session"); in pam_sm_open_session()
94 debug(pamh, flags, argc, argv, "pam_sm_close_session"); in pam_sm_close_session()
99 pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_chauthtok() argument
[all …]
/illumos-gate/usr/src/lib/pam_modules/deny/
H A Ddeny.c47 debug(pam_handle_t *pamh, int flags, int argc, const char **argv, char *mod) in debug() argument
52 if (argc < 1 || strcmp(argv[0], "debug") != 0) in debug()
66 debug(pamh, flags, argc, argv, "pam_sm_authenticate"); in pam_sm_authenticate()
71 pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_setcred() argument
73 debug(pamh, flags, argc, argv, "pam_sm_setcred"); in pam_sm_setcred()
78 pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_acct_mgmt() argument
80 debug(pamh, flags, argc, argv, "pam_sm_acct_mgmt"); in pam_sm_acct_mgmt()
87 debug(pamh, flags, argc, argv, "pam_sm_open_session"); in pam_sm_open_session()
94 debug(pamh, flags, argc, argv, "pam_sm_close_session"); in pam_sm_close_session()
99 pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) in pam_sm_chauthtok() argument
[all …]
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarndtest.c84 int argc; in do_kwarndtest() local
96 if (argc == 0) { in do_kwarndtest()
111 argc--; in do_kwarndtest()
116 _kwarnd_add_warning(argc, argv); in do_kwarndtest()
119 _kwarnd_del_warning(argc, argv); in do_kwarndtest()
142 if (argc == 0) { in _kwarnd_add_warning()
147 if (argc != 2) { in _kwarnd_add_warning()
176 if (argc != 1) { in _kwarnd_del_warning()
229 *argc = 1; in parse_input_line()
234 (*argc)++; in parse_input_line()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c69 int main(argc, argv) in main() argument
70 int argc; in main()
107 int argc; in ktutil_clear_list()
112 if (argc != 1) {
123 int argc; in ktutil_read_v5()
140 int argc; in ktutil_read_v4()
161 int argc; in ktutil_write_v5()
178 int argc; in ktutil_write_v4()
199 int argc; in ktutil_add_entry()
243 int argc; in ktutil_delete_entry()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/
H A Dcrypto_cmds.h35 extern int crypto_mech_info(uintptr_t addr, uint_t flags, int argc, \
38 extern int crypto_mechanism(uintptr_t addr, uint_t flags, int argc, \
40 extern int crypto_data(uintptr_t addr, uint_t flags, int argc, \
42 extern int crypto_dual_data(uintptr_t addr, uint_t flags, int argc, \
44 extern int crypto_key(uintptr_t addr, uint_t flags, int argc, \
47 extern int kcf_provider_desc(uintptr_t addr, uint_t flags, int argc, \
50 extern int prov_tab(uintptr_t addr, uint_t flags, int argc, \
53 extern int policy_tab(uintptr_t addr, uint_t flags, int argc, \
56 extern int kcf_areq_node(uintptr_t addr, uint_t flags, int argc, \
59 extern int kcf_global_swq(uintptr_t addr, uint_t flags, int argc, \
[all …]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c153 int argc, i; in run_cli() local
190 for (argc = 1; argc < MAXARG; argc++) { in run_cli()
235 if (argc > 1) { in do_logon()
243 if (argc > 2) in do_logon()
245 if (argc > 3) in do_logon()
283 if (argc > 1) { in do_logoff()
331 if (argc < 2) { in do_mount()
336 if (argc > 2) in do_mount()
432 if (argc > 1) in do_dir()
470 if (argc > 1) in do_dirx()
[all …]
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c35 main(int argc, char **argv) in main() argument
39 argc--, argv++; in main()
44 argc--; in main()
49 argc--; in main()
51 if (argc == 0) in main()
53 else if (argc == 1) { in main()
54 argv[argc] = "."; in main()
55 argc++; in main()
57 if (argc > 2) { in main()
58 if (stat(argv[argc-1], &stb) < 0) in main()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c699 argc--; in cmd_assign_variable()
1208 if ((i != argc && i != argc - 1) || (opt_d && opt_e) || in cmd_log()
1319 argc -= i; in cmd_load()
1356 argc -= i; in cmd_unload()
1926 argc -= i; in cmd_findsym()
2037 if (argc != 0 && (argc - i) == 1) { in cmd_dis()
2349 if (argc == 1 || argc == 2) { in cmd_head()
2420 argc--; in cmd_typeset()
2747 argc--; in cmd_step()
2752 argc--; in cmd_step()
[all …]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dcommon.h47 int cmd_crypt(int argc, char *argv[]);
48 int cmd_discon(int argc, char *argv[]);
49 int cmd_help(int argc, char *argv[]);
50 int cmd_info(int argc, char *argv[]);
51 int cmd_login(int argc, char *argv[]);
52 int cmd_logout(int argc, char *argv[]);
53 int cmd_logoutall(int argc, char *argv[]);
54 int cmd_lookup(int argc, char *argv[]);
55 int cmd_print(int argc, char *argv[]);
56 int cmd_status(int argc, char *argv[]);
[all …]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrormain.c105 main(int argc, char *argv[]) in main() argument
119 if (argc > 1) { in main()
120 for (; (argc > 1) && (argv[1][0] == '-'); argc--, argv++) { in main()
149 argc--; in main()
150 if (argc > 1) { in main()
157 argc--; in main()
158 if (argc > 1) in main()
167 if (argc > 1) { in main()
168 if (argc > 3) { in main()
261 try("vi", argc, argv); in forkvi()
[all …]
/illumos-gate/usr/src/cmd/vscan/vscanadm/
H A Dvscanadm.c258 if (argc < 2) in main()
320 if (argc <= 2) { in vs_adm_get()
368 if (argc < 3) in vs_adm_set()
415 if (++i >= argc) in vs_adm_get_engine()
480 if ((argc < 3) || ((!add) && (argc < 4))) in vs_adm_set_engine()
500 if (++i >= argc) in vs_adm_set_engine()
550 if (argc != 3) in vs_adm_rem_engine()
669 if (argc < 4) in vs_adm_file_usage()
674 if (argc != 5) in vs_adm_file_usage()
762 if (argc > 2) in vs_adm_show()
[all …]

12345678910>>...78