/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | lb_policy_factory.cc | 63 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()
|
D | lb_policy_factory.h | 46 bool is_balancer; member 77 bool is_balancer, const char* balancer_name, 85 bool is_balancer,
|
/external/grpc-grpc/test/cpp/naming/ |
D | resolver_component_test.cc | 101 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 __anond38de90d0111::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/ |
D | grpc_ares_wrapper.cc | 85 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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper.cc | 149 bool is_balancer; member 640 bool is_balancer, const char* qtype) { in create_hostbyname_request_locked() argument 644 parent_request, host, port, is_balancer, qtype); in create_hostbyname_request_locked() 649 hr->is_balancer = is_balancer; in create_hostbyname_request_locked() 672 hr->is_balancer ? r->balancer_addresses_out : r->addresses_out; in on_hostbyname_done_locked() 679 if (hr->is_balancer) { in on_hostbyname_done_locked() 725 hr->qtype, hr->host, hr->is_balancer, ares_strerror(status)); in on_hostbyname_done_locked()
|
/external/grpc-grpc/test/cpp/client/ |
D | client_channel_stress_test.cc | 213 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/ |
D | grpclb.cc | 375 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/ |
D | subchannel_list.h | 508 GPR_ASSERT(!addresses->addresses[i].is_balancer); in SubchannelList()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 485 bool is_balancer; member 499 addresses, i, lb_uri, address_data[i].is_balancer, in CreateLbAddressesFromAddressDataList()
|