Lines Matching refs:cp
124 char *cp, *ret;
127 cp = file->buf + file->ptr;
128 while (*cp && *cp != '\n') {
129 cp++;
137 while (*cp && (*cp == '\n' || *cp == '\r')) {
138 cp++;
165 static char *skip_over_blank(char *cp)
167 while (*cp && isspace(*cp))
168 cp++;
169 return cp;
172 static char *skip_over_word(char *cp)
174 while (*cp && !isspace(*cp))
175 cp++;
176 return cp;
235 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp;
237 if ((cp = strchr(line, '#')))
238 *cp = 0; /* Ignore everything after the comment char */
239 cp = line;
241 device = parse_word(&cp);
242 mntpnt = parse_word(&cp);
243 type = parse_word(&cp);
244 opts = parse_word(&cp);
245 freq = parse_word(&cp);
246 passno = parse_word(&cp);