Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 1967) sorted by relevance

12345678910>>...79

/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c71 char *argv[];
108 char *argv[];
124 char *argv[];
141 char *argv[];
209 if ((strlen(argv[i]) == 2) && !strncmp(argv[i], "-p", 2)) {
213 if ((strlen(argv[i]) == 2) && !strncmp(argv[i], "-k", 2)) {
217 if ((strlen(argv[i]) == 2) && !strncmp(argv[i], "-e", 2)) {
225 if ((strlen(argv[i]) == 4) && !strncmp(argv[i], "-key", 4)) {
270 if ((strlen(argv[i]) == 2) && !strncmp(argv[i], "-t", 2)) {
274 if ((strlen(argv[i]) == 2) && !strncmp(argv[i], "-k", 2)) {
[all …]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dprocess_command.c46 if (strcasecmp(argv[1], "help") == 0) in ADM_Process_command()
50 ADM_Process_send_event(argc, argv); in ADM_Process_command()
56 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()
68 ADM_Process_download(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()
77 ADM_Process_usershow(argc, argv); in ADM_Process_command()
[all …]
/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.c342 argv[2] = argv[1]; in put()
381 argv[2] = argv[1]; in put()
385 argv[2] = dotrans(argv[2]); in put()
388 argv[2] = domap(argv[2]); in put()
390 sendrequest(cmd, argv[1], argv[2], 1); in put()
508 if (mflag && confirm(argv[0], argv[i])) { in mput()
575 argv[0], argv[1]); in restart()
614 argv[2] = argv[1]; in getit()
677 argv[2] = dotrans(argv[2]); in getit()
680 argv[2] = domap(argv[2]); in getit()
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c96 cmdname = argv[0]; in main()
110 while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { in main()
120 argv++; in main()
136 argc--; argv++; in main()
149 if (argv[1][2] == 't' && argv[1][3] == 0) in main()
154 argc--; argv++; in main()
175 argc--; argv++; in main()
182 argv[1]); in main()
196 argv++; in main()
206 lexprog = argv[1]; in main()
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c105 char *argv[];
165 if (*(argv[i]) == '+')
174 if (*(argv[i]) == '+')
183 if (*(argv[i]) == '+')
192 if (*(argv[i]) == '+')
201 if (*(argv[i]) == '+')
210 if (*(argv[i]) == '+')
334 char *argv[];
440 char *argv[];
699 char *argv[];
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtest1.c130 Tcl_DStringAppendElement(str, argv[i] ? argv[i] : "NULL"); in exec_printf_cb()
160 rc = sqlite_exec_printf(db, argv[2], exec_printf_cb, &str, &zErr, argv[3]); in test_exec_printf()
186 zResult = sqliteMPrintf("%z%s%s", zResult, argv[1], argv[i]); in test_mprintf_z()
222 &zErr, argv[3]); in test_get_table_printf()
295 if( argv[i] ){ in ifnullFunc()
341 if( argv[i]==0 ){ in execFuncCallback()
344 dstrAppend(p, argv[i], ' '); in execFuncCallback()
503 z = sqlite_mprintf(argv[1], a[0], a[1], argc>4 ? argv[4] : NULL); in sqlite_mprintf_str()
635 if( argv[0]==0 ){ in testFunc()
640 }else if( argv[1]==0 ){ in testFunc()
[all …]
H A Dtest3.c63 const char **argv /* Text of each argument */ in btree_open() argument
73 rc = sqliteBtreeFactory(0, argv[1], 0, 1000, &pBt); in btree_open()
95 const char **argv /* Text of each argument */ in btree_close() argument
122 const char **argv /* Text of each argument */ in btree_begin_transaction() argument
149 const char **argv /* Text of each argument */ in btree_rollback() argument
176 const char **argv /* Text of each argument */ in btree_commit() argument
203 const char **argv /* Text of each argument */ in btree_create_table() argument
233 const char **argv /* Text of each argument */ in btree_drop_table() argument
593 rc = sqliteBtreeMoveto(pCur, argv[2], strlen(argv[2]), &res); in btree_move_to()
654 rc = sqliteBtreeInsert(pCur, argv[2], strlen(argv[2]), in btree_insert()
[all …]
H A Dfunc.c43 zBest = argv[0]; in minmaxFunc()
75 z = argv[0]; in lengthFunc()
91 z = argv[0]; in absFunc()
108 z = argv[0]; in substrFunc()
110 p1 = atoi(argv[1]?argv[1]:0); in substrFunc()
111 p2 = atoi(argv[2]?argv[2]:0); in substrFunc()
151 if( argv[0]==0 || (argc==2 && argv[1]==0) ) return; in roundFunc()
348 if( argv[0]==0 || argv[1]==0 ) return; in likeFunc()
364 if( argv[0]==0 || argv[1]==0 ) return; in globFunc()
376 if( argv[0]!=0 && sqliteCompare(argv[0],argv[1])!=0 ){ in nullifFunc()
[all …]
H A Dtest2.c70 const char **argv /* Text of each argument */ in pager_open() argument
101 const char **argv /* Text of each argument */ in pager_close() argument
128 const char **argv /* Text of each argument */ in pager_rollback() argument
155 const char **argv /* Text of each argument */ in pager_commit() argument
182 const char **argv /* Text of each argument */ in pager_ckpt_begin() argument
209 const char **argv /* Text of each argument */ in pager_ckpt_rollback() argument
236 const char **argv /* Text of each argument */ in pager_ckpt_commit() argument
263 const char **argv /* Text of each argument */ in pager_stats() argument
296 const char **argv /* Text of each argument */ in pager_pagecount() argument
320 const char **argv /* Text of each argument */ in page_get() argument
[all …]
/illumos-gate/usr/src/cmd/fs.d/
H A Dvolcopy.c63 main(int argc, char **argv) in main() argument
91 ++argv; in main()
98 ++argv; in main()
105 ++argv; in main()
112 ++argv; in main()
119 ++argv; in main()
134 ++argv; in main()
140 fstype = &argv[1][0]; in main()
142 fstype = &argv[1][2]; in main()
149 ++argv; in main()
[all …]
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c129 argv++; in main()
134 } else if ((argv[1][0] == '-' || argv[1][0] == '+') && in main()
188 *argv); in main()
198 *argv); in main()
202 *argv); in main()
210 *argv); in main()
214 *argv); in main()
221 *argv); in main()
225 *argv); in main()
262 argv++; in parse_obsolete_options()
[all …]
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c122 experrno = geterrno(argv[1]); in do_open()
211 experrno = geterrno(argv[1]); in do_key2code()
215 beginp = argv[2]; in do_key2code()
263 experrno = geterrno(argv[1]); in do_code2key()
292 if (strcmp(keystr, argv[3])) in do_code2key()
352 char *argv[MAXARG]; in testdict() local
366 argv[argc++] = beginp; in testdict()
373 argv[argc] = NULL; in testdict()
405 main(int argc, char *argv[]) in main() argument
411 Myname = argv[0]; in main()
[all …]
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c331 for (++argv; *argv; argv++) { in parse_args()
339 ++argv; in parse_args()
348 ++argv; in parse_args()
352 ++argv; in parse_args()
635 for (++argv; *argv; argv++) { in do_args()
827 ++argv; address_type = *argv; in do_args()
828 ++argv; address = *argv; in do_args()
929 ++argv; hiwater = *argv; in do_args()
930 ++argv; lowater = *argv; in do_args()
931 ++argv; bufsz = *argv; in do_args()
[all …]
/illumos-gate/usr/src/cmd/mkfile/
H A Dmkfile.c68 while (argv[1] && argv[1][0] == '-') { in main()
83 argv++; in main()
124 argv++; in main()
140 argv++; in main()
151 argv++; in main()
161 argv++; in main()
177 argv++; in main()
188 argv++; in main()
237 argv++; in main()
248 argv++; in main()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c308 exchange (argv) in exchange() argument
309 char **argv; in exchange()
355 argv[bottom + i] = argv[top - (middle - bottom) + i];
372 argv[bottom + i] = argv[middle + i];
681 argv[0], argv[optind]);
711 argv[0], argv[optind - 1][0], pfound->name);
728 argv[0], argv[optind - 1]);
761 argv[0], argv[optind][0], nextchar);
820 argv[0], c);
867 argv[0], argv[optind]);
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_evset.c118 argv++; in cmd_evset()
273 argv++; in ev_getopts()
356 argv->a_type == MDB_TYPE_STRING ? argv->a_un.a_str : in cmd_bp()
364 argv++; in cmd_bp()
396 argv++; in cmd_sigbp()
409 argv++; in cmd_sigbp()
440 argv++; in cmd_sysbp()
460 argv++; in cmd_sysbp()
480 if ((argv = ev_getopts(addr, flags, argc, argv, &flags, &opt_c, in cmd_fltbp()
492 argv++; in cmd_fltbp()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c256 argv[0]); in setpeer()
293 argv[2]); in setpeer()
383 putusage(argv[0]); in put()
514 src = argv[n]; in get()
598 t = atoi(argv[1]); in setrexmt()
619 t = atoi(argv[1]); in settimeout()
704 char **argv; in command() local
803 argp = argv; in makeargv()
813 if ((argv = realloc(argv, in makeargv()
829 *argvp = argv; in makeargv()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dbltin.c55 syssusp(argc,argv); in builtin()
59 sysstop(argc,argv); in builtin()
63 syskill(argc,argv); in builtin()
67 sysfgbg(argc,argv); in builtin()
138 argv++; in builtin()
152 execa(argv, -1); in builtin()
170 execa(argv, -1); in builtin()
297 while (*++argv) in builtin()
416 while (*++argv) in builtin()
425 while (*++argv) in builtin()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c87 if(*argv) in b_exec()
142 pname = argv[0]; in B_login()
177 while(arg= *argv++) in b_let()
199 if(*argv && **argv) in b_eval()
231 script = *argv; in b_dot_cmd()
281 if(np || argv[1]) in b_dot_cmd()
386 job_bwait(argv); in b_wait()
401 if(*argv[0]=='f') in b_bg()
455 if(*argv==0) in b_jobs()
487 if(arg = argv[0]) in b_universe()
[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/msgfmt/
H A Doption.c39 argv++; in parse_option()
50 argv++; in parse_option()
66 argv++; in parse_option()
74 argv++; in parse_option()
134 argv++; in parse_option()
150 argv++; in parse_option()
159 argv++; in parse_option()
167 argv++; in parse_option()
180 argv++; in parse_option()
188 argv++; in parse_option()
[all …]
/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c78 main(int argc, char **argv) in main() argument
88 "tmpFile cksumTmpDst cksumTmpFile\n", argv[0]); in main()
99 if (rename(argv[1], argv[2]) != 0) in main()
101 if (rename(argv[3], argv[1]) != 0) in main()
109 if (stat(argv[4], &statbuf) == 0 && (statbuf.st_mode & S_IFREG)) { in main()
114 if (argv[5][0] == '\0' || argv[6][0] == '\0' || in main()
115 strcmp(argv[5], argv[6]) != 0) { in main()
117 if (mount(argv[4], argv[1], MS_OVERLAY | MS_OPTIONSTR, in main()
128 "overlay mount %s onto %s\n", argv[4], in main()
129 argv[1]); in main()
[all …]
/illumos-gate/usr/src/cmd/acpi/common/
H A Dgetopt.c200 char **argv) in AcpiGetoptArgument() argument
219 AcpiGbl_Optarg = argv[AcpiGbl_Optind++]; in AcpiGetoptArgument()
243 char **argv, in AcpiGetopt() argument
253 argv[AcpiGbl_Optind][0] != '-' || in AcpiGetopt()
254 argv[AcpiGbl_Optind][1] == '\0') in AcpiGetopt()
258 else if (strcmp (argv[AcpiGbl_Optind], "--") == 0) in AcpiGetopt()
267 CurrentChar = argv[AcpiGbl_Optind][CurrentCharPtr]; in AcpiGetopt()
276 if (argv[AcpiGbl_Optind][++CurrentCharPtr] == '\0') in AcpiGetopt()
303 AcpiGbl_Optarg = argv[AcpiGbl_Optind++]; in AcpiGetopt()
323 AcpiGbl_Optarg = argv[AcpiGbl_Optind++]; in AcpiGetopt()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh143 [legacy]=( argv=( "-r" ) )
151 [legacy]=( argv=( "-0" ) )
188 [legacy]=( argv=( "-2" ) )
197 [legacy]=( argv=( "-2r" ) )
206 [legacy]=( argv=( "-3r" ) )
215 [legacy]=( argv=( "+2" ) )
224 [legacy]=( argv=( "+2r" ) )
233 [legacy]=( argv=( "+3" ) )
242 [legacy]=( argv=( "+3r" ) )
251 [legacy]=( argv=( "+4" ) )
[all …]

12345678910>>...79