Lines Matching refs:sp
404 char *sp, *arg, quote; local
416 sp = strchr (buf, '\n');
417 if (sp)
418 *sp = '\0';
421 sp = buf;
425 if ( *sp == '#' )
428 while (*sp != '\0') {
429 if (*sp == ' ' || *sp == '\t') {
430 ++sp;
434 if (*sp == '"' || *sp == '\'') {
435 quote = *sp++;
436 arg = sp;
437 while (*sp != quote) {
438 if (*sp == '\0')
441 if (*sp++ == '\\') {
442 if (*sp != '\0')
443 ++sp;
448 arg = sp;
449 while (*sp != '\0' && *sp != ' ' && *sp != '\t')
450 ++sp;
453 if (*sp != '\0')
454 *sp++ = '\0';