Lines Matching refs:size
57 static const char *inet_ntop4(const u_char *src, char *dst, size_t size);
58 static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
61 * inet_ntop(af, src, dst, size)
69 inet_ntop(af, src, dst, size)
73 size_t size;
77 return (inet_ntop4(src, dst, size));
79 return (inet_ntop6(src, dst, size));
88 * inet_ntop4(src, dst, size)
99 inet_ntop4(src, dst, size)
102 size_t size;
108 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
109 if (l <= 0 || l >= size) {
113 strlcpy(dst, tmp, size);
118 * inet_ntop6(src, dst, size)
124 inet_ntop6(src, dst, size)
127 size_t size;
131 * to contain a value of the specified size. On some systems, like
222 if ((size_t)(tp - tmp) > size) {
226 strlcpy(dst, tmp, size);