Searched refs:lb_policy_name (Results 1 – 8 of 8) sorted by relevance
55 const char* lb_policy_name = nullptr; in GetLoadBalancingPolicyName() local60 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()
334 const char* lb_policy_name = grpc_channel_arg_get_string(channel_arg); in get_lb_policy_name_from_resolver_result_locked() local343 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() argument393 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 …]
323 const char* lb_policy_name = in OnResolvedLocked() local325 if (lb_policy_name != nullptr) { in OnResolvedLocked()329 const_cast<char*>(lb_policy_name)); in OnResolvedLocked()
159 const grpc::string& lb_policy_name) { in SetLoadBalancingPolicyName() argument160 SetString(GRPC_ARG_LB_POLICY_NAME, lb_policy_name); in SetLoadBalancingPolicyName()
95 void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name);
617 char** lb_policy_name; member
85 &channel_info.lb_policy_name); in GetLoadBalancingPolicyName()
202 const grpc::string& lb_policy_name, in BuildChannel() argument204 if (lb_policy_name.size() > 0) { in BuildChannel()205 args.SetLoadBalancingPolicyName(lb_policy_name); in BuildChannel()