Lines Matching refs:cp
54 char *cp = *p; local
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; local
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; in mnttabscan() local
106 cp = fgets(line, 256, mnttabp); in mnttabscan()
107 if (cp == NULL) in mnttabscan()
111 } while (*cp == '#'); in mnttabscan()
112 mnt->mnt_special = mntstr(&cp); in mnttabscan()
113 if (*cp == '\0') in mnttabscan()
115 mnt->mnt_mountp = mntstr(&cp); in mnttabscan()
116 if (*cp == '\0') in mnttabscan()
118 mnt->mnt_fstype = mntstr(&cp); in mnttabscan()
119 if (*cp == '\0') in mnttabscan()
121 mnt->mnt_mntopts = mntstr(&cp); in mnttabscan()
122 if (*cp == '\0') in mnttabscan()
124 mnt->mnt_time = mntstr(&cp); in mnttabscan()