Lines Matching refs:nextchar
146 static char *nextchar; variable
411 nextchar = NULL; in _getopt_initialize()
548 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
621 nextchar = (argv[optind] + 1 in _getopt_internal()
652 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
658 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
660 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
685 nextchar += strlen (nextchar); in _getopt_internal()
716 nextchar += strlen (nextchar); in _getopt_internal()
733 nextchar += strlen (nextchar); in _getopt_internal()
738 nextchar += strlen (nextchar); in _getopt_internal()
754 || my_index (optstring, *nextchar) == NULL) in _getopt_internal()
761 argv[0], nextchar); in _getopt_internal()
765 argv[0], argv[optind][0], nextchar); in _getopt_internal()
767 nextchar = (char *) ""; in _getopt_internal()
777 char c = *nextchar++; in _getopt_internal()
781 if (*nextchar == '\0') in _getopt_internal()
811 if (*nextchar != '\0') in _getopt_internal()
813 optarg = nextchar; in _getopt_internal()
841 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) in _getopt_internal()
847 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
849 if ((unsigned int) (nameend - nextchar) == strlen (p->name)) in _getopt_internal()
872 nextchar += strlen (nextchar); in _getopt_internal()
892 nextchar += strlen (nextchar); in _getopt_internal()
906 nextchar += strlen (nextchar); in _getopt_internal()
910 nextchar += strlen (nextchar); in _getopt_internal()
920 nextchar = NULL; in _getopt_internal()
928 if (*nextchar != '\0') in _getopt_internal()
930 optarg = nextchar; in _getopt_internal()
935 nextchar = NULL; in _getopt_internal()
940 if (*nextchar != '\0') in _getopt_internal()
942 optarg = nextchar; in _getopt_internal()
966 nextchar = NULL; in _getopt_internal()