Home
last modified time | relevance | path

Searched refs:update_args (Results 1 – 11 of 11) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/
Dresolving_lb_policy.cc227 UpdateArgs update_args; in CreateOrUpdateLbPolicyLocked() local
228 update_args.addresses = std::move(result.addresses); in CreateOrUpdateLbPolicyLocked()
229 update_args.config = std::move(lb_policy_config); in CreateOrUpdateLbPolicyLocked()
231 update_args.args = result.args; in CreateOrUpdateLbPolicyLocked()
235 lb_policy_ = CreateLbPolicyLocked(*update_args.args); in CreateOrUpdateLbPolicyLocked()
242 lb_policy_->UpdateLocked(std::move(update_args)); in CreateOrUpdateLbPolicyLocked()
Dclient_channel.cc2169 LoadBalancingPolicy::UpdateArgs update_args; in CreateOrUpdateLbPolicyLocked() local
2170 update_args.addresses = std::move(result.addresses); in CreateOrUpdateLbPolicyLocked()
2171 update_args.config = std::move(lb_policy_config); in CreateOrUpdateLbPolicyLocked()
2176 update_args.args = in CreateOrUpdateLbPolicyLocked()
2180 lb_policy_ = CreateLbPolicyLocked(*update_args.args); in CreateOrUpdateLbPolicyLocked()
2187 lb_policy_->UpdateLocked(std::move(update_args)); in CreateOrUpdateLbPolicyLocked()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dlrs.cc305 UpdateArgs update_args; in UpdateChildPolicyLocked() local
306 update_args.addresses = std::move(addresses); in UpdateChildPolicyLocked()
307 update_args.config = config_->child_policy(); in UpdateChildPolicyLocked()
308 update_args.args = args; in UpdateChildPolicyLocked()
314 child_policy_->UpdateLocked(std::move(update_args)); in UpdateChildPolicyLocked()
Deds.cc700 UpdateArgs update_args; in UpdateChildPolicyLocked() local
701 update_args.config = CreateChildPolicyConfigLocked(); in UpdateChildPolicyLocked()
702 if (update_args.config == nullptr) return; in UpdateChildPolicyLocked()
703 update_args.addresses = CreateChildPolicyAddressesLocked(); in UpdateChildPolicyLocked()
704 update_args.args = CreateChildPolicyArgsLocked(args_); in UpdateChildPolicyLocked()
706 child_policy_ = CreateChildPolicyLocked(update_args.args); in UpdateChildPolicyLocked()
712 child_policy_->UpdateLocked(std::move(update_args)); in UpdateChildPolicyLocked()
Dxds_cluster_manager.cc478 UpdateArgs update_args; in UpdateLocked() local
479 update_args.config = std::move(config); in UpdateLocked()
480 update_args.addresses = addresses; in UpdateLocked()
481 update_args.args = grpc_channel_args_copy(args); in UpdateLocked()
491 child_policy_->UpdateLocked(std::move(update_args)); in UpdateLocked()
Dxds_cluster_impl.cc520 UpdateArgs update_args; in UpdateChildPolicyLocked() local
521 update_args.addresses = std::move(addresses); in UpdateChildPolicyLocked()
522 update_args.config = config_->child_policy(); in UpdateChildPolicyLocked()
526 update_args.args = grpc_channel_args_copy_and_add(args, &cluster_arg, 1); in UpdateChildPolicyLocked()
533 child_policy_->UpdateLocked(std::move(update_args)); in UpdateChildPolicyLocked()
Dxds_cluster_resolver.cc1040 UpdateArgs update_args; in UpdateChildPolicyLocked() local
1041 update_args.config = CreateChildPolicyConfigLocked(); in UpdateChildPolicyLocked()
1042 if (update_args.config == nullptr) return; in UpdateChildPolicyLocked()
1043 update_args.addresses = CreateChildPolicyAddressesLocked(); in UpdateChildPolicyLocked()
1044 update_args.args = CreateChildPolicyArgsLocked(args_); in UpdateChildPolicyLocked()
1046 child_policy_ = CreateChildPolicyLocked(update_args.args); in UpdateChildPolicyLocked()
1052 child_policy_->UpdateLocked(std::move(update_args)); in UpdateChildPolicyLocked()
Dxds_routing.cc590 UpdateArgs update_args; in UpdateLocked() local
591 update_args.config = std::move(config); in UpdateLocked()
592 update_args.addresses = addresses; in UpdateLocked()
593 update_args.args = grpc_channel_args_copy(args); in UpdateLocked()
602 child_policy_->UpdateLocked(std::move(update_args)); in UpdateLocked()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc497 UpdateArgs update_args; in UpdateLocked() local
498 update_args.config = config.config; in UpdateLocked()
499 update_args.addresses = std::move(addresses); in UpdateLocked()
500 update_args.args = grpc_channel_args_copy(args); in UpdateLocked()
509 child_policy_->UpdateLocked(std::move(update_args)); in UpdateLocked()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc559 UpdateArgs update_args; in UpdateLocked() local
560 update_args.config = std::move(config); in UpdateLocked()
561 update_args.addresses = priority_policy_->addresses_[name_]; in UpdateLocked()
562 update_args.args = grpc_channel_args_copy(priority_policy_->args_); in UpdateLocked()
569 child_policy_->UpdateLocked(std::move(update_args)); in UpdateLocked()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc1651 UpdateArgs update_args; in CreateOrUpdateChildPolicyLocked() local
1659 update_args.addresses = fallback_backend_addresses_; in CreateOrUpdateChildPolicyLocked()
1661 update_args.addresses = serverlist_->GetServerAddressList( in CreateOrUpdateChildPolicyLocked()
1665 update_args.args = in CreateOrUpdateChildPolicyLocked()
1667 GPR_ASSERT(update_args.args != nullptr); in CreateOrUpdateChildPolicyLocked()
1668 update_args.config = config_->child_policy(); in CreateOrUpdateChildPolicyLocked()
1671 child_policy_ = CreateChildPolicyLocked(update_args.args); in CreateOrUpdateChildPolicyLocked()
1678 child_policy_->UpdateLocked(std::move(update_args)); in CreateOrUpdateChildPolicyLocked()