Lines Matching refs:nextchar
140 static char *nextchar;
394 nextchar = NULL;
459 updating `optind' and `nextchar' so that the next call to `getopt' can
531 if (nextchar == NULL || *nextchar == '\0')
604 nextchar = (argv[optind] + 1
635 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
641 if (!strncmp (p->name, nextchar, nameend - nextchar))
643 if ((unsigned int) (nameend - nextchar)
668 nextchar += strlen (nextchar);
698 nextchar += strlen (nextchar);
714 nextchar += strlen (nextchar);
719 nextchar += strlen (nextchar);
735 || my_index (optstring, *nextchar) == NULL)
742 argv[0], nextchar);
746 argv[0], argv[optind][0], nextchar);
748 nextchar = (char *) "";
758 char c = *nextchar++;
762 if (*nextchar == '\0')
792 if (*nextchar != '\0')
794 optarg = nextchar;
822 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)
828 if (!strncmp (p->name, nextchar, nameend - nextchar))
830 if ((unsigned int) (nameend - nextchar) == strlen (p->name))
853 nextchar += strlen (nextchar);
873 nextchar += strlen (nextchar);
887 nextchar += strlen (nextchar);
891 nextchar += strlen (nextchar);
901 nextchar = NULL;
909 if (*nextchar != '\0')
911 optarg = nextchar;
916 nextchar = NULL;
921 if (*nextchar != '\0')
923 optarg = nextchar;
947 nextchar = NULL;