Lines Matching refs:size
29 static int inet_ntop4(const unsigned char *src, char *dst, size_t size);
30 static int inet_ntop6(const unsigned char *src, char *dst, size_t size);
35 int uv_inet_ntop(int af, const void* src, char* dst, size_t size) { in uv_inet_ntop() argument
38 return (inet_ntop4(src, dst, size)); in uv_inet_ntop()
40 return (inet_ntop6(src, dst, size)); in uv_inet_ntop()
48 static int inet_ntop4(const unsigned char *src, char *dst, size_t size) { in inet_ntop4() argument
54 if (l <= 0 || (size_t) l >= size) { in inet_ntop4()
57 uv__strscpy(dst, tmp, size); in inet_ntop4()
62 static int inet_ntop6(const unsigned char *src, char *dst, size_t size) { in inet_ntop6() argument
139 if ((size_t) (tp - tmp) > size) in inet_ntop6()
141 uv__strscpy(dst, tmp, size); in inet_ntop6()