Lines Matching defs:src
61 static char *inet_ntop4 (const unsigned char *src, char *dst, size_t size)
70 ((int)((unsigned char)src[0])) & 0xff,
71 ((int)((unsigned char)src[1])) & 0xff,
72 ((int)((unsigned char)src[2])) & 0xff,
73 ((int)((unsigned char)src[3])) & 0xff);
87 static char *inet_ntop6 (const unsigned char *src, char *dst, size_t size)
107 * Find the longest run of 0x00's in src[] for :: shorthanding.
111 words[i/2] |= ((unsigned int)src[i] << ((1 - (i % 2)) << 3));
155 if(!inet_ntop4(src + 12, tp, sizeof(tmp) - (tp - tmp))) {
193 char *Curl_inet_ntop(int af, const void *src, char *buf, size_t size)
197 return inet_ntop4((const unsigned char *)src, buf, size);
199 return inet_ntop6((const unsigned char *)src, buf, size);