Searched refs:first_nonopt (Results 1 – 3 of 3) sorted by relevance
258 static int first_nonopt; variable317 int bottom = first_nonopt; in exchange()389 first_nonopt += (share__optind - last_nonopt); in exchange()405 first_nonopt = last_nonopt = share__optind; in share___getopt_initialize()558 if (first_nonopt > share__optind) in share___getopt_internal()559 first_nonopt = share__optind; in share___getopt_internal()566 if (first_nonopt != last_nonopt && last_nonopt != share__optind) in share___getopt_internal()569 first_nonopt = share__optind; in share___getopt_internal()588 if (first_nonopt != last_nonopt && last_nonopt != share__optind) in share___getopt_internal()590 else if (first_nonopt == last_nonopt) in share___getopt_internal()[all …]
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()