/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | getopt.c | 38 int optopt; /* character checked for validity */ variable 62 if ((optopt = (int)*place++) == (int)':' || in getopt() 63 !(oli = strchr(ostr, optopt))) { in getopt() 69 if (optopt == (int)'-') in getopt() 79 p, optopt); in getopt() 99 p, optopt); in getopt() 106 return (optopt); /* dump back option letter */ in getopt()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getopt_long.c | 367 optopt = 0; in parse_long_options() 385 optopt = long_options[match].val; in parse_long_options() 387 optopt = 0; in parse_long_options() 418 optopt = long_options[match].val; in parse_long_options() 420 optopt = 0; in parse_long_options() 434 optopt = 0; in parse_long_options() 443 optopt = long_options[match].val; in parse_long_options() 444 return (optopt); in parse_long_options() 510 optopt = 0; in getopt_internal() 644 optopt = optchar; in getopt_internal() [all …]
|
H A D | getopt.c | 227 optopt = c = (unsigned char)argv[optind][_sp]; in getopt() 245 optopt = c = *cp; in getopt()
|
H A D | opt_data.c | 41 int optopt = 0; variable
|
/titanic_41/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 238 "requires an operand\n"), optopt); in ndmp_get_config() 242 "option: -%c\n"), optopt); in ndmp_get_config() 304 "requires an operand\n"), optopt); in ndmp_set_config() 308 "option: -%c\n"), optopt); in ndmp_set_config() 445 "'%c' option\n"), optopt); in ndmp_show_sessions() 450 gettext("Invalid option '%c'\n"), optopt); in ndmp_show_sessions() 580 "requires an operand\n"), optopt); in ndmp_enable_auth() 585 "option: -%c\n"), optopt); in ndmp_enable_auth() 669 "requires an operand\n"), optopt); in ndmp_disable_auth() 673 "option: -%c\n"), optopt); in ndmp_disable_auth()
|
/titanic_41/usr/src/cmd/mdb/common/libstand/ |
H A D | getopt.c | 33 int opterr = 1, optind = 1, optopt = 0; variable 44 optopt = 0; in getopt_reset() 64 optopt = c = (unsigned char)argv[optind][_sp]; in getopt()
|
/titanic_41/usr/src/cmd/lp/cmd/ |
H A D | lpusers.c | 65 extern int optind, opterr, optopt, errno; in main() 129 if (optopt == '?') in main() 131 stroptsw[1] = optopt; in main() 132 if (strchr("ldqu", optopt)) in main()
|
/titanic_41/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 156 int optopt = '?'; variable 684 optopt = 0; 715 optopt = pfound->val; 730 optopt = pfound->val; 765 optopt = 0; 792 optopt = c; 822 optopt = c; 952 optopt = c;
|
/titanic_41/usr/src/cmd/lvm/metassist/controller/ |
H A D | getopt_ext.c | 138 if (optopt != '?') { in getopt_ext() 139 if (strchr(optstring, optopt) == NULL) { in getopt_ext()
|
/titanic_41/usr/src/cmd/head/ |
H A D | head.c | 111 optopt); in main() 118 argv[0], optopt, optarg); in main() 121 isline = optopt != 'c'; in main()
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | getopt.c | 41 int optopt = 0; 67 optopt = opt_info.option[1];
|
/titanic_41/usr/src/test/zfs-tests/cmd/file_trunc/ |
H A D | file_trunc.c | 105 extern int optind, optopt; in parse_options() 141 "Option -%c requires an operand\n", optopt); in parse_options() 147 "Unrecognized option: -%c\n", optopt); in parse_options()
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | test.c | 27 extern int optopt; 90 optopt);
|
/titanic_41/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 50 private int optopt = 0; field in Getopt 283 return optopt; in getOptopt() 371 optopt = c = args[optind].charAt(_sp); in getopt() 390 optopt = c = optstring.charAt(cp); in getopt()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | getopt.c | 44 int optopt; variable 64 optopt = c = argv[optind][sp];
|
/titanic_41/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 263 bad_option(opt, optopt, usage_str); in cmd_list() 811 bad_option(opt, optopt, usage_str); in cmd_changestate() 872 if (optopt == '?') { in parse_common() 911 bad_option(opt, optopt, usage_str); in parse_flags() 937 bad_option(opt, optopt, usage_str); in parse_options() 973 bad_option(int opt, int optopt, const char *usage_str) in bad_option() argument 979 optopt); in bad_option() 982 if (optopt == '?') { in bad_option() 987 gettext("ERROR: unrecognized option '%c'.\n"), optopt); in bad_option()
|
/titanic_41/usr/src/cmd/pcitool/ |
H A D | pcitool_ui.c | 77 static void print_bad_option(char *argv[], int optopt, char *optarg); 121 extern int optopt; /* Option (char) which is missing an operand. */ in get_commandline_args() 191 print_bad_option(argv, optopt, optarg); in get_commandline_args() 589 switch (optopt) { in get_commandline_args() 619 print_bad_option(argv, optopt, optarg); in get_commandline_args() 773 print_bad_option(argv, optopt, optarg); in get_commandline_args() 782 print_bad_option(char *argv[], int optopt, char *optarg) in print_bad_option() argument 788 argv[0], optarg, optopt); in print_bad_option() 791 } else if (optopt != 0) { in print_bad_option() 794 argv[0], optopt); in print_bad_option()
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpsched.c | 89 extern int optopt; in main() 146 if (optopt == '?') { in main() 150 fail ("%s: illegal option -- %c\n", argv[0], optopt); in main()
|
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | dcs.c | 107 static void dcs_log_bad_alg(char optopt, char *optarg); 229 dcs_log_msg(LOG_ERR, DCS_BAD_OPT_ARG, optopt, in main() 257 dcs_log_msg(LOG_NOTICE, DCS_BAD_OPT_ARG, optopt, in main() 274 dcs_log_bad_alg(optopt, optarg); in main() 286 dcs_log_bad_alg(optopt, optarg); in main() 299 if (optopt == 'a' || optopt == 'e' || optopt == 'u') in main() 300 dcs_log_bad_alg(optopt, optarg); in main() 302 dcs_log_msg(LOG_ERR, DCS_BAD_OPT, optopt); in main() 436 dcs_log_bad_alg(char optopt, char *optarg) in dcs_log_bad_alg() argument 439 dcs_log_msg(LOG_ERR, DCS_BAD_OPT_ARG, optopt, in dcs_log_bad_alg() [all …]
|
/titanic_41/usr/src/cmd/prtdscp/sparc/sun4u/ |
H A D | prtdscp.c | 113 extern int optopt; in parse_options() 169 err(gettext("invalid option -%c"), optopt); in parse_options()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | main.c | 135 opterr = optind = 1; optopt = 0; in main() 149 opterr = optind = 1; optopt = 0; in main()
|
/titanic_41/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 1244 optopt = c; in sa_create() 1253 switch (optopt) { in sa_create() 1479 optopt = c; in sa_delete() 1488 switch (optopt) { in sa_delete() 1754 optopt = c; in sa_list() 1763 switch (optopt) { in sa_list() 2329 optopt = c; in sa_show() 2338 switch (optopt) { in sa_show() 2583 optopt = c; in sa_addshare() 2592 switch (optopt) { in sa_addshare() [all …]
|
/titanic_41/usr/src/lib/libast/common/include/ |
H A D | ast_getopt.h | 36 extern int optopt;
|
/titanic_41/usr/src/test/zfs-tests/cmd/ |
H A D | file_common.h | 56 extern int optind, opterr, optopt;
|
/titanic_41/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 96 "missed argument for option %c.", optopt); in main() 100 syslog(LOG_ERR, "unrecognized option %c.", optopt); in main()
|