Home
last modified time | relevance | path

Searched refs:PickResult (Results 1 – 14 of 14) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/
Dlb_policy.cc95 LoadBalancingPolicy::PickResult LoadBalancingPolicy::QueuePicker::Pick( in Pick()
125 PickResult result; in Pick()
126 result.type = PickResult::PICK_QUEUE; in Pick()
134 LoadBalancingPolicy::PickResult
136 PickResult result; in Pick()
137 result.type = PickResult::PICK_FAILED; in Pick()
Dlb_policy.h206 struct PickResult { struct
269 virtual PickResult Pick(PickArgs args) = 0; argument
380 PickResult Pick(PickArgs args) override;
393 PickResult Pick(PickArgs args) override;
Dclient_channel.cc2464 LoadBalancingPolicy::PickResult result = in DoPingLocked()
5331 LoadBalancingPolicy::PickResult::ResultType type) { in PickResultTypeName()
5333 case LoadBalancingPolicy::PickResult::PICK_COMPLETE: in PickResultTypeName()
5335 case LoadBalancingPolicy::PickResult::PICK_QUEUE: in PickResultTypeName()
5337 case LoadBalancingPolicy::PickResult::PICK_FAILED: in PickResultTypeName()
5382 case LoadBalancingPolicy::PickResult::PICK_FAILED: { in PickSubchannelLocked()
5408 case LoadBalancingPolicy::PickResult::PICK_QUEUE: in PickSubchannelLocked()
/third_party/grpc/test/core/util/
Dtest_lb_policies.cc120 PickResult Pick(PickArgs args) override { in Pick()
226 PickResult Pick(PickArgs args) override { in Pick()
228 PickResult result = delegate_picker_->Pick(args); in Pick()
230 if (result.type == PickResult::PICK_COMPLETE && in Pick()
277 TrailingMetadataHandler(PickResult* result, in TrailingMetadataHandler()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_impl.cc195 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
207 PickResult Pick(PickArgs args) override;
292 LoadBalancingPolicy::PickResult XdsClusterImplLb::Picker::Pick( in Pick()
298 PickResult result; in Pick()
299 result.type = PickResult::PICK_COMPLETE; in Pick()
309 PickResult result; in Pick()
310 result.type = PickResult::PICK_COMPLETE; in Pick()
316 PickResult result; in Pick()
317 result.type = PickResult::PICK_FAILED; in Pick()
326 PickResult result = picker_->Pick(args); in Pick()
Dlrs.cc93 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
107 PickResult Pick(PickArgs args);
167 LoadBalancingPolicy::PickResult LrsLb::LoadReportingPicker::Pick( in Pick()
170 PickResult result = picker_->Pick(args); in Pick()
171 if (result.type == PickResult::PICK_COMPLETE && in Pick()
Deds.cc108 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
119 PickResult Pick(PickArgs args) override;
234 EdsLb::PickResult EdsLb::DropPicker::Pick(PickArgs args) { in Pick()
239 PickResult result; in Pick()
240 result.type = PickResult::PICK_COMPLETE; in Pick()
245 PickResult result; in Pick()
246 result.type = PickResult::PICK_FAILED; in Pick()
Dxds_cluster_manager.cc87 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
109 PickResult Pick(PickArgs args) override;
207 XdsClusterManagerLb::PickResult XdsClusterManagerLb::ClusterPicker::Pick( in Pick()
215 PickResult result; in Pick()
216 result.type = PickResult::PICK_FAILED; in Pick()
Dxds_routing.cc100 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
125 PickResult Pick(PickArgs args) override;
333 XdsRoutingLb::PickResult XdsRoutingLb::RoutePicker::Pick(PickArgs args) { in Pick()
349 PickResult result; in Pick()
350 result.type = PickResult::PICK_FAILED; in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc157 PickResult Pick(PickArgs args) override;
208 RoundRobin::PickResult RoundRobin::Picker::Pick(PickArgs /*args*/) { in Pick()
216 PickResult result; in Pick()
217 result.type = PickResult::PICK_COMPLETE; in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc116 PickResult Pick(PickArgs /*args*/) override { in Pick()
117 PickResult result; in Pick()
118 result.type = PickResult::PICK_COMPLETE; in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc90 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
110 PickResult Pick(PickArgs args) override;
211 WeightedTargetLb::PickResult WeightedTargetLb::WeightedPicker::Pick( in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc340 PickResult Pick(PickArgs args) override;
608 GrpcLb::PickResult GrpcLb::Picker::Pick(PickArgs args) { in Pick()
609 PickResult result; in Pick()
622 result.type = PickResult::PICK_COMPLETE; in Pick()
628 if (result.type == PickResult::PICK_COMPLETE && in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc135 PickResult Pick(PickArgs args) { return picker_->Pick(args); } in Pick()
146 PickResult Pick(PickArgs args) override { return picker_->Pick(args); } in Pick()