Lines Matching defs:res
156 const struct addrinfo *hints, struct addrinfo **res)
185 *res = malloc_ai(port, addr, hints);
186 if (*res == NULL)
192 *res = malloc_ai(port, htonl(0x7f000001), hints);
193 if (*res == NULL)
199 *res = malloc_ai(port, in.s_addr, hints);
200 if (*res == NULL)
213 cur = prev = *res = NULL;
219 if (*res != NULL)
220 freeaddrinfo(*res);
226 *res = cur;