Home
last modified time | relevance | path

Searched refs:asio (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-asio-Dont-use-experimental-with-clang.patch4 Subject: [PATCH 10/10] asio: Dont use experimental with clang
11 src/third_party/asio-master/asio/include/asio/detail/string_view.hpp | 4 ++--
14 …f --git a/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp b/src/third_party/a…
16 --- a/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp
17 +++ b/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp
18 @@ -33,8 +33,8 @@ namespace asio {
28 } // namespace asio
/openbmc/boost-dbus/include/dbus/detail/
H A Dwatch_timeout.hpp45 socket->async_read_some(boost::asio::null_buffers(), in watch_toggled()
49 socket->async_write_some(boost::asio::null_buffers(), in watch_toggled()
62 boost::asio::io_service &io = *static_cast<boost::asio::io_service *>(data); in add_watch()
70 boost::asio::generic::stream_protocol::socket &socket = in add_watch()
96 boost::asio::steady_timer &timer = *static_cast<boost::asio::steady_timer *>( in timeout_toggled()
100 boost::asio::steady_timer::duration interval = in timeout_toggled()
113 boost::asio::io_service &io = *static_cast<boost::asio::io_service *>(data); in add_timeout()
115 boost::asio::steady_timer &timer = *new boost::asio::steady_timer(io); in add_timeout()
124 delete static_cast<boost::asio::steady_timer *>( in remove_timeout()
129 boost::asio::io_service &io;
[all …]
/openbmc/sdbusplus/example/
H A Dregister-property.cpp19 Application(boost::asio::io_context& ioc, sdbusplus::asio::connection& bus, in Application()
56 sdbusplus::asio::getProperty<uint32_t>( in asyncReadPropertyWithIncorrectType()
76 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
88 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
103 sdbusplus::asio::setProperty( in asyncChangeProperty()
120 sdbusplus::asio::setProperty( in asyncChangeProperty()
145 boost::asio::io_context& ioc_;
146 sdbusplus::asio::connection& bus_;
147 sdbusplus::asio::object_server& objServer_;
158 boost::asio::io_context ioc; in main()
[all …]
H A Dasio-example.cpp25 int fooYield(boost::asio::yield_context yield, in fooYield()
57 std::shared_ptr<sdbusplus::asio::connection> conn, in do_start_async_method_call_one()
58 boost::asio::yield_context yield) in do_start_async_method_call_one()
197 boost::asio::io_context io; in server()
202 auto server = sdbusplus::asio::object_server(conn); in server()
203 std::shared_ptr<sdbusplus::asio::dbus_interface> iface = in server()
277 boost::asio::io_context io; in client()
371 sdbusplus::asio::sd_event_wrapper sdEvents(io); in client()
375 boost::asio::spawn(io, [conn](boost::asio::yield_context yield) { in client()
378 boost::asio::spawn(io, [conn](boost::asio::yield_context yield) { in client()
[all …]
H A Dget-all-properties.cpp21 Application(sdbusplus::asio::connection& bus, in Application()
22 sdbusplus::asio::object_server& objServer) : in Application()
80 sdbusplus::asio::getAllProperties( in asyncGetAllPropertiesStringTypeOnly()
133 sdbusplus::asio::getAllProperties( in asyncGetAllProperties()
197 sdbusplus::asio::connection& bus_;
198 sdbusplus::asio::object_server& objServer_;
200 std::unique_ptr<sdbusplus::asio::dbus_interface> demo_;
209 boost::asio::io_context ioc; in main()
210 boost::asio::signal_set signals(ioc, SIGINT, SIGTERM); in main()
216 auto bus = std::make_shared<sdbusplus::asio::connection>(ioc); in main()
[all …]
/openbmc/phosphor-objmgr/src/
H A Dassociations.hpp23 void removeAssociation(boost::asio::io_context& io,
25 sdbusplus::asio::object_server& server,
43 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer,
69 boost::asio::io_context& io, const std::string& sourcePath,
71 sdbusplus::asio::object_server& objectServer, AssociationMaps& assocMaps);
91 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer,
142 boost::asio::io_context& io, sdbusplus::asio::object_server& server,
161 boost::asio::io_context& io, const std::string& objectPath,
163 sdbusplus::asio::object_server& server);
190 boost::asio::io_context& io, const std::string& endpointPath,
[all …]
/openbmc/dbus-sensors/src/intrusion/
H A DChassisIntrusionSensor.hpp17 sdbusplus::asio::object_server& objServer);
32 std::shared_ptr<sdbusplus::asio::dbus_interface> mIface;
33 sdbusplus::asio::object_server& mObjServer;
46 ChassisIntrusionPchSensor(bool autoRearm, boost::asio::io_context& io,
47 sdbusplus::asio::object_server& objServer,
55 boost::asio::steady_timer mPollTimer;
65 ChassisIntrusionGpioSensor(bool autoRearm, boost::asio::io_context& io,
66 sdbusplus::asio::object_server& objServer,
75 boost::asio::posix::stream_descriptor mGpioFd;
86 sdbusplus::asio::object_server& objServer,
[all …]
/openbmc/bmcweb/http/
H A Dapp.hpp35 using ssl_socket_t = boost::asio::ssl::stream<boost::asio::ip::tcp::socket>;
36 using raw_socket_t = boost::asio::ip::tcp::socket;
42 explicit App(std::shared_ptr<boost::asio::io_context> ioIn = in App()
43 std::make_shared<boost::asio::io_context>()) : in App()
96 std::optional<boost::asio::ip::tcp::acceptor> setupSocket() in setupSocket()
113 return boost::asio::ip::tcp::acceptor( in setupSocket()
121 return boost::asio::ip::tcp::acceptor( in setupSocket()
122 *io, boost::asio::ip::tcp::endpoint( in setupSocket()
161 App& ssl(std::shared_ptr<boost::asio::ssl::context>&& ctx) in ssl()
171 boost::asio::io_context& ioContext() in ioContext()
[all …]
H A Dhttp_server.hpp28 template <typename Handler, typename Adaptor = boost::asio::ip::tcp::socket>
34 Server(Handler* handlerIn, boost::asio::ip::tcp::acceptor&& acceptorIn, in Server()
35 std::shared_ptr<boost::asio::ssl::context> adaptorCtxIn, in Server()
36 std::shared_ptr<boost::asio::io_context> io) : in Server()
130 boost::asio::steady_timer timer(*ioService); in afterAccept()
134 boost::asio::ssl::stream< in afterAccept()
135 boost::asio::ip::tcp::socket>>::value) in afterAccept()
178 std::shared_ptr<boost::asio::io_context> ioService;
180 boost::asio::ip::tcp::acceptor acceptor;
181 boost::asio::signal_set signals;
[all …]
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.hpp31 sdbusplus::asio::object_server& objectServer,
40 std::shared_ptr<sdbusplus::asio::dbus_interface> iface;
41 std::shared_ptr<sdbusplus::asio::dbus_interface> association;
42 sdbusplus::asio::object_server& objectServer;
64 sdbusplus::asio::object_server& objectServer,
65 std::shared_ptr<sdbusplus::asio::connection>& conn,
81 sdbusplus::asio::object_server& objServer;
84 std::shared_ptr<sdbusplus::asio::dbus_interface> itemIface;
85 std::shared_ptr<sdbusplus::asio::dbus_interface> itemAssoc;
86 boost::asio::random_access_file inputDev;
[all …]
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.hpp43 std::shared_ptr<sdbusplus::asio::connection>& conn,
44 boost::asio::io_context& io, const PowerState& powerState,
52 std::shared_ptr<sdbusplus::asio::dbus_interface> eventInterface;
65 boost::asio::steady_timer waitTimer;
71 boost::asio::random_access_file inputDev;
77 std::shared_ptr<sdbusplus::asio::connection> systemBus;
86 PSUCombineEvent(sdbusplus::asio::object_server& objectServer,
87 std::shared_ptr<sdbusplus::asio::connection>& conn,
88 boost::asio::io_context& io, const std::string& psuName,
94 sdbusplus::asio::object_server& objServer;
[all …]
/openbmc/telemetry/tests/src/stubs/
H A Ddbus_sensor_object.hpp15 boost::asio::io_context& ioc,
16 const std::shared_ptr<sdbusplus::asio::connection>& bus,
17 const std::shared_ptr<sdbusplus::asio::object_server>& objServer);
33 boost::asio::io_context& ioc;
34 std::shared_ptr<sdbusplus::asio::connection> bus;
35 std::shared_ptr<sdbusplus::asio::object_server> objServer;
37 std::unique_ptr<sdbusplus::asio::dbus_interface> sensorIface;
/openbmc/dbus-sensors/src/
H A DPwmSensor.hpp14 std::shared_ptr<sdbusplus::asio::connection>& conn,
15 sdbusplus::asio::object_server& objectServer,
22 sdbusplus::asio::object_server& objectServer;
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/bmcweb/http/routing/
H A Dsserule.hpp43 boost::asio::ip::tcp::socket&& adaptor) override in handleUpgrade()
46 crow::sse_socket::ConnectionImpl<boost::asio::ip::tcp::socket>> in handleUpgrade()
48 crow::sse_socket::ConnectionImpl<boost::asio::ip::tcp::socket>>( in handleUpgrade()
54 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>&& in handleUpgrade()
58 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>> in handleUpgrade()
60 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>>( in handleUpgrade()
H A Dwebsocketrule.hpp40 boost::asio::ip::tcp::socket&& adaptor) override in handleUpgrade()
44 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>> in handleUpgrade()
46 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>>( in handleUpgrade()
54 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>&& in handleUpgrade()
59 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>> in handleUpgrade()
61 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>>( in handleUpgrade()
/openbmc/google-misc/subprojects/bare-metal-host-monitor/
H A Dhost_gpio_monitor.cpp27 void setUnitStatus(sdbusplus::asio::connection& bus, bool status) in setUnitStatus()
37 void checkPostComplete(sdbusplus::asio::connection& bus, in checkPostComplete()
40 sdbusplus::asio::getProperty<std::string>( in checkPostComplete()
67 void checkPostCompleteStartup(sdbusplus::asio::connection& bus) in checkPostCompleteStartup()
73 void checkPostCompleteEvent(sdbusplus::asio::connection& bus) in checkPostCompleteEvent()
83 boost::asio::io_context io; in main()
84 auto conn = sdbusplus::asio::connection(io); in main()
91 boost::asio::steady_timer filterTimer(io); in main()
116 if (ec == boost::asio::error::operation_aborted) in main()
/openbmc/phosphor-power/cold-redundancy/
H A Dcold_redundancy.hpp36 boost::asio::io_service& io,
37 sdbusplus::asio::object_server& objectServer,
38 std::shared_ptr<sdbusplus::asio::connection>& dbusConnection);
47 createPSU(std::shared_ptr<sdbusplus::asio::connection>& dbusConnection);
64 boost::asio::steady_timer filterTimer;
69 std::shared_ptr<sdbusplus::asio::connection>& systemBus;
100 const std::shared_ptr<sdbusplus::asio::connection>& dbusConnection);
/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/entity-manager/src/
H A Dentity_manager.cpp78 std::shared_ptr<sdbusplus::asio::connection> systemBus;
82 boost::asio::io_context io;
119 static std::shared_ptr<sdbusplus::asio::dbus_interface>
258 sdbusplus::asio::object_server& objServer, in createDeleteObjectMethod()
295 sdbusplus::asio::PropertyPermission permission = in populateInterfaceFromJson()
296 sdbusplus::asio::PropertyPermission::readOnly) in populateInterfaceFromJson()
1038 sdbusplus::asio::object_server& objServer) in publishNewConfiguration()
1042 boost::asio::post(io, [systemConfiguration]() { in publishNewConfiguration()
1064 static boost::asio::steady_timer timer(io); in propertiesChangedCallback()
1130 boost::asio::post( in propertiesChangedCallback()
[all …]
/openbmc/phosphor-pid-control/
H A Dmain.cpp79 boost::asio::io_context io;
81 boost::asio::signal_set signals(io, SIGHUP, SIGTERM);
84 static sdbusplus::asio::connection modeControlBus(io);
85 static sdbusplus::asio::connection
87 static sdbusplus::asio::connection
157 static boost::asio::steady_timer reloadTimer(io); in restartControlLoops()
177 std::shared_ptr<boost::asio::steady_timer> timer = in restartControlLoops()
188 static boost::asio::steady_timer timer(io); in tryRestartControlLoops()
212 boost::asio::post(io, in tryRestartControlLoops()
228 static boost::asio::steady_timer timer(io); in tryTerminateControlLoops()
[all …]
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dsd_event.hpp28 namespace asio namespace
36 sd_event_wrapper(boost::asio::io_context& io) : in sd_event_wrapper()
46 sd_event_wrapper(sd_event* evt, boost::asio::io_context& io) : in sd_event_wrapper()
112 boost::asio::post(io, [this]() { run(); }); in async_run()
116 descriptor.async_wait(boost::asio::posix::stream_descriptor::wait_read, in async_wait()
125 boost::asio::posix::stream_descriptor descriptor;
126 boost::asio::io_context& io;
/openbmc/bmcweb/test/include/
H A Dcredential_pipe_test.cpp19 static void handler(boost::asio::io_context& io, in handler()
29 boost::asio::io_context io; in TEST()
30 boost::asio::readable_pipe testPipe(io); in TEST()
33 testPipe = boost::asio::readable_pipe(io, pipe.releaseFd()); in TEST()
41 boost::asio::read(testPipe, boost::asio::buffer(buff), ec); in TEST()
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.hpp24 CFMSensor(std::shared_ptr<sdbusplus::asio::connection>& conn,
26 sdbusplus::asio::object_server& objectServer,
44 std::shared_ptr<sdbusplus::asio::dbus_interface> pwmLimitIface;
45 std::shared_ptr<sdbusplus::asio::dbus_interface> cfmLimitIface;
46 sdbusplus::asio::object_server& objServer;
61 ExitAirTempSensor(std::shared_ptr<sdbusplus::asio::connection>& conn,
64 sdbusplus::asio::object_server& objectServer,
79 sdbusplus::asio::object_server& objServer;
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.hpp70 sdbusplus::asio::object_server& objectServer,
71 std::shared_ptr<sdbusplus::asio::connection>& conn,
72 boost::asio::io_context& io, const std::string& sensorName,
81 sdbusplus::asio::object_server& objServer;
82 boost::asio::posix::stream_descriptor inputDev;
83 boost::asio::steady_timer waitTimer;
84 std::shared_ptr<boost::asio::streambuf> readBuf;
/openbmc/dbus-sensors/src/mcu/
H A DMCUTempSensor.cpp65 std::shared_ptr<sdbusplus::asio::connection>& conn, in MCUTempSensor()
66 boost::asio::io_context& io, const std::string& sensorName, in MCUTempSensor()
68 sdbusplus::asio::object_server& objectServer, in MCUTempSensor()
171 if (ec == boost::asio::error::operation_aborted) in read()
203 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer, in createSensors()
206 std::shared_ptr<sdbusplus::asio::connection>& dbusConnection) in createSensors()
277 boost::asio::io_context io; in main()
279 sdbusplus::asio::object_server objectServer(systemBus, true); in main()
284 boost::asio::post(io, [&]() { in main()
288 boost::asio::steady_timer configTimer(io); in main()
[all …]

12345678910>>...14