Home
last modified time | relevance | path

Searched refs:lb_policy_name (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/core/lib/transport/
Dservice_config.cc55 const char* lb_policy_name = nullptr; in GetLoadBalancingPolicyName() local
60 if (lb_policy_name != nullptr) return nullptr; // Duplicate. in GetLoadBalancingPolicyName()
62 lb_policy_name = field->value; in GetLoadBalancingPolicyName()
65 return lb_policy_name; in GetLoadBalancingPolicyName()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc334 const char* lb_policy_name = grpc_channel_arg_get_string(channel_arg); in get_lb_policy_name_from_resolver_result_locked() local
343 if (lb_policy_name != nullptr && in get_lb_policy_name_from_resolver_result_locked()
344 gpr_stricmp(lb_policy_name, "grpclb") != 0) { in get_lb_policy_name_from_resolver_result_locked()
348 lb_policy_name); in get_lb_policy_name_from_resolver_result_locked()
350 lb_policy_name = "grpclb"; in get_lb_policy_name_from_resolver_result_locked()
355 if (lb_policy_name == nullptr) lb_policy_name = "pick_first"; in get_lb_policy_name_from_resolver_result_locked()
356 return grpc_core::UniquePtr<char>(gpr_strdup(lb_policy_name)); in get_lb_policy_name_from_resolver_result_locked()
384 channel_data* chand, char* lb_policy_name, in create_new_lb_policy_locked() argument
393 lb_policy_name, lb_policy_args); in create_new_lb_policy_locked()
395 gpr_log(GPR_ERROR, "could not create LB policy \"%s\"", lb_policy_name); in create_new_lb_policy_locked()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc323 const char* lb_policy_name = in OnResolvedLocked() local
325 if (lb_policy_name != nullptr) { in OnResolvedLocked()
329 const_cast<char*>(lb_policy_name)); in OnResolvedLocked()
/external/grpc-grpc/src/cpp/common/
Dchannel_arguments.cc159 const grpc::string& lb_policy_name) { in SetLoadBalancingPolicyName() argument
160 SetString(GRPC_ARG_LB_POLICY_NAME, lb_policy_name); in SetLoadBalancingPolicyName()
/external/grpc-grpc/include/grpcpp/support/
Dchannel_arguments.h95 void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name);
/external/grpc-grpc/include/grpc/impl/codegen/
Dgrpc_types.h617 char** lb_policy_name; member
/external/grpc-grpc/src/cpp/client/
Dchannel_cc.cc85 &channel_info.lb_policy_name); in GetLoadBalancingPolicyName()
/external/grpc-grpc/test/cpp/end2end/
Dclient_lb_end2end_test.cc202 const grpc::string& lb_policy_name, in BuildChannel() argument
204 if (lb_policy_name.size() > 0) { in BuildChannel()
205 args.SetLoadBalancingPolicyName(lb_policy_name); in BuildChannel()