Lines Matching +full:container +full:- +full:rules
10 #include <boost/container/flat_map.hpp>
27 boost::container::flat_map<std::string, std::string>& owners, in updateOwners()
34 conn->async_method_call( in updateOwners()
55 sdbusplus::message_t m = systemBus->new_signal( in sendIntrospectionCompleteSignal()
94 std::chrono::steady_clock::now() - processStartTime; in ~InProgressIntrospect()
102 diff = std::chrono::steady_clock::now() - *globalStartTime; in ~InProgressIntrospect()
141 systemBus->async_method_call( in doAssociations()
174 systemBus->async_method_call( in doIntrospect()
189 << " on process: " << transaction->processName in doIntrospect()
211 pRoot->FirstChildElement("interface"); in doIntrospect()
214 const char* ifaceName = pElement->Attribute("name"); in doIntrospect()
220 thisPathMap[transaction->processName].emplace(ifaceName); in doIntrospect()
225 transaction->processName, path); in doIntrospect()
228 pElement = pElement->NextSiblingElement("interface"); in doIntrospect()
234 transaction->assocMaps, objectServer); in doIntrospect()
236 pElement = pRoot->FirstChildElement("node"); in doIntrospect()
239 const char* childPath = pElement->Attribute("name"); in doIntrospect()
251 pElement = pElement->NextSiblingElement("node"); in doIntrospect()
254 transaction->processName, path, "org.freedesktop.DBus.Introspectable", in doIntrospect()
287 boost::container::flat_map<std::string, std::string>& nameOwners, in doListNames()
290 systemBus->async_method_call( in doListNames()
328 // - Means D-Bus created these, not application code,
352 auto ifacesIt = parentIt->second.find(owner); in removeUnneededParents()
353 if (ifacesIt == parentIt->second.end()) in removeUnneededParents()
358 if (ifacesIt->second.size() != 3) in removeUnneededParents()
375 parentIt->second.erase(ifacesIt); in removeUnneededParents()
376 if (parentIt->second.empty()) in removeUnneededParents()
403 boost::container::flat_map<std::string, std::string> nameOwners; in main()
407 std::string name; // well-known in main()
408 std::string oldOwner; // unique-name in main()
409 std::string newOwner; // unique-name in main()
415 // We should do nothing with unique-name connections. in main()
448 sdbusplus::bus::match::rules::nameOwnerChanged(), in main()
459 return; // only introspect well-known in main()
470 sdbusplus::bus::match::rules::interfacesAdded(), in main()
491 auto interfaceSet = connectionMap->second.find(sender); in main()
492 if (interfaceSet == connectionMap->second.end()) in main()
503 interfaceSet->second.erase(interface); in main()
505 if (interfaceSet->second.empty()) in main()
509 connectionMap->second.erase(interfaceSet); in main()
516 if ((connectionMap->second.size() == 1) && in main()
517 (connectionMap->second.begin()->first == in main()
520 // Remove the 2 association D-Bus paths and move the in main()
529 if (connectionMap->second.empty()) in main()
539 sdbusplus::bus::match::rules::interfacesRemoved(), in main()
545 boost::container::flat_map<std::string, in main()
553 std::get<std::vector<Association>>(prop->second); in main()
566 sdbusplus::bus::match::rules::interface( in main()
568 sdbusplus::bus::match::rules::member("PropertiesChanged") + in main()
569 sdbusplus::bus::match::rules::argN(0, assocDefsInterface), in main()
576 iface->register_method( in main()
582 iface->register_method( in main()
588 iface->register_method( in main()
594 iface->register_method( in main()
601 iface->register_method( in main()
611 iface->register_method( in main()
621 iface->register_method( in main()
632 iface->register_method( in main()
643 iface->initialize(); in main()
650 systemBus->request_name("xyz.openbmc_project.ObjectMapper"); in main()