Lines Matching defs:cp
59 register char *cp, **q;
87 if ((cp = index(result, '\n')))
88 *cp = '\0';
90 cp = strpbrk(result, " \t");
91 *cp++ = '\0';
94 while (*cp == ' ' || *cp == '\t')
95 cp++;
97 h.n_net = inet_network(cp);
101 cp = strpbrk(cp, " \t");
102 if (cp != NULL)
103 *cp++ = '\0';
104 while (cp && *cp) {
105 if (*cp == ' ' || *cp == '\t') {
106 cp++;
110 *q++ = cp;
111 cp = strpbrk(cp, " \t");
112 if (cp != NULL)
113 *cp++ = '\0';
131 char *str, *cp;
163 cp = str + (strlen(str) - 2);
165 while(!strcmp(cp, ".0")) {
166 *cp = '\0';
167 cp = str + (strlen(str) - 2);