Home | History | Annotate | Download | only in src

Lines Matching defs:cp

33   unsigned char *cp = (unsigned char *)name, *p = *pp, *p1 = NULL;
38 *cp = 0;
56 if (cp != (unsigned char *)name)
57 cp--;
58 *cp = 0; /* terminate: lose final period */
60 else if (*cp != 0)
109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME)
114 *cp++ = '\\';
115 *cp++ = '[';
116 *cp++ = 'x';
125 *cp++ = dig < 10 ? dig + '0' : dig + 'A' - 10;
127 cp += sprintf((char *)cp, "/%d]", count);
129 *cp++ = '.';
133 if (cp - (unsigned char *)name + l + 1 >= MAXDNAME)
143 *cp++ = *p;
149 unsigned char c1 = *cp, c2 = *p;
155 cp++;
167 *cp++ = '.';
168 else if (*cp != 0 && *cp++ != '.')
218 char *cp;
219 for (cp = cp1; *cp; cp++)
220 if (!isdigit((int)*cp))