Lines Matching full:second
21 auto& i = std::get<ifacePos>(iface->second); in updateEndpointsOnDbus()
22 auto& endpoints = std::get<endpointsPos>(iface->second); in updateEndpointsOnDbus()
67 auto& endpoints = std::get<endpointsPos>(iface->second); in scheduleUpdateEndpointsOnDbus()
112 auto assocs = owners->second.find(owner); in removeAssociation()
113 if (assocs == owners->second.end()) in removeAssociation()
118 for (const auto& [assocPath, endpointsToRemove] : assocs->second) in removeAssociation()
125 owners->second.erase(assocs); in removeAssociation()
126 if (owners->second.empty()) in removeAssociation()
148 auto& endpointsInDBus = std::get<endpointsPos>(assoc->second); in removeAssociationEndpoints()
177 auto originalAssociations = originalOwners->second.find(owner); in checkAssociationEndpointRemoves()
178 if (originalAssociations == originalOwners->second.end()) in checkAssociationEndpointRemoves()
186 originalAssociations->second) in checkAssociationEndpointRemoves()
206 if (std::find(newEndpoints->second.begin(), in checkAssociationEndpointRemoves()
207 newEndpoints->second.end(), originalEndpoint) == in checkAssociationEndpointRemoves()
208 newEndpoints->second.end()) in checkAssociationEndpointRemoves()
282 addEndpointsToAssocIfaces(io, objectServer, object.first, object.second, in associationChanged()
296 auto o = a->second.find(owner); in associationChanged()
297 if (o != a->second.end()) in associationChanged()
299 o->second = std::move(objects); in associationChanged()
303 a->second.emplace(owner, std::move(objects)); in associationChanged()
333 auto& endpoints = p->second; in addPendingAssociation()
353 auto endpoint = assoc->second.begin(); in removeFromPendingAssociations()
354 while (endpoint != assoc->second.end()) in removeFromPendingAssociations()
359 endpoint = assoc->second.erase(endpoint); in removeFromPendingAssociations()
366 if (assoc->second.empty()) in removeFromPendingAssociations()
393 auto o = a->second.find(owner); in addSingleAssociation()
394 if (o != a->second.end()) in addSingleAssociation()
396 auto p = o->second.find(assocPath); in addSingleAssociation()
397 if (p != o->second.end()) in addSingleAssociation()
399 p->second.emplace(endpoint); in addSingleAssociation()
403 o->second.emplace(assocPath, e); in addSingleAssociation()
408 a->second.emplace(owner, std::move(objects)); in addSingleAssociation()
435 auto endpoint = pending->second.begin(); in checkIfPendingAssociation()
437 while (endpoint != pending->second.end()) in checkIfPendingAssociation()
483 endpoint = pending->second.erase(endpoint); in checkIfPendingAssociation()
486 if (pending->second.empty()) in checkIfPendingAssociation()
519 const auto& otherEndpoints = ap.second; in findAssociations()
565 auto& endpoints = std::get<endpointsPos>(assoc->second); in removeAssociationIfacesEntry()
594 auto owners = sources->second.find(owner); in removeAssociationOwnersEntry()
595 if (owners != sources->second.end()) in removeAssociationOwnersEntry()
597 auto entry = owners->second.find(assocPath); in removeAssociationOwnersEntry()
598 if (entry != owners->second.end()) in removeAssociationOwnersEntry()
600 auto e = std::find(entry->second.begin(), entry->second.end(), in removeAssociationOwnersEntry()
602 if (e != entry->second.end()) in removeAssociationOwnersEntry()
604 entry->second.erase(e); in removeAssociationOwnersEntry()
605 if (entry->second.empty()) in removeAssociationOwnersEntry()
607 owners->second.erase(entry); in removeAssociationOwnersEntry()
612 if (owners->second.empty()) in removeAssociationOwnersEntry()
614 sources->second.erase(owners); in removeAssociationOwnersEntry()
618 if (sources->second.empty()) in removeAssociationOwnersEntry()