Searched refs:new_addresses (Results 1 – 2 of 2) sorted by relevance
44 grpc_lb_addresses* new_addresses = grpc_lb_addresses_create( in grpc_lb_addresses_copy() local46 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()
166 auto new_addresses = ResolveNames(kCachedDomainNames); in WorkerThread() local171 addresses_.swap(new_addresses); in WorkerThread()