Lines Matching full:arglist
73 NULL-terminated array ARGLIST, return the index in ARGLIST
84 argmatch (const char *arg, const char *const *arglist,
87 size_t i; /* Temporary index in ARGLIST. */
95 for (i = 0; arglist[i]; i++)
97 if (!strncmp (arglist[i], arg, arglen))
99 if (strlen (arglist[i]) == arglen)
142 ARGLIST is the same as in argmatch.
146 argmatch_valid (const char *const *arglist,
155 for (i = 0; arglist[i]; i++)
159 fprintf (stderr, "\n - %s", quote (arglist[i]));
164 fprintf (stderr, ", %s", quote (arglist[i]));
177 const char *arg, const char *const *arglist,
181 ptrdiff_t res = argmatch (arg, arglist, vallist, valsize);
188 argmatch_valid (arglist, vallist, valsize);
195 return the first corresponding argument in ARGLIST */
198 const char *const *arglist,
203 for (i = 0; arglist[i]; i++)
205 return arglist[i];