Home
last modified time | relevance | path

Searched refs:lb_policy_name (Results 1 – 18 of 18) 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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dresolver_result_parsing.cc297 std::string lb_policy_name; in ParseGlobalParams() local
304 lb_policy_name = it->second.string_value(); in ParseGlobalParams()
305 for (size_t i = 0; i < lb_policy_name.size(); ++i) { in ParseGlobalParams()
306 lb_policy_name[i] = tolower(lb_policy_name[i]); in ParseGlobalParams()
310 lb_policy_name.c_str(), &requires_config)) { in ParseGlobalParams()
315 absl::StrCat("field:loadBalancingPolicy error:", lb_policy_name, in ParseGlobalParams()
350 std::move(parsed_lb_config), std::move(lb_policy_name), in ParseGlobalParams()
Dclient_channel.cc308 const char* lb_policy_name);
2241 const char* lb_policy_name) { in UpdateServiceConfigInControlPlaneLocked() argument
2263 UniquePtr<char> lb_policy_name_owned(gpr_strdup(lb_policy_name)); in UpdateServiceConfigInControlPlaneLocked()
2564 if (info->lb_policy_name != nullptr) { in GetChannelInfo()
2565 *info->lb_policy_name = gpr_strdup(chand->info_lb_policy_name_.get()); in GetChannelInfo()
/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/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dchannel_arguments.cc160 const std::string& lb_policy_name) { in SetLoadBalancingPolicyName() argument
161 SetString(GRPC_ARG_LB_POLICY_NAME, lb_policy_name); in SetLoadBalancingPolicyName()
/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/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/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/support/
Dchannel_arguments.h95 void SetLoadBalancingPolicyName(const std::string& lb_policy_name);
/external/grpc-grpc/include/grpcpp/support/
Dchannel_arguments.h95 void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name);
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/support/
Dchannel_arguments.h95 void SetLoadBalancingPolicyName(const std::string& lb_policy_name);
/external/grpc-grpc/include/grpc/impl/codegen/
Dgrpc_types.h617 char** lb_policy_name; member
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Dgrpc_types.h692 char** lb_policy_name; member
/external/grpc-grpc/src/cpp/client/
Dchannel_cc.cc85 &channel_info.lb_policy_name); in GetLoadBalancingPolicyName()
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Dgrpc_types.h692 char** lb_policy_name; member
/external/rust/crates/grpcio-sys/grpc/src/cpp/client/
Dchannel_cc.cc87 &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()
/external/rust/crates/grpcio-sys/bindings/
Dx86_64-unknown-linux-gnu-bindings.rs1255 pub lb_policy_name: *mut *mut ::std::os::raw::c_char, field
Daarch64-unknown-linux-gnu-bindings.rs1255 pub lb_policy_name: *mut *mut ::std::os::raw::c_char, field