Lines Matching refs:cp
365 char *cp, *dp;
368 cp = next(line, " \t");
369 if (cp == NULL)
371 *cp++ = '\0';
372 while (*cp && *cp == '\t' && *cp == ' ')
373 cp++;
374 dp = cp, cp = next(cp, " \t");
375 if (cp == NULL)
377 *cp++ = '\0';
383 (void) fprintf(stderr, "%s: unknown file system\n", cp);
386 while (*cp && *cp == '\t' && *cp == ' ')
387 cp++;
391 * file system and cp points to the remainder of the
394 n = sscanf(cp,
403 (void) fprintf(stderr, "%s: bad format\n", cp);
425 (void) fprintf(stderr, "%s %s%\n", dp, cp);
436 (void) fprintf(stderr, "%s %s%\n", dp, cp);
454 (void) fprintf(stderr, "%s %s%\n", dp, cp);
465 (void) fprintf(stderr, "%s %s%\n", dp, cp);
536 char *cp, *dp;
539 cp = next(line, " \t");
540 if (cp == NULL)
542 *cp++ = '\0';
543 while (*cp && *cp == '\t' && *cp == ' ')
544 cp++;
545 dp = cp, cp = next(cp, " \t");
546 if (cp == NULL)
548 *cp++ = '\0';
554 (void) fprintf(stderr, "%s: unknown file system\n", cp);
557 while (*cp && *cp == '\t' && *cp == ' ')
558 cp++;
559 n = sscanf(cp,
568 (void) fprintf(stderr, "%s: bad format\n", cp);
579 next(char *cp, char *match)
583 while (cp && *cp) {
585 if (*dp == *cp)
586 return (cp);
587 cp++;