Lines Matching defs:input
119 consume_whitespace (const char **input)
121 while (ISSPACE (**input))
123 (*input)++;
128 only_whitespace (const char* input)
130 while (*input != EOS && ISSPACE (*input))
131 input++;
133 return (*input == EOS);
143 pointers to copies of the string for each field. The input string
156 If the input is a null string (as opposed to a @code{NULL} pointer),
166 sequences, we allocate a working buffer at least as long as the input
168 work, since the extracted arg is never larger than the input string.
176 char **buildargv (const char *input)
188 if (input != NULL)
190 copybuf = (char *) xmalloc (strlen (input) + 1);
196 consume_whitespace (&input);
216 while (*input != EOS)
218 if (ISSPACE (*input) && !squote && !dquote && !bsquote)
227 *arg++ = *input;
229 else if (*input == '\\')
235 if (*input == '\'')
241 *arg++ = *input;
246 if (*input == '"')
252 *arg++ = *input;
257 if (*input == '\'')
261 else if (*input == '"')
267 *arg++ = *input;
270 input++;
278 consume_whitespace (&input);
280 while (*input != EOS);