Home
last modified time | relevance | path

Searched refs:optc (Results 1 – 21 of 21) sorted by relevance

/mirbsd/src/bin/mksh/
Dfuncs.c234 int optc; in c_pwd() local
238 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
239 switch (optc) { in c_pwd()
350 int optc; in c_print() local
353 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1) in c_print()
354 switch (optc) { in c_print()
502 int rv = 0, optc, fcflags; in c_whence() local
506 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1) in c_whence()
507 switch (optc) { in c_whence()
1016 int optc; in c_alias() local
[all …]
Dmisc.c362 int optc, arrayset = 0; in parse_args() local
383 while ((optc = ksh_getopt(argv, &go, opts)) != -1) { in parse_args()
385 switch (optc) { in parse_args()
455 if (what == OF_SET && optc == 's') { in parse_args()
460 if (optc == OFC(i) && in parse_args()
466 internal_errorf("parse_args: '%c'", optc); in parse_args()
1784 int optc, rv, phys_path; in c_cd() local
1794 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd()
1795 switch (optc) { in c_cd()
Dhistrap.c94 int optc; in c_fc() local
103 while ((optc = ksh_getopt(wp, &builtin_opt, in c_fc()
105 switch (optc) { in c_fc()
147 optc, builtin_opt.optarg); in c_fc()
DBuild.sh68 optc=`echo "$line" | sed 's/^[<>]\(.\).*$/\1/'`
69 test x"$optc" = x'|' && return
70 optclo=`echo "$optc" | tr $allu $alll`
71 if test x"$optc" = x"$optclo"; then
155 case $optc in
156 '|') optc=0 ;;
157 *) optc=\'$optc\' ;;
Dcheck.t5110 getopts kbfl optc
5111 echo "line 2: ret=$?, optc=$optc, OPTIND=$OPTIND"
5114 getopts kbfl optc
5115 echo "line 4: ret=$?, optc=$optc, OPTIND=$OPTIND"
5118 getopts kbfl optc
5119 echo "line 6: ret=$?, optc=$optc, OPTIND=$OPTIND"
5125 getopts kbfl optc
5126 echo "line 20: ret=$?, optc=$optc, OPTIND=$OPTIND"
5129 getopts kbfl optc
5130 echo "line 40: ret=$?, optc=$optc, OPTIND=$OPTIND"
[all …]
Dexec.c554 int optc, saw_p = 0; in comexec() local
561 while ((optc = ksh_getopt(ap, &builtin_opt, ":p")) == 'p') in comexec()
563 if (optc != EOF) in comexec()
/mirbsd/src/usr.sbin/ppp/ppp/
Dmain.c212 int optc, newmode, arg; in ProcessArgs() local
215 optc = 0; in ProcessArgs()
220 for (arg = 1; arg < argc && *argv[arg] == '-'; arg++, optc++) { in ProcessArgs()
231 optc--; /* this option isn't exclusive */ in ProcessArgs()
241 optc--; /* this option isn't exclusive */ in ProcessArgs()
243 optc--; /* this option isn't exclusive */ in ProcessArgs()
245 optc--; /* nor is the argument */ in ProcessArgs()
255 optc--; /* this option isn't exclusive */ in ProcessArgs()
271 if (optc > 1) { in ProcessArgs()
/mirbsd/src/gnu/usr.sbin/sendmail/libsm/
Dcf.c40 sm_cf_getopt(path, optc, optv)
42 int optc; variable
81 for (i = 0; i < optc; ++i)
/mirbsd/src/usr.bin/less/
Doption.c43 register int optc; local
86 switch (optc = *s++)
135 optc = 'z';
146 printopt = propt(optc);
147 lc = SIMPLE_IS_LOWER(optc);
148 o = findopt(optc);
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Dstrings.c176 int optc; in main() local
195 while ((optc = getopt_long (argc, argv, "afhHn:ot:e:Vv0123456789", in main()
198 switch (optc) in main()
266 string_min = optc - '0'; in main()
268 string_min = string_min * 10 + optc - '0'; in main()
/mirbsd/src/gnu/usr.bin/binutils/gas/
Das.c526 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, in parse_args() local
529 if (optc == -1) in parse_args()
532 switch (optc) in parse_args()
537 if (md_parse_option (optc, optarg) != 0) in parse_args()
541 if (optc == 'v') in parse_args()
560 as_bad (_("unrecognized option -%c%s"), optc, optarg ? optarg : ""); in parse_args()
694 && md_parse_option (optc, optarg)) in parse_args()
808 if (md_parse_option (optc, optarg) != 0) in parse_args()
/mirbsd/src/gnu/usr.bin/binutils/ld/
Dldemul.c143 ldemul_handle_option (int optc) in ldemul_handle_option() argument
146 return (*ld_emulation->handle_option) (optc); in ldemul_handle_option()
Dlexsup.c651 int optc; in parse_args() local
667 optc = getopt_long_only (argc, argv, shortopts, longopts, &longind); in parse_args()
668 if (optc == '?') in parse_args()
671 optc = getopt_long (argc, argv, "-", really_longopts, &longind); in parse_args()
674 if (ldemul_handle_option (optc)) in parse_args()
677 if (optc == -1) in parse_args()
680 switch (optc) in parse_args()
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Dcf.h26 int optc,
/mirbsd/src/gnu/usr.bin/binutils/ld/emultempl/
Dticoff.em69 gld${EMULATION_NAME}_handle_option (int optc)
71 switch (optc)
Darmcoff.em77 gld${EMULATION_NAME}_handle_option (int optc)
79 switch (optc)
Dbeos.em261 gld${EMULATION_NAME}_handle_option (int optc)
263 switch (optc)
Daix.em288 gld${EMULATION_NAME}_handle_option (int optc)
293 switch (optc)
Dpe.em508 gld${EMULATION_NAME}_handle_option (int optc)
510 switch (optc)
Delf32.em2013 gld${EMULATION_NAME}_handle_option (int optc)
2015 switch (optc)
/mirbsd/src/usr.bin/crunchgen/
Dcrunchgen.c167 int optc; in main() local
176 while ((optc = getopt(argc, argv, "m:c:e:fqD:EL:O:")) != -1) { in main()
177 switch (optc) { in main()