Lines Matching defs:cp
155 const char *cp = s;
157 while (count-- && *cp)
158 cp++;
159 return cp - s;
665 char buf[80], *cp, *t;
673 cp = buf;
674 if (!isspace(*cp)) {
675 while (*cp && !isspace(*cp))
676 cp++;
678 while (*cp && isspace(*cp))
679 cp++;
680 if ((t = strchr(cp, '\n')) != NULL)
682 if ((t = strchr(cp, '\t')) != NULL)
684 if ((t = strchr(cp, ' ')) != NULL)
686 if (!strcmp(fs_name, cp)) {
704 char buf[1024], *cp, *t;
717 if ((cp = strchr(buf, ':')) != NULL)
718 *cp = 0;
721 if ((cp = strrchr(buf, '/')) != NULL)
722 cp++;
724 cp = buf;
725 i = strlen(cp);
727 t = cp + i - 3;
731 if (!strcmp(cp, fs_name)) {