Lines Matching refs:arglist
84 argmatch (const char *arg, const char *const *arglist,
95 for (i = 0; arglist[i]; i++)
97 if (!strncmp (arglist[i], arg, arglen))
99 if (strlen (arglist[i]) == arglen)
146 argmatch_valid (const char *const *arglist,
155 for (i = 0; arglist[i]; i++)
159 fprintf (stderr, "\n - `%s'", arglist[i]);
164 fprintf (stderr, ", `%s'", 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);
198 const char *const *arglist,
203 for (i = 0; arglist[i]; i++)
205 return arglist[i];