Searched refs:longopt (Results 1 – 3 of 3) sorted by relevance
183 int longopt; in getopt() local229 longopt = (_sp == 1 && c == '-'); in getopt()230 if (!(longopt ? in getopt()234 c, (longopt ? optind : 0)); in getopt()239 if (argv[optind][++_sp] == '\0' || longopt) { in getopt()273 if (!longopt && argv[optind][_sp+1] != '\0') { in getopt()275 } else if (longopt && longoptarg) { in getopt()284 " -- %s\n"), c, (longopt ? optind - 1 : 0)); in getopt()293 if (longopt && (longoptarg != NULL)) { in getopt()297 0, (longopt ? optind : 0)); in getopt()[all …]
86 #define LONGOPT_REQUIRES_ARG(longopt) \ argument87 ((((longopt).has_arg == optional_argument) && \89 ((longopt).has_arg == required_argument))
313 boolean longopt; in getopt()373 longopt = (_sp == 1 && c == '-'); in getopt()374 if (!(longopt in getopt()379 (longopt ? args[optind] : null)); in getopt()384 if (args[optind].length() == ++_sp || longopt) { in getopt()417 if (!longopt && ((_sp + 1) < args[optind].length())) { in getopt()419 } else if (longopt && (longoptarg.get() != null)) { in getopt()428 (longopt ? args[optind - 1] : null)); in getopt()437 if (longopt && (longoptarg.get() != null)) { in getopt()440 (longopt ? args[optind] : null)); in getopt()[all …]