Lines Matching refs:tp
282 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local
292 memset((tp = tmp), '\0', NS_IN6ADDRSZ); in inet_net_pton_ipv6()
293 endp = tp + NS_IN6ADDRSZ; in inet_net_pton_ipv6()
323 colonp = tp; in inet_net_pton_ipv6()
327 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
329 *tp++ = (unsigned char)((val >> 8) & 0xff); in inet_net_pton_ipv6()
330 *tp++ = (unsigned char)(val & 0xff); in inet_net_pton_ipv6()
336 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6()
337 getv4(curtok, tp, &bits) > 0) { in inet_net_pton_ipv6()
338 tp += NS_INADDRSZ; in inet_net_pton_ipv6()
348 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
350 *tp++ = (unsigned char)((val >> 8) & 0xff); in inet_net_pton_ipv6()
351 *tp++ = (unsigned char)(val & 0xff); in inet_net_pton_ipv6()
368 const ssize_t n = tp - colonp; in inet_net_pton_ipv6()
371 if (tp == endp) in inet_net_pton_ipv6()
377 tp = endp; in inet_net_pton_ipv6()
379 if (tp != endp) in inet_net_pton_ipv6()