Lines Matching defs:arg
244 * Add an arg to line_args, adding space if needed.
247 newarg(char *arg, int index)
258 *(line_args + index) = arg;
263 * Convert blank-delimited words into an arg vector and return
264 * the arg count; character strings get null-terminated in place.
270 char **vec, *arg, *cp;
275 * treat any other "\\*" as ordinary arg data, scan until a
276 * white-space delimiter is found, and if the arg has length,
277 * null-terminate and save arg to line_args. The scan includes
278 * tail so the last arg is found without any special-case code.
280 for (arg = cp = cline; cp <= tail; cp++) {
288 if (cp - arg) {
290 newarg(arg, cnt++);
292 arg = cp + 1;
422 * parse into an arg vector and try to match the first
423 * arg with conftab keywords. When a match is found,
424 * check for exact or minimum arg count, and call the