Lines Matching refs:size
43 char *dst, size_t size));
45 char *dst, size_t size));
49 * inet_net_ntop(af, src, bits, dst, size)
58 inet_net_ntop(af, src, bits, dst, size)
63 size_t size;
67 return (inet_net_ntop_ipv4(src, bits, dst, size));
69 return (inet_net_ntop_ipv6(src, bits, dst, size));
78 * inet_net_ntop_ipv4(src, bits, dst, size)
90 inet_net_ntop_ipv4(src, bits, dst, size)
94 size_t size;
107 if (size < sizeof "0")
110 size--;
116 if (size <= sizeof "255.")
124 size -= (size_t)(dst - t);
130 if (size <= sizeof ".255")
137 size -= (size_t)(dst - t);
141 if (size <= sizeof "/32")
153 * inet_net_ntop_ipv6(src, bits, fakebits, dst, size)
169 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
268 if (strlen(outbuf) + 1 > size)