Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc63 bool is_balancer, const char* balancer_name, in grpc_lb_addresses_set_address() argument
70 target->is_balancer = is_balancer; in grpc_lb_addresses_set_address()
77 bool is_balancer, in grpc_lb_addresses_set_address_from_uri() argument
83 is_balancer, balancer_name, user_data); in grpc_lb_addresses_set_address_from_uri()
101 if (target1->is_balancer > target2->is_balancer) return 1; in grpc_lb_addresses_cmp()
102 if (target1->is_balancer < target2->is_balancer) return -1; in grpc_lb_addresses_cmp()
160 if (addresses.addresses[i].is_balancer) return true; in grpc_lb_addresses_contains_balancer_address()
Dlb_policy_factory.h46 bool is_balancer; member
77 bool is_balancer, const char* balancer_name,
85 bool is_balancer,
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_test.cc101 GrpcLBAddress(std::string address, bool is_balancer) in GrpcLBAddress() argument
102 : is_balancer(is_balancer), address(std::move(address)) {} in GrpcLBAddress()
105 return this->is_balancer == other.is_balancer && in operator ==()
113 bool is_balancer; member in __anond82f26af0111::GrpcLBAddress
133 bool is_balancer = in ParseExpectedAddrs() local
135 out.emplace_back(GrpcLBAddress(next_addr, is_balancer)); in ParseExpectedAddrs()
401 GrpcLBAddress(std::string(str), addr.is_balancer)); in CheckResolverResultLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc85 bool is_balancer; member
157 bool is_balancer) { in create_hostbyname_request_locked() argument
163 hr->is_balancer = is_balancer; in create_hostbyname_request_locked()
208 hr->is_balancer /* is_balancer */, in on_hostbyname_done_locked()
209 hr->is_balancer ? hr->host : nullptr /* balancer_name */, in on_hostbyname_done_locked()
229 hr->is_balancer /* is_balancer */, in on_hostbyname_done_locked()
230 hr->is_balancer ? hr->host : nullptr /* balancer_name */, in on_hostbyname_done_locked()
631 GPR_ASSERT(!r->lb_addrs->addresses[i].is_balancer); in on_dns_lookup_done_cb()
/external/grpc-grpc/test/cpp/client/
Dclient_channel_stress_test.cc213 bool is_balancer; member
227 addresses, i, lb_uri, address_data[i].is_balancer, in SetNextResolution()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc375 if (!addresses->addresses[i].is_balancer) { in ExtractBackendAddresses()
384 if (addresses->addresses[i].is_balancer) continue; in ExtractBackendAddresses()
923 if (addresses->addresses[i].is_balancer) ++num_grpclb_addrs; in ExtractBalancerAddresses()
932 if (!addresses->addresses[i].is_balancer) continue; in ExtractBalancerAddresses()
1852 if (addresses->addresses[i].is_balancer) ++num_grpclb_addrs; in CreateLoadBalancingPolicy()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h508 GPR_ASSERT(!addresses->addresses[i].is_balancer); in SubchannelList()
/external/grpc-grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc485 bool is_balancer; member
499 addresses, i, lb_uri, address_data[i].is_balancer, in CreateLbAddressesFromAddressDataList()