Lines Matching refs:len
148 size_t len; in uv_getaddrinfo() local
190 len = 0; in uv_getaddrinfo()
193 req->hints = memcpy(buf + len, hints, sizeof(*hints)); in uv_getaddrinfo()
194 len += sizeof(*hints); in uv_getaddrinfo()
198 req->service = memcpy(buf + len, service, service_len); in uv_getaddrinfo()
199 len += service_len; in uv_getaddrinfo()
203 req->hostname = memcpy(buf + len, hostname, hostname_len); in uv_getaddrinfo()
228 size_t len; in uv_if_indextoname() local
236 len = strnlen(ifname_buf, sizeof(ifname_buf)); in uv_if_indextoname()
238 if (*size <= len) { in uv_if_indextoname()
239 *size = len + 1; in uv_if_indextoname()
243 memcpy(buffer, ifname_buf, len); in uv_if_indextoname()
244 buffer[len] = '\0'; in uv_if_indextoname()
245 *size = len; in uv_if_indextoname()