Searched refs:longopt (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt.c183 int longopt; local
229 longopt = (_sp == 1 && c == '-');
230 if (!(longopt ?
234 c, (longopt ? optind : 0));
239 if (argv[optind][++_sp] == '\0' || longopt) {
273 if (!longopt && argv[optind][_sp+1] != '\0') {
275 } else if (longopt && longoptarg) {
284 " -- %s\n"), c, (longopt ? optind - 1 : 0));
293 if (longopt && (longoptarg != NULL)) {
297 0, (longopt
[all...]
H A Dgetopt_long.c86 #define LONGOPT_REQUIRES_ARG(longopt) \
87 ((((longopt).has_arg == optional_argument) && \
89 ((longopt).has_arg == required_argument))
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java313 boolean longopt;
373 longopt = (_sp == 1 && c == '-');
374 if (!(longopt
379 (longopt ? args[optind] : null));
384 if (args[optind].length() == ++_sp || longopt) {
417 if (!longopt && ((_sp + 1) < args[optind].length())) {
419 } else if (longopt && (longoptarg.get() != null)) {
428 (longopt ? args[optind - 1] : null));
437 if (longopt && (longoptarg.get() != null)) {
440 (longopt
[all...]

Completed in 58 milliseconds