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) {
38 return (inet_ntop4(src, dst, size));
40 return (inet_ntop6(src, dst, size));
48 static int inet_ntop4(const unsigned char *src, char *dst, size_t size) {
54 if (l <= 0 || (size_t) l >= size) {
57 uv__strscpy(dst, tmp, size);
62 static int inet_ntop6(const unsigned char *src, char *dst, size_t size) {
65 * to contain a value of the specified size. On some systems, like
139 if ((size_t) (tp - tmp) > size)
141 uv__strscpy(dst, tmp, size);