Searched refs:optindex (Results 1 – 2 of 2) sorted by relevance
153 int optindex = 0; in getopt_internal() local248 for (optindex = 0; longopts[optindex].name != NULL; optindex++) in getopt_internal()251 longopts[optindex].name, match_chars) == 0) in getopt_internal()254 if (match_chars == strlen (longopts[optindex].name)) in getopt_internal()256 longopt_match = optindex; in getopt_internal()263 longopt_match = optindex; in getopt_internal()273 longopts[optindex].name); in getopt_internal()
383 int optindex, handleoptions = 1, ret; in parse_options() local389 optindex = 1; in parse_options()390 while (optindex < argc) { in parse_options()391 opt = argv[optindex++]; in parse_options()400 if ((ret = parse_option(optctx, opt, argv[optindex], options)) < 0) in parse_options()402 optindex += ret; in parse_options()753 int optindex = 1; in split_commandline() local762 while (optindex < argc) { in split_commandline()763 const char *opt = argv[optindex++], *arg; in split_commandline()770 dashdash = optindex; in split_commandline()[all …]