Lines Matching defs:sp
322 char *sp, *arg, quote;
334 sp = strchr (buf, '\n');
335 if (sp)
336 *sp = '\0';
339 sp = buf;
343 if ( *sp == '#' )
346 while (*sp != '\0') {
347 if (*sp == ' ' || *sp == '\t') {
348 ++sp;
352 if (*sp == '"' || *sp == '\'') {
353 quote = *sp++;
354 arg = sp;
355 while (*sp != quote) {
356 if (*sp == '\0')
359 if (*sp++ == '\\') {
360 if (*sp != '\0')
361 ++sp;
366 arg = sp;
367 while (*sp != '\0' && *sp != ' ' && *sp != '\t')
368 ++sp;
371 if (*sp != '\0')
372 *sp++ = '\0';