Lines Matching refs:old_endpoints
27 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()
386 std::vector<DnsSdInstanceEndpoint> old_endpoints = in OnRecordChanged() local
390 OSP_DCHECK_EQ(old_endpoints.size(), old_endpoints_or_errors_count); in OnRecordChanged()
400 CalculateChangeSets(std::move(old_endpoints), std::move(new_endpoints), in OnRecordChanged()