Lines Matching defs:cp
255 char *name, *port, *proto, *aliases, *cp, *alias;
266 for (cp = p; *cp && isspace((unsigned char)*cp); cp++)
269 if (*cp == '\0' || *cp == '#')
272 if ((name = getstring(fname, line, &cp, "name")) == NULL)
275 if ((port = getstring(fname, line, &cp, "port")) == NULL)
278 if (cp) {
279 for (aliases = cp; *cp && *cp != '#'; cp++)
282 if (*cp)
283 *cp = '\0';
356 getstring(const char *fname, size_t line, char **cp, const char *tag)
360 while ((str = strsep(cp, " \t")) != NULL && *str == '\0')