Lines Matching refs:cp
54 char *cp = *p;
57 while (*cp && isspace(*cp))
58 cp++;
59 retstr = cp;
60 while (*cp && !isspace(*cp))
61 cp++;
62 if (*cp)
64 *cp = '\0';
65 cp++;
67 *p = cp;
76 char *cp = *p;
78 while (*cp && isspace(*cp))
79 cp++;
80 for (; *cp && isdigit(*cp); cp++)
83 value += *cp - '0';
85 while (*cp && !isspace(*cp))
86 cp++;
87 if (*cp)
89 *cp = '\0';
90 cp++;
92 *p = cp;
100 char *cp;
106 cp = fgets(line, 256, mnttabp);
107 if (cp == NULL)
111 } while (*cp == '#');
112 mnt->mnt_special = mntstr(&cp);
113 if (*cp == '\0')
115 mnt->mnt_mountp = mntstr(&cp);
116 if (*cp == '\0')
118 mnt->mnt_fstype = mntstr(&cp);
119 if (*cp == '\0')
121 mnt->mnt_mntopts = mntstr(&cp);
122 if (*cp == '\0')
124 mnt->mnt_time = mntstr(&cp);