Lines Matching refs:tp
85 u_char tmp[NS_INADDRSZ], *tp;
89 *(tp = tmp) = 0;
94 u_int new = *tp * 10 + (pch - digits);
96 if (saw_digit && *tp == 0)
100 *tp = new;
109 *++tp = 0;
138 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
143 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
144 endp = tp + NS_IN6ADDRSZ;
170 colonp = tp;
175 if (tp + NS_INT16SZ > endp)
177 *tp++ = (u_char) (val >> 8) & 0xff;
178 *tp++ = (u_char) val & 0xff;
183 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
184 inet_pton4(curtok, tp) > 0) {
185 tp += NS_INADDRSZ;
192 if (tp + NS_INT16SZ > endp)
194 *tp++ = (u_char) (val >> 8) & 0xff;
195 *tp++ = (u_char) val & 0xff;
202 const int n = tp - colonp;
205 if (tp == endp)
211 tp = endp;
213 if (tp != endp)