Lines Matching refs:cp
114 register char *cp, **q; in gethostent() local
128 if ( NULL == (cp = strpbrk(p, "#\n"))) in gethostent()
130 *cp = '\0'; in gethostent()
131 if ( NULL == (cp = strpbrk(p, " \t"))) in gethostent()
133 *cp++ = '\0'; in gethostent()
154 while (*cp == ' ' || *cp == '\t') in gethostent()
155 cp++; in gethostent()
156 host.h_name = cp; in gethostent()
158 if ((cp = strpbrk(cp, " \t\r")) != NULL) in gethostent()
159 *cp++ = '\0'; in gethostent()
160 while (cp && *cp) { in gethostent()
161 if (*cp == ' ' || *cp == '\t') { in gethostent()
162 cp++; in gethostent()
166 *q++ = cp; in gethostent()
167 if ((cp = strpbrk(cp, " \t\r")) != NULL) in gethostent()
168 *cp++ = '\0'; in gethostent()
179 register char **cp; in _gethostbyhtname() local
187 for (cp = p->h_aliases; *cp != 0; cp++) in _gethostbyhtname()
188 if (strcasecmp(*cp, name) == 0) in _gethostbyhtname()