Home
last modified time | relevance | path

Searched refs:new_addresses (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc44 grpc_lb_addresses* new_addresses = grpc_lb_addresses_create( in grpc_lb_addresses_copy() local
46 memcpy(new_addresses->addresses, addresses->addresses, in grpc_lb_addresses_copy()
49 if (new_addresses->addresses[i].balancer_name != nullptr) { in grpc_lb_addresses_copy()
50 new_addresses->addresses[i].balancer_name = in grpc_lb_addresses_copy()
51 gpr_strdup(new_addresses->addresses[i].balancer_name); in grpc_lb_addresses_copy()
53 if (new_addresses->addresses[i].user_data != nullptr) { in grpc_lb_addresses_copy()
54 new_addresses->addresses[i].user_data = addresses->user_data_vtable->copy( in grpc_lb_addresses_copy()
55 new_addresses->addresses[i].user_data); in grpc_lb_addresses_copy()
58 return new_addresses; in grpc_lb_addresses_copy()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_dns_cache.cc164 auto new_addresses = ResolveNames(kCachedDomainNames); in WorkerThread() local
169 addresses_.swap(new_addresses); in WorkerThread()