Lines Matching refs:tmp
50 char tmp[UV__INET_ADDRSTRLEN]; in inet_ntop4() local
53 l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]); in inet_ntop4()
57 uv__strscpy(dst, tmp, size); in inet_ntop4()
70 char tmp[UV__INET6_ADDRSTRLEN], *tp; in inet_ntop6() local
111 tp = tmp; in inet_ntop6()
127 int err = inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp)); in inet_ntop6()
133 tp += snprintf(tp, sizeof tmp - (tp - tmp), "%x", words[i]); in inet_ntop6()
139 if ((size_t) (tp - tmp) > size) in inet_ntop6()
141 uv__strscpy(dst, tmp, size); in inet_ntop6()
155 char tmp[UV__INET6_ADDRSTRLEN], *s, *p; in uv_inet_pton() local
159 s = tmp; in uv_inet_pton()
178 unsigned char tmp[sizeof(struct in_addr)], *tp; in inet_pton4() local
182 *(tp = tmp) = 0; in inet_pton4()
209 memcpy(dst, tmp, sizeof(struct in_addr)); in inet_pton4()
217 unsigned char tmp[sizeof(struct in6_addr)], *tp, *endp, *colonp; in inet_pton6() local
222 memset((tp = tmp), '\0', sizeof tmp); in inet_pton6()
223 endp = tp + sizeof tmp; in inet_pton6()
296 memcpy(dst, tmp, sizeof tmp); in inet_pton6()