Searched refs:resolved_addresses (Results 1 – 2 of 2) sorted by relevance
620 grpc_resolved_addresses** resolved_addresses = r->addrs_out; in on_dns_lookup_done_cb() local622 *resolved_addresses = nullptr; in on_dns_lookup_done_cb()624 *resolved_addresses = static_cast<grpc_resolved_addresses*>( in on_dns_lookup_done_cb()626 (*resolved_addresses)->naddrs = r->lb_addrs->num_addresses; in on_dns_lookup_done_cb()627 (*resolved_addresses)->addrs = in on_dns_lookup_done_cb()629 sizeof(grpc_resolved_address) * (*resolved_addresses)->naddrs)); in on_dns_lookup_done_cb()630 for (size_t i = 0; i < (*resolved_addresses)->naddrs; i++) { in on_dns_lookup_done_cb()632 memcpy(&(*resolved_addresses)->addrs[i], in on_dns_lookup_done_cb()
446 grpc_resolved_addresses* resolved_addresses = nullptr; in on_read_request_done() local448 &resolved_addresses); in on_read_request_done()455 GPR_ASSERT(resolved_addresses->naddrs >= 1); in on_read_request_done()462 &resolved_addresses->addrs[0], deadline); in on_read_request_done()463 grpc_resolved_addresses_destroy(resolved_addresses); in on_read_request_done()