Lines Matching defs:size
56 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size);
58 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size);
62 * inet_cidr_ntop(af, src, bits, dst, size)
64 * "src"'s size is determined from its "af".
75 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) {
78 return (inet_cidr_ntop_ipv4(src, bits, dst, size));
80 return (inet_cidr_ntop_ipv6(src, bits, dst, size));
88 decoct(const u_char *src, size_t bytes, char *dst, size_t size) {
94 if (size < sizeof "255.")
102 size -= (size_t)(dst - t);
110 * inet_cidr_ntop_ipv4(src, bits, dst, size)
112 * "src"'s size is determined from its "af".
122 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) {
145 b = decoct(src, bytes, dst, size);
149 size -= b;
153 if (size < sizeof "/32")
166 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
169 * to contain a value of the specified size. On some systems, like
268 if ((size_t)(tp - tmp) > size) {