Lines Matching refs:tp
161 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
166 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
167 endp = tp + NS_IN6ADDRSZ;
193 colonp = tp;
197 if (tp + NS_INT16SZ > endp)
199 *tp++ = (u_char) (val >> 8) & 0xff;
200 *tp++ = (u_char) val & 0xff;
205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
206 strtoaddr(curtok, tp) > 0) {
207 tp += NS_INADDRSZ;
214 if (tp + NS_INT16SZ > endp)
216 *tp++ = (u_char) (val >> 8) & 0xff;
217 *tp++ = (u_char) val & 0xff;
224 const ptrdiff_t n = tp - colonp;
227 if (tp == endp)
233 tp = endp;
235 if (tp != endp)