Lines Matching +defs:match +defs:end
98 const struct option *popt, *match, *match2;
105 match = NULL;
130 /* "--" marks end of options; consume it and return. */
208 /* Search the table for an unambiguous match. */
210 /* Short-circuit if first chars don't match. */
215 match2 = match; /* Record up to two matches. */
216 match = popt;
217 /* If it's an exact match, we're done. */
225 /* Fail if there wasn't a unique match. */
226 if (match == NULL) {
235 long_prefix, opt_word, match->name, match2->name);
239 /* We've found a unique match; does it need an argument? */
240 if (match->required) {
247 long_prefix, match->name);
258 long_prefix, match->name);
262 return (match->equivalent);
330 /* Look up user: ue is first char after end of user. */
349 char *end;
351 owner->uid = (int)strtoul(user, &end, 10);
352 if (errno || *end != '\0') {
375 char *end;
377 owner->gid = (int)strtoul(g, &end, 10);
378 if (errno || *end != '\0') {