Lines Matching defs:tp
76 unsigned char tmp[NS_INADDRSZ], *tp;
80 *(tp = tmp) = 0;
85 unsigned int byte = *tp * 10;
88 if (saw_digit && *tp == 0)
92 *tp = byte;
101 *++tp = 0;
129 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
134 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
135 endp = tp + NS_IN6ADDRSZ;
161 colonp = tp;
164 if (tp + NS_INT16SZ > endp)
166 *tp++ = (unsigned char) (val >> 8) & 0xff;
167 *tp++ = (unsigned char) val & 0xff;
172 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
173 inet_pton4(curtok, tp) > 0) {
174 tp += NS_INADDRSZ;
181 if (tp + NS_INT16SZ > endp)
183 *tp++ = (unsigned char) (val >> 8) & 0xff;
184 *tp++ = (unsigned char) val & 0xff;
191 const int n = (int)(tp - colonp);
194 if (tp == endp)
200 tp = endp;
202 if (tp != endp)