Lines Matching refs:dst
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);
31 static int inet_pton4(const char *src, unsigned char *dst);
32 static int inet_pton6(const char *src, unsigned char *dst);
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
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
141 uv__strscpy(dst, tmp, size); in inet_ntop6()
146 int uv_inet_pton(int af, const char* src, void* dst) { in uv_inet_pton() argument
147 if (src == NULL || dst == NULL) in uv_inet_pton()
152 return (inet_pton4(src, dst)); in uv_inet_pton()
166 return inet_pton6(s, dst); in uv_inet_pton()
175 static int inet_pton4(const char *src, unsigned char *dst) { in inet_pton4() argument
209 memcpy(dst, tmp, sizeof(struct in_addr)); in inet_pton4()
214 static int inet_pton6(const char *src, unsigned char *dst) { in inet_pton6() argument
296 memcpy(dst, tmp, sizeof tmp); in inet_pton6()