Home
last modified time | relevance | path

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

/external/openscreen/discovery/dnssd/impl/
Dquerier_impl.cc27 void ProcessErrors(std::vector<ErrorOr<DnsSdInstanceEndpoint>>* old_endpoints, in ProcessErrors() argument
30 OSP_DCHECK(old_endpoints); in ProcessErrors()
33 auto old_it = old_endpoints->begin(); in ProcessErrors()
38 while (old_it != old_endpoints->end() && new_it != new_endpoints->end()) { in ProcessErrors()
67 for (; old_it != old_endpoints->end() && old_it->is_error(); old_it++) { in ProcessErrors()
76 old_endpoints->erase(old_endpoints->begin(), old_it); in ProcessErrors()
124 void CalculateChangeSets(std::vector<DnsSdInstanceEndpoint> old_endpoints, in CalculateChangeSets() argument
138 const int total_count = old_endpoints.size() + new_endpoints.size(); in CalculateChangeSets()
145 old_endpoints.begin(), old_endpoints.end(), in CalculateChangeSets()
153 new_end = std::set_difference(old_endpoints.begin(), old_endpoints.end(), in CalculateChangeSets()
[all …]