Lines Matching refs:size
44 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size);
46 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size);
63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { in inet_cidr_ntop() argument
66 return (inet_cidr_ntop_ipv4(src, bits, dst, size)); in inet_cidr_ntop()
68 return (inet_cidr_ntop_ipv6(src, bits, dst, size)); in inet_cidr_ntop()
76 decoct(const u_char *src, int bytes, char *dst, size_t size) { in decoct() argument
82 if (size < sizeof "255.") in decoct()
90 size -= (size_t)(dst - t); in decoct()
109 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) { in inet_cidr_ntop_ipv4() argument
132 b = decoct(src, bytes, dst, size); in inet_cidr_ntop_ipv4()
136 size -= b; in inet_cidr_ntop_ipv4()
140 if (size < sizeof "/32") in inet_cidr_ntop_ipv4()
153 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) { in inet_cidr_ntop_ipv6() argument
255 if ((size_t)(tp - tmp) > size) { in inet_cidr_ntop_ipv6()