Lines Matching defs:cp
104 const char *cp = s;
106 while (count-- && *cp)
107 cp++;
108 return cp - s;
614 char buf[80], *cp, *t;
622 cp = buf;
623 if (!isspace(*cp)) {
624 while (*cp && !isspace(*cp))
625 cp++;
627 while (*cp && isspace(*cp))
628 cp++;
629 if ((t = strchr(cp, '\n')) != NULL)
631 if ((t = strchr(cp, '\t')) != NULL)
633 if ((t = strchr(cp, ' ')) != NULL)
635 if (!strcmp(fs_name, cp)) {
653 char buf[1024], *cp, *t;
666 if ((cp = strchr(buf, ':')) != NULL)
667 *cp = 0;
670 if ((cp = strrchr(buf, '/')) != NULL)
671 cp++;
673 cp = buf;
674 i = strlen(cp);
676 t = cp + i - 3;
680 if (!strcmp(cp, fs_name)) {