Home
last modified time | relevance | path

Searched refs:XdsLocalityName (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_client_stats.h44 class XdsLocalityName : public RefCounted<XdsLocalityName> {
47 bool operator()(const XdsLocalityName* lhs, in operator()
48 const XdsLocalityName* rhs) const { in operator()
53 bool operator()(const RefCountedPtr<XdsLocalityName>& lhs, in operator()
54 const RefCountedPtr<XdsLocalityName>& rhs) const { in operator()
59 XdsLocalityName(std::string region, std::string zone, std::string subzone) in XdsLocalityName() function
64 bool operator==(const XdsLocalityName& other) const {
69 bool operator!=(const XdsLocalityName& other) const {
73 int Compare(const XdsLocalityName& other) const { in Compare()
208 RefCountedPtr<XdsLocalityName> name);
[all …]
Dxds_client.h178 RefCountedPtr<XdsLocalityName> locality);
182 const RefCountedPtr<XdsLocalityName>& locality,
284 std::map<RefCountedPtr<XdsLocalityName>, LocalityState,
285 XdsLocalityName::Less>
Dxds_api.h321 RefCountedPtr<XdsLocalityName> name;
335 std::map<XdsLocalityName*, Locality, XdsLocalityName::Less> localities;
404 std::map<RefCountedPtr<XdsLocalityName>, XdsClusterLocalityStats::Snapshot,
405 XdsLocalityName::Less>
Dxds_client_stats.cc100 RefCountedPtr<XdsLocalityName> name) in XdsClusterLocalityStats()
Dxds_client.cc2027 RefCountedPtr<XdsLocalityName> locality) { in AddClusterLocalityStats()
2064 const RefCountedPtr<XdsLocalityName>& locality, in RemoveClusterLocalityStats()
2156 const RefCountedPtr<XdsLocalityName>& locality_name = it->first; in BuildLoadReportSnapshotLocked()
Dxds_api.cc1897 output_locality->name = MakeRefCounted<XdsLocalityName>( in LocalityParse()
2160 const XdsLocalityName& locality_name, in LocalityStatsPopulate()
2229 const XdsLocalityName& locality_name = *p.first; in CreateLrsRequest()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds.h33 explicit XdsLocalityAttribute(RefCountedPtr<XdsLocalityName> locality_name) in XdsLocalityAttribute()
36 RefCountedPtr<XdsLocalityName> locality_name() const { in locality_name()
55 RefCountedPtr<XdsLocalityName> locality_name_;
Dxds_cluster_resolver.cc511 locality.name = MakeRefCounted<XdsLocalityName>("", "", ""); in ReturnResult()
738 std::map<XdsLocalityName*, size_t /*child_number*/, XdsLocalityName::Less> in UpdatePriorityList()
740 std::map<size_t, std::set<XdsLocalityName*>> child_locality_map; in UpdatePriorityList()
745 XdsLocalityName* locality_name = p.first; in UpdatePriorityList()
758 XdsLocalityName* locality_name = p.first; in UpdatePriorityList()
767 for (XdsLocalityName* old_locality : in UpdatePriorityList()
848 XdsLocalityName* locality_name = p.first; in CreateChildPolicyConfigLocked()
Dxds_cluster_impl.cc549 RefCountedPtr<XdsLocalityName> locality_name; in CreateSubchannel()