Lines Matching refs:nextchar
594 nextchar(NULLSTR), listopt(NULLSTR) in Options()
771 OptionSpec optspec = match_opt(*(nextchar++), (optctrls & Options::ANYCASE)); in parse_opt()
778 const char * save_nextchar = nextchar; in parse_opt()
779 nextchar -= 1; in parse_opt()
786 nextchar = save_nextchar; in parse_opt()
791 << *(nextchar - 1) << "." << endl ; in parse_opt()
793 optarg = (nextchar - 1); // record the bad option in optarg in parse_opt()
804 if (*nextchar) { in parse_opt()
805 optarg = nextchar; // the argument is right here in parse_opt()
806 nextchar = NULLSTR; // we've exhausted this arg in parse_opt()
871 const char * val = strpbrk(nextchar, ":=") ; in parse_longopt()
873 len = val - nextchar ; in parse_longopt()
878 OptionSpec optspec = match_longopt(nextchar, len, ambiguous); in parse_longopt()
885 const char * save_nextchar = nextchar; in parse_longopt()
892 nextchar = save_nextchar; in parse_longopt()
899 << nextchar << "." << endl ; in parse_longopt()
901 optarg = nextchar; // record the bad option in optarg in parse_longopt()
902 nextchar = NULLSTR; // we've exhausted this argument in parse_longopt()
914 nextchar = NULLSTR; // we've exhausted this argument in parse_longopt()
921 nextchar = NULLSTR; // we exhausted the rest of this arg in parse_longopt()
932 nextchar = NULLSTR; // we exhausted the rest of this arg in parse_longopt()
952 nextchar = NULLSTR; // we exhausted the rest of this arg in parse_longopt()
1081 if ((nextchar) && *nextchar) { in operator ()()
1119 nextchar = arg + 2; in operator ()()
1122 nextchar = arg + 1; in operator ()()
1127 nextchar = arg + 1; in operator ()()