Lines Matching defs:src
29 static const char *inet_ntop4(const unsigned char *src, char *dst,
33 static const char *inet_ntop6(const unsigned char *src, char *dst,
38 * isc_net_ntop(af, src, dst, size)
46 inet_ntop(int af, const void *src, char *dst, size_t size)
50 return (inet_ntop4(src, dst, size));
53 return (inet_ntop6(src, dst, size));
63 * inet_ntop4(src, dst, size)
74 inet_ntop4(const unsigned char *src, char *dst, size_t size)
80 len = snprintf(tmp, sizeof tmp, fmt, src[0], src[1], src[2], src[3]);
91 * isc_inet_ntop6(src, dst, size)
98 inet_ntop6(const unsigned char *src, char *dst, size_t size)
115 * Find the longest run of 0x00's in src[] for :: shorthanding.
119 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
161 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)))