Lines Matching refs:src
61 static char *inet_ntop4(const unsigned char *src, char *dst, size_t size) in inet_ntop4() argument
70 ((int)((unsigned char)src[0])) & 0xff, in inet_ntop4()
71 ((int)((unsigned char)src[1])) & 0xff, in inet_ntop4()
72 ((int)((unsigned char)src[2])) & 0xff, in inet_ntop4()
73 ((int)((unsigned char)src[3])) & 0xff); in inet_ntop4()
87 static char *inet_ntop6(const unsigned char *src, char *dst, size_t size) in inet_ntop6() argument
111 words[i/2] |= ((unsigned int)src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
155 if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) { in inet_ntop6()
192 char *Curl_inet_ntop(int af, const void *src, char *buf, size_t size) in Curl_inet_ntop() argument
196 return inet_ntop4((const unsigned char *)src, buf, size); in Curl_inet_ntop()
198 return inet_ntop6((const unsigned char *)src, buf, size); in Curl_inet_ntop()