Searched refs:first_nonopt (Results 1 – 2 of 2) sorted by relevance
254 static int first_nonopt; variable307 int bottom = first_nonopt;379 first_nonopt += (optind - last_nonopt);398 first_nonopt = last_nonopt = optind;556 if (first_nonopt > optind)557 first_nonopt = optind;564 if (first_nonopt != last_nonopt && last_nonopt != optind)567 first_nonopt = optind;586 if (first_nonopt != last_nonopt && last_nonopt != optind)588 else if (first_nonopt == last_nonopt)[all …]
1032 int first_nonopt = *argc; // for non-options moved to the end in ParseNewCommandLineFlags() local1035 for (int i = 1; i < first_nonopt; i++) { in ParseNewCommandLineFlags()1042 first_nonopt--; // we've been pushed onto the stack in ParseNewCommandLineFlags()1051 first_nonopt = i+1; in ParseNewCommandLineFlags()1070 if (i+1 >= first_nonopt) { in ParseNewCommandLineFlags()1110 (*argv)[first_nonopt-1] = (*argv)[0]; in ParseNewCommandLineFlags()1111 (*argv) += (first_nonopt-1); in ParseNewCommandLineFlags()1112 (*argc) -= (first_nonopt-1); in ParseNewCommandLineFlags()1113 first_nonopt = 1; // because we still don't count argv[0] in ParseNewCommandLineFlags()1118 return first_nonopt; in ParseNewCommandLineFlags()