Lines Matching refs:second
19 auto& i = std::get<ifacePos>(iface->second); in updateEndpointsOnDbus()
20 auto& endpoints = std::get<endpointsPos>(iface->second); in updateEndpointsOnDbus()
65 auto& endpoints = std::get<endpointsPos>(iface->second); in scheduleUpdateEndpointsOnDbus()
110 auto assocs = owners->second.find(owner); in removeAssociation()
111 if (assocs == owners->second.end()) in removeAssociation()
116 for (const auto& [assocPath, endpointsToRemove] : assocs->second) in removeAssociation()
123 owners->second.erase(assocs); in removeAssociation()
124 if (owners->second.empty()) in removeAssociation()
146 auto& endpointsInDBus = std::get<endpointsPos>(assoc->second); in removeAssociationEndpoints()
175 auto originalAssociations = originalOwners->second.find(owner); in checkAssociationEndpointRemoves()
176 if (originalAssociations == originalOwners->second.end()) in checkAssociationEndpointRemoves()
184 originalAssociations->second) in checkAssociationEndpointRemoves()
204 if (std::find(newEndpoints->second.begin(), in checkAssociationEndpointRemoves()
205 newEndpoints->second.end(), originalEndpoint) == in checkAssociationEndpointRemoves()
206 newEndpoints->second.end()) in checkAssociationEndpointRemoves()
280 addEndpointsToAssocIfaces(io, objectServer, object.first, object.second, in associationChanged()
294 auto o = a->second.find(owner); in associationChanged()
295 if (o != a->second.end()) in associationChanged()
297 o->second = std::move(objects); in associationChanged()
301 a->second.emplace(owner, std::move(objects)); in associationChanged()
331 auto& endpoints = p->second; in addPendingAssociation()
351 auto endpoint = assoc->second.begin(); in removeFromPendingAssociations()
352 while (endpoint != assoc->second.end()) in removeFromPendingAssociations()
357 endpoint = assoc->second.erase(endpoint); in removeFromPendingAssociations()
364 if (assoc->second.empty()) in removeFromPendingAssociations()
391 auto o = a->second.find(owner); in addSingleAssociation()
392 if (o != a->second.end()) in addSingleAssociation()
394 auto p = o->second.find(assocPath); in addSingleAssociation()
395 if (p != o->second.end()) in addSingleAssociation()
397 p->second.emplace(endpoint); in addSingleAssociation()
401 o->second.emplace(assocPath, e); in addSingleAssociation()
406 a->second.emplace(owner, std::move(objects)); in addSingleAssociation()
433 auto endpoint = pending->second.begin(); in checkIfPendingAssociation()
435 while (endpoint != pending->second.end()) in checkIfPendingAssociation()
482 endpoint = pending->second.erase(endpoint); in checkIfPendingAssociation()
485 if (pending->second.empty()) in checkIfPendingAssociation()
518 const auto& endpoints = ap.second; in findAssociations()
563 auto& endpoints = std::get<endpointsPos>(assoc->second); in removeAssociationIfacesEntry()
592 auto owners = sources->second.find(owner); in removeAssociationOwnersEntry()
593 if (owners != sources->second.end()) in removeAssociationOwnersEntry()
595 auto entry = owners->second.find(assocPath); in removeAssociationOwnersEntry()
596 if (entry != owners->second.end()) in removeAssociationOwnersEntry()
598 auto e = std::find(entry->second.begin(), entry->second.end(), in removeAssociationOwnersEntry()
600 if (e != entry->second.end()) in removeAssociationOwnersEntry()
602 entry->second.erase(e); in removeAssociationOwnersEntry()
603 if (entry->second.empty()) in removeAssociationOwnersEntry()
605 owners->second.erase(entry); in removeAssociationOwnersEntry()
610 if (owners->second.empty()) in removeAssociationOwnersEntry()
612 sources->second.erase(owners); in removeAssociationOwnersEntry()
616 if (sources->second.empty()) in removeAssociationOwnersEntry()