Lines Matching refs:cp
84 char *p, *cp, **q; in getservent_r() local
106 cp = strpbrk(p, ",/"); in getservent_r()
107 if (cp == NULL) in getservent_r()
109 *cp++ = '\0'; in getservent_r()
111 sp->s_proto = cp; in getservent_r()
123 cp = strpbrk(cp, " \t"); in getservent_r()
124 if (cp != NULL) in getservent_r()
125 *cp++ = '\0'; in getservent_r()
126 while (cp && *cp) { in getservent_r()
127 if (*cp == ' ' || *cp == '\t') { in getservent_r()
128 cp++; in getservent_r()
143 q[i++] = cp; in getservent_r()
144 cp = strpbrk(cp, " \t"); in getservent_r()
145 if (cp != NULL) in getservent_r()
146 *cp++ = '\0'; in getservent_r()