Home
last modified time | relevance | path

Searched refs:nameend (Results 1 – 2 of 2) sorted by relevance

/external/grub/lib/
Dgetopt.c641 char *nameend; local
649 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
655 if (!strncmp (p->name, nextchar, nameend - nextchar))
657 if ((unsigned int) (nameend - nextchar)
692 if (*nameend)
697 optarg = nameend + 1;
798 char *nameend; local
837 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)
843 if (!strncmp (p->name, nextchar, nameend - nextchar))
845 if ((unsigned int) (nameend - nextchar) == strlen (p->name))
[all …]
/external/bison/lib/
Dgetopt.c485 char *nameend; in _getopt_internal_r() local
493 for (nameend = d->__nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal_r()
499 if (!strncmp (p->name, d->__nextchar, nameend - d->__nextchar)) in _getopt_internal_r()
501 if ((unsigned int) (nameend - d->__nextchar) in _getopt_internal_r()
561 if (*nameend) in _getopt_internal_r()
566 d->optarg = nameend + 1; in _getopt_internal_r()
803 char *nameend; in _getopt_internal_r() local
863 for (d->__nextchar = nameend = d->optarg; *nameend && *nameend != '='; in _getopt_internal_r()
864 nameend++) in _getopt_internal_r()
870 if (!strncmp (p->name, d->__nextchar, nameend - d->__nextchar)) in _getopt_internal_r()
[all …]