Lines Matching defs:tp
85 unsigned char tmp[NS_INADDRSZ], *tp;
89 *(tp = tmp) = 0;
94 unsigned int new = *tp * 10;
97 if (saw_digit && *tp == 0)
101 *tp = new;
110 *++tp = 0;
138 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
143 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
144 endp = tp + NS_IN6ADDRSZ;
170 colonp = tp;
173 if (tp + NS_INT16SZ > endp)
175 *tp++ = (unsigned char) (val >> 8) & 0xff;
176 *tp++ = (unsigned char) val & 0xff;
181 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
182 inet_pton4(curtok, tp) > 0) {
183 tp += NS_INADDRSZ;
190 if (tp + NS_INT16SZ > endp)
192 *tp++ = (unsigned char) (val >> 8) & 0xff;
193 *tp++ = (unsigned char) val & 0xff;
200 const int n = (int)(tp - colonp);
203 if (tp == endp)
209 tp = endp;
211 if (tp != endp)