Home
last modified time | relevance | path

Searched refs:shared_ptr (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/openbmc/phosphor-net-ipmid/
H A Dmessage_parsers.hpp84 std::tuple<std::shared_ptr<Message>, SessionHeader>
97 std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage,
127 std::shared_ptr<Message> unflatten(std::vector<uint8_t>& inPacket);
137 std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage,
174 std::shared_ptr<Message> unflatten(std::vector<uint8_t>& inPacket);
185 std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage,
211 const std::shared_ptr<Message>& message,
223 const std::shared_ptr<Message>& message,
250 encryptPayload(const std::shared_ptr<Message>& message,
251 const std::shared_ptr<session::Session>& session);
[all …]
H A Dmessage_handler.hpp21 Handler(std::shared_ptr<udpsocket::Channel> channel, in Handler()
22 std::shared_ptr<boost::asio::io_context> io, in Handler()
35 Handler(std::shared_ptr<udpsocket::Channel> channel, in Handler()
106 void updSessionData(std::shared_ptr<Message>& inMessage);
124 void send(std::shared_ptr<Message> outMessage);
142 std::shared_ptr<udpsocket::Channel> channel;
145 std::shared_ptr<boost::asio::io_context> io;
149 std::shared_ptr<message::Message> inMessage{};
152 std::shared_ptr<session::Session> session{};
H A Dsessions_manager.hpp43 using SessionMap = std::map<SessionID, std::shared_ptr<Session>>;
46 Manager(std::shared_ptr<boost::asio::io_context>& io, const Private&) : in Manager()
61 static std::shared_ptr<Manager> ptr = nullptr; in get()
64 std::shared_ptr<boost::asio::io_context> io = getIo(); in get()
87 std::shared_ptr<Session>
113 std::shared_ptr<Session>
151 std::shared_ptr<boost::asio::io_context> io;
H A Dmessage_parsers.cpp16 std::tuple<std::shared_ptr<Message>, SessionHeader>
69 std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage, in flatten()
96 std::shared_ptr<Message> unflatten(std::vector<uint8_t>& inPacket) in unflatten()
137 flatten(const std::shared_ptr<Message>& outMessage, in flatten()
138 const std::shared_ptr<session::Session>& /* session */) in flatten()
173 std::shared_ptr<Message> unflatten(std::vector<uint8_t>& inPacket) in unflatten()
374 const std::shared_ptr<Message>& /* message */, in addIntegrityData()
400 const std::shared_ptr<session::Session>& session) in decryptPayload()
407 encryptPayload(const std::shared_ptr<Message>& message, in encryptPayload()
408 const std::shared_ptr<session::Session>& session) in encryptPayload()
[all …]
H A Dsd_event_loop.hpp50 EventLoop(std::shared_ptr<boost::asio::io_context>& io, const Private&) : in EventLoop()
67 static std::shared_ptr<EventLoop> ptr = nullptr; in get()
70 std::shared_ptr<boost::asio::io_context> io = getIo(); in get()
86 int setupSocket(std::shared_ptr<sdbusplus::asio::connection>& bus,
105 std::shared_ptr<boost::asio::io_context> io;
109 std::shared_ptr<boost::asio::ip::udp::socket> udpSocket = nullptr;
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.hpp43 std::shared_ptr<sdbusplus::asio::connection>& conn,
46 std::shared_ptr<std::set<std::string>> asserts,
47 std::shared_ptr<std::set<std::string>> combineEvent,
52 std::shared_ptr<sdbusplus::asio::dbus_interface> eventInterface;
53 std::shared_ptr<std::set<std::string>> asserts;
54 std::shared_ptr<std::set<std::string>> combineEvent;
55 std::shared_ptr<bool> assertState;
66 std::shared_ptr<std::array<char, 128>> buffer;
77 std::shared_ptr<sdbusplus::asio::connection> systemBus;
99 std::vector<std::shared_ptr<std::set<std::string>>> asserts;
[all …]
H A DPSUEvent.cpp44 std::shared_ptr<sdbusplus::asio::connection>& conn, in PSUCombineEvent()
62 std::shared_ptr<std::set<std::string>> combineEvent = in PSUCombineEvent()
66 std::shared_ptr<std::set<std::string>> assert = in PSUCombineEvent()
68 std::shared_ptr<bool> state = std::make_shared<bool>(false); in PSUCombineEvent()
88 std::shared_ptr<std::set<std::string>> assert = in PSUCombineEvent()
90 std::shared_ptr<bool> state = std::make_shared<bool>(false); in PSUCombineEvent()
141 std::shared_ptr<sdbusplus::asio::dbus_interface> eventInterface, in PSUSubEvent()
145 std::shared_ptr<std::set<std::string>> asserts, in PSUSubEvent()
146 std::shared_ptr<std::set<std::string>> combineEvent, in PSUSubEvent()
211 std::shared_ptr<PSUSubEvent> self = weakRef.lock(); in setupRead()
[all …]
H A DPSUSensor.hpp21 std::shared_ptr<sdbusplus::asio::connection>& conn,
28 const std::shared_ptr<I2CDevice>& i2cDevice);
32 const std::shared_ptr<I2CDevice>& newI2CDevice);
36 std::shared_ptr<I2CDevice> getI2CDevice() const in getI2CDevice()
45 std::shared_ptr<std::array<char, 128>> buffer;
46 std::shared_ptr<I2CDevice> i2cDevice;
/openbmc/telemetry/src/
H A Dtrigger_factory.hpp15 TriggerFactory(std::shared_ptr<sdbusplus::asio::connection> bus,
16 std::shared_ptr<sdbusplus::asio::object_server> objServer,
39 const std::shared_ptr<std::vector<std::string>>& reportIds,
48 std::shared_ptr<sdbusplus::asio::connection> bus;
49 std::shared_ptr<sdbusplus::asio::object_server> objServer;
63 const std::shared_ptr<std::vector<std::string>>& reportIds,
71 const std::shared_ptr<std::vector<std::string>>& reportIds,
76 std::vector<std::shared_ptr<interfaces::Threshold>>& thresholds,
79 const std::shared_ptr<std::vector<std::string>>& reportIds,
87 const std::shared_ptr<std::vector<std::string>>& reportIds,
[all …]
H A Dtrigger_factory.cpp16 std::shared_ptr<sdbusplus::asio::connection> bus, in TriggerFactory()
17 std::shared_ptr<sdbusplus::asio::object_server> objServer, in TriggerFactory()
27 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateDiscreteThresholds()
32 std::vector<std::shared_ptr<interfaces::Threshold>> newThresholds; in updateDiscreteThresholds()
93 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateNumericThresholds()
128 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateThresholds()
153 std::vector<std::shared_ptr<interfaces::Threshold>>& thresholds, in makeDiscreteThreshold()
156 const std::shared_ptr<std::vector<std::string>>& reportIds, in makeDiscreteThreshold()
181 const std::shared_ptr<std::vector<std::string>>& reportIds, in makeNumericThreshold()
204 const std::shared_ptr<std::vector<std::string>>& reportIds, in makeOnChangeThreshold()
[all …]
H A Dreport_factory.hpp16 std::shared_ptr<sdbusplus::asio::connection> bus,
17 const std::shared_ptr<sdbusplus::asio::object_server>& objServer,
28 std::vector<std::shared_ptr<interfaces::Metric>>& metrics, bool enabled,
49 std::shared_ptr<sdbusplus::asio::connection> bus;
50 std::shared_ptr<sdbusplus::asio::object_server> objServer;
/openbmc/pldm/platform-mc/
H A Dterminus.hpp167 std::vector<std::shared_ptr<NumericSensor>> numericSensors{};
197 std::shared_ptr<NumericSensor> getSensorObject(SensorId id);
213 const std::shared_ptr<pldm_numeric_sensor_value_pdr> pdr);
220 std::shared_ptr<pldm_numeric_sensor_value_pdr>
228 std::shared_ptr<SensorAuxiliaryNames>
236 std::shared_ptr<EntityAuxiliaryNames>
245 const std::shared_ptr<pldm_compact_numeric_sensor_pdr> pdr);
252 std::shared_ptr<pldm_compact_numeric_sensor_pdr>
260 std::shared_ptr<SensorAuxiliaryNames>
292 std::vector<std::shared_ptr<SensorAuxiliaryNames>>
[all …]
/openbmc/phosphor-host-ipmid/libipmid/
H A Dsdbus-asio.cpp9 std::shared_ptr<boost::asio::io_context> ioCtx;
10 std::shared_ptr<sdbusplus::asio::connection> sdbusp;
14 void setIoContext(std::shared_ptr<boost::asio::io_context>& newIo) in setIoContext()
19 std::shared_ptr<boost::asio::io_context> getIoContext() in getIoContext()
24 void setSdBus(std::shared_ptr<sdbusplus::asio::connection>& newBus) in setSdBus()
29 std::shared_ptr<sdbusplus::asio::connection> getSdBus() in getSdBus()
/openbmc/bmcweb/test/http/
H A Dcrow_getroutes_test.cpp36 const std::shared_ptr<AsyncResp>& /*asyncResp*/) {}); in TEST()
49 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
51 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
53 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
55 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
57 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
59 ([](const Request& /*req*/, const std::shared_ptr<AsyncResp>& /*res*/) {}); in TEST()
H A Drouter_test.cpp28 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in TEST()
63 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) { in TEST()
68 [&barCalled](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&, in TEST()
87 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
101 const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800502()
117 std::shared_ptr<bmcweb::AsyncResp> asyncResp =
129 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in __anone77675800602()
132 [&called](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800702()
150 std::shared_ptr<bmcweb::AsyncResp> asyncResp =
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dmanager.hpp49 Manager(std::shared_ptr<boost::asio::io_context>& ioCon,
50 std::shared_ptr<sdbusplus::asio::dbus_interface>& iFace,
51 std::shared_ptr<sdbusplus::asio::connection>& conn);
196 std::shared_ptr<boost::asio::io_context>& ioContext;
199 std::shared_ptr<sdbusplus::asio::dbus_interface>& interface;
202 std::shared_ptr<sdbusplus::asio::connection>& conn;
218 std::shared_ptr<GpioMonitor> gpioMon;
221 std::shared_ptr<BiosHandler> biosHandler;
H A DgpioMonitor.hpp33 std::shared_ptr<boost::asio::io_context>& ioCon) : in GpioEventHandler()
95 std::shared_ptr<boost::asio::io_context>& ioContext);
104 std::shared_ptr<boost::asio::steady_timer>& timer);
122 std::shared_ptr<boost::asio::io_context>& ioCon) : jsonFile(js) in GpioMonitor()
131 std::vector<std::shared_ptr<GpioEventHandler>> gpioObjects;
138 void initGpioInfos(std::shared_ptr<boost::asio::io_context>& ioContext);
/openbmc/dbus-sensors/src/nvme/
H A DNVMeContext.hpp29 void addSensor(const std::shared_ptr<NVMeSensor>& sensor) in addSensor()
34 std::optional<std::shared_ptr<NVMeSensor>>
50 void removeSensor(const std::shared_ptr<NVMeSensor>& sensor) in removeSensor()
97 virtual void processResponse(std::shared_ptr<NVMeSensor>& sensor, void* msg,
103 std::list<std::shared_ptr<NVMeSensor>> sensors;
104 std::list<std::shared_ptr<NVMeSensor>>::iterator pollCursor;
107 using NVMEMap = boost::container::flat_map<int, std::shared_ptr<NVMeContext>>;
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.hpp40 std::shared_ptr<sdbusplus::asio::dbus_interface> iface;
41 std::shared_ptr<sdbusplus::asio::dbus_interface> association;
65 std::shared_ptr<sdbusplus::asio::connection>& conn,
66 std::shared_ptr<PresenceGpio>& presence,
83 std::shared_ptr<PresenceGpio> presence;
84 std::shared_ptr<sdbusplus::asio::dbus_interface> itemIface;
85 std::shared_ptr<sdbusplus::asio::dbus_interface> itemAssoc;
/openbmc/dbus-sensors/src/
H A DPwmSensor.hpp14 std::shared_ptr<sdbusplus::asio::connection>& conn,
24 std::shared_ptr<sdbusplus::asio::dbus_interface> sensorInterface;
25 std::shared_ptr<sdbusplus::asio::dbus_interface> controlInterface;
26 std::shared_ptr<sdbusplus::asio::dbus_interface> association;
27 std::shared_ptr<sdbusplus::asio::dbus_interface> valueMutabilityInterface;
/openbmc/boost-dbus/include/dbus/
H A Dproperties.hpp31 std::shared_ptr<dbus::connection> conn;
155 std::shared_ptr<dbus::connection>& conn) in DbusTemplateSignal()
177 std::shared_ptr<dbus::connection> conn;
183 std::shared_ptr<dbus::connection>& conn) in DbusInterface()
305 std::shared_ptr<dbus::connection> conn;
406 std::shared_ptr<dbus::connection> conn;
409 std::shared_ptr<DbusInterface> properties_iface;
411 std::shared_ptr<DbusInterface> object_manager_iface;
550 void remove_object(std::shared_ptr<DbusObject> object) { in remove_object()
680 std::shared_ptr<dbus::connection> conn;
[all …]
/openbmc/bmcweb/http/
H A Dapp.hpp42 explicit App(std::shared_ptr<boost::asio::io_context> ioIn = in App()
57 void handleUpgrade(const std::shared_ptr<Request>& req, in handleUpgrade()
58 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleUpgrade()
64 void handle(const std::shared_ptr<Request>& req, in handle()
65 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handle()
161 App& ssl(std::shared_ptr<boost::asio::ssl::context>&& ctx) in ssl()
169 std::shared_ptr<boost::asio::ssl::context> sslContext = nullptr;
177 std::shared_ptr<boost::asio::io_context> io;
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.hpp30 std::shared_ptr<sdbusplus::asio::connection>& conn,
36 const std::shared_ptr<I2CDevice>& i2cDevice);
40 const std::shared_ptr<I2CDevice>& newI2CDevice);
44 std::shared_ptr<I2CDevice> getI2CDevice() const in getI2CDevice()
53 std::shared_ptr<I2CDevice> i2cDevice;
/openbmc/bmcweb/include/google/
H A Dgoogle_service_root.hpp26 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleGoogleV1Get()
40 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleRootOfTrustCollectionGet()
62 const std::string&, const std::shared_ptr<bmcweb::AsyncResp>&,
67 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in hothGetSubtreeCallback()
99 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in resolveRoT()
117 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateRootOfTrustEntity()
141 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRootOfTrustGet()
149 invocationCallback(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invocationCallback()
167 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invokeRoTCommand()
190 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRoTSendCommandPost()
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.hpp22 std::shared_ptr<ExitAirTempSensor> parent;
24 CFMSensor(std::shared_ptr<sdbusplus::asio::connection>& conn,
28 std::shared_ptr<ExitAirTempSensor>& parent);
44 std::shared_ptr<sdbusplus::asio::dbus_interface> pwmLimitIface;
45 std::shared_ptr<sdbusplus::asio::dbus_interface> cfmLimitIface;
61 ExitAirTempSensor(std::shared_ptr<sdbusplus::asio::connection>& conn,

12345678910>>...16