Home
last modified time | relevance | path

Searched refs:locality_name (Results 1 – 5 of 5) sorted by relevance

/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() argument
34 : locality_name_(std::move(locality_name)) {} in XdsLocalityAttribute()
36 RefCountedPtr<XdsLocalityName> locality_name() const { in locality_name() function
Dxds_cluster_resolver.cc745 XdsLocalityName* locality_name = p.first; in UpdatePriorityList() local
746 locality_child_map[locality_name] = child_number; in UpdatePriorityList()
747 child_locality_map[child_number].insert(locality_name); in UpdatePriorityList()
758 XdsLocalityName* locality_name = p.first; in UpdatePriorityList() local
760 auto it = locality_child_map.find(locality_name); in UpdatePriorityList()
776 locality_child_map.erase(locality_name); in UpdatePriorityList()
805 const auto& locality_name = p.first; in CreateChildPolicyAddressesLocked() local
808 priority_child_name, locality_name->AsHumanReadableString()}; in CreateChildPolicyAddressesLocked()
816 locality_name->Ref()))); in CreateChildPolicyAddressesLocked()
848 XdsLocalityName* locality_name = p.first; in CreateChildPolicyConfigLocked() local
[all …]
Dxds_cluster_impl.cc549 RefCountedPtr<XdsLocalityName> locality_name; in CreateSubchannel() local
554 locality_name = locality_attr->locality_name(); in CreateSubchannel()
562 std::move(locality_name)); in CreateSubchannel()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_api.cc2160 const XdsLocalityName& locality_name, in LocalityStatsPopulate() argument
2166 if (!locality_name.region().empty()) { in LocalityStatsPopulate()
2168 locality, StdStringToUpbString(locality_name.region())); in LocalityStatsPopulate()
2170 if (!locality_name.zone().empty()) { in LocalityStatsPopulate()
2172 locality, StdStringToUpbString(locality_name.zone())); in LocalityStatsPopulate()
2174 if (!locality_name.sub_zone().empty()) { in LocalityStatsPopulate()
2176 locality, StdStringToUpbString(locality_name.sub_zone())); in LocalityStatsPopulate()
2229 const XdsLocalityName& locality_name = *p.first; in CreateLrsRequest() local
2234 LocalityStatsPopulate(locality_stats, locality_name, snapshot, in CreateLrsRequest()
Dxds_client.cc2156 const RefCountedPtr<XdsLocalityName>& locality_name = it->first; in BuildLoadReportSnapshotLocked() local
2159 snapshot.locality_stats[locality_name]; in BuildLoadReportSnapshotLocked()
2169 locality_name->AsHumanReadableString().c_str(), in BuildLoadReportSnapshotLocked()