Home
last modified time | relevance | path

Searched refs:boost (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/openbmc/boost-dbus/include/dbus/detail/
H A Dwatch_timeout.hpp23 void operator()(boost::system::error_code ec, size_t) { in operator ()()
28 boost::asio::generic::stream_protocol::socket &socket = in operator ()()
29 *static_cast<boost::asio::generic::stream_protocol::socket *>(data); in operator ()()
42 static_cast<boost::asio::generic::stream_protocol::socket *>(watch_data); in watch_toggled()
45 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()
71 *new boost::asio::generic::stream_protocol::socket(io); in add_watch()
73 socket.assign(boost::asio::generic::stream_protocol(0, 0), fd); in add_watch()
[all …]
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dconnection.hpp59 boost::asio::io_context& io, in connection()
66 connection(boost::asio::io_context& io, sd_bus* bus) : in connection()
89 using callback_t = void(boost::system::error_code, message_t&);
94 boost::asio::async_initiate<send_function, callback_t>( in async_send()
99 boost::asio::yield_context&& token, in async_send_yield()
102 using yield_callback_t = void(boost::system::error_code, message_t); in async_send_yield()
103 return boost::asio::async_initiate<boost::asio::yield_context, in async_send_yield()
110 static void unpack(const boost::system::error_code& ec, message_t& r, in unpack()
113 using FunctionTuple = boost::callable_traits::args_t<MessageHandler>; in unpack()
131 boost::system::errc::make_error_code( in unpack()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_client.hpp92 inline boost::system::error_code defaultRetryHandler(unsigned int respCode) in defaultRetryHandler()
98 return boost::system::errc::make_error_code( in defaultRetryHandler()
99 boost::system::errc::result_out_of_range); in defaultRetryHandler()
103 return boost::system::errc::make_error_code(boost::system::errc::success); in defaultRetryHandler()
113 boost::optional<uint64_t> requestByteLimit = httpReadBodyLimit;
120 std::function<boost::system::error_code(unsigned int respCode)>
126 boost::beast::http::request<bmcweb::HttpBody> req;
129 boost::beast::http::request<bmcweb::HttpBody>&& reqIn, in PendingRequest()
135 namespace http = boost::beast::http;
143 boost::urls::url host;
[all …]
H A Dwebsocket_impl.hpp51 const boost::urls::url_view& urlViewIn, in ConnectionImpl()
70 ws.set_option(boost::beast::websocket::stream_base::timeout::suggested( in ConnectionImpl()
71 boost::beast::role_type::server)); in ConnectionImpl()
79 using bf = boost::beast::http::field; in start()
83 ws.set_option(boost::beast::websocket::stream_base::decorator( in start()
85 protocolHeader](boost::beast::websocket::response_type& m) { in start()
96 m.result(boost::beast::http::status::unauthorized); in start()
119 using Body = boost::beast::http::request<bmcweb::HttpBody>; in start()
131 outBuffer.commit(boost::asio::buffer_copy(outBuffer.prepare(msg.size()), in sendBinary()
132 boost::asio::buffer(msg))); in sendBinary()
[all …]
H A Dhttp_connection.hpp86 boost::asio::steady_timer&& timerIn, in Connection()
88 boost::asio::ssl::stream<Adaptor>&& adaptorIn) : in Connection()
116 boost::asio::ssl::verify_context& ctx) in tlsVerifyCallback()
163 boost::system::error_code ec; in prepareMutualTls()
176 boost::beast::error_code ec, bool isTls) in afterDetectSsl()
195 boost::asio::ssl::stream_base::server, buffer.data(), in afterDetectSsl()
238 boost::beast::async_detect_ssl( in start()
245 const boost::system::error_code& ec, in afterSslHandshake()
280 boost::beast::http::request_parser<bmcweb::HttpBody>& instance = in initParser()
288 instance.body_limit(boost::none); in initParser()
[all …]
H A Dhttp_request.hpp29 using Body = boost::beast::http::request<bmcweb::HttpBody>;
33 boost::urls::url urlBase;
38 boost::asio::ip::address ipAddress;
72 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader()
81 ipAddress = boost::asio::ip::address(); in clear()
86 boost::beast::http::verb method() const in method()
91 void method(boost::beast::http::verb verb) in method()
106 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue()
111 void clearHeader(boost::beast::http::field key) in clearHeader()
126 boost::urls::url& url() in url()
[all …]
H A Dhttp_body.hpp85 const boost::beast::file_posix& file() const in file()
120 fileHandle.fileHandle = boost::beast::file_posix(); in clear()
125 void open(const char* path, boost::beast::file_mode mode, in open()
126 boost::system::error_code& ec) in open()
133 boost::system::error_code ec2; in open()
154 void setFd(int fd, boost::system::error_code& ec) in setFd()
158 boost::system::error_code ec2; in setFd()
174 using const_buffers_type = boost::asio::const_buffer;
193 writer(boost::beast::http::header<IsRequest, Fields>& /*header*/, in writer()
203 static void init(boost::beast::error_code& ec) in init()
[all …]
H A Dserver_sent_event_impl.hpp66 res.set(boost::beast::http::field::content_type, "text/event-stream"); in start()
67 boost::beast::http::response_serializer<BodyType>& serial = in start()
70 boost::beast::http::async_write_header( in start()
85 boost::beast::get_lowest_layer(adaptor).close(); in close()
90 const boost::system::error_code& ec, in sendSSEHeaderCallback()
110 adaptor.async_read_some(boost::asio::buffer(buffer), in sendSSEHeaderCallback()
116 const boost::system::error_code& ec, size_t bytesRead) in afterReadError()
119 if (ec == boost::asio::error::operation_aborted) in afterReadError()
152 const boost::beast::error_code& ec, in doWriteCallback()
159 if (ec == boost::asio::error::eof) in doWriteCallback()
[all …]
/openbmc/bmcweb/include/
H A Dhttp_utility.hpp42 using boost::spirit::x3::char_; in getContentType()
43 using boost::spirit::x3::lit; in getContentType()
44 using boost::spirit::x3::no_case; in getContentType()
45 using boost::spirit::x3::omit; in getContentType()
46 using boost::spirit::x3::parse; in getContentType()
47 using boost::spirit::x3::space; in getContentType()
48 using boost::spirit::x3::symbols; in getContentType()
80 using boost::spirit::x3::char_; in getPreferredContentType()
81 using boost::spirit::x3::lit; in getPreferredContentType()
82 using boost::spirit::x3::no_case; in getPreferredContentType()
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/
H A D0001-Update-asiolink-for-boost-1.87.patch4 Subject: [PATCH] Update asiolink for boost 1.87
24 boost::system::error_code err;
47 - work_(new boost::asio::io_service::work(io_service_)) {
48 + work_(boost::asio::make_work_guard(io_service_)) {
66 + boost::asio::post(io_service_, callback);
70 boost::asio::io_service io_service_;
71 - boost::shared_ptr<boost::asio::io_service::work> work_;
72 + boost::asio::executor_work_guard<boost::asio::io_service::executor_type> work_;
84 - new boost::asio::ip::tcp::endpoint(boost::asio::ip::address::from_string(address.toTex…
85 + new boost::asio::ip::tcp::endpoint(boost::asio::ip::make_address(address.toText()),
[all …]
/openbmc/boost-dbus/test/
H A Davahi.cpp20 boost::asio::io_service io; in TEST()
26 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST()
44 boost::asio::deadline_timer t(io, boost::posix_time::seconds(10)); in TEST()
45 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST()
53 boost::asio::io_service io; in TEST()
73 std::function<void(boost::system::error_code, dbus::message)> event_handler = in TEST()
74 [&](boost::system::error_code ec, dbus::message s) { in TEST()
84 boost::asio::deadline_timer t(io, boost::posix_time::seconds(10)); in TEST()
85 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST()
93 boost::asio::io_service io; in TEST()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-The-std-lib-unary-binary_function-base-classes-are-d.patch11 src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp | 9 +++++++++
14 --- a/src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp
15 +++ b/src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp
30 --- a/src/third_party/boost-1.70.0/boost/container_hash/hash.hpp
31 +++ b/src/third_party/boost-1.70.0/boost/container_hash/hash.hpp
32 @@ -118,7 +118,7 @@ namespace boost
H A D0001-apply-msvc-workaround-for-clang-16.patch8 boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the vali…
14 .../boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp | 2 +-
17 diff --git a/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp b/src/third_party/boo…
19 --- a/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp
20 +++ b/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp
/openbmc/bmcweb/test/redfish-core/include/
H A Dprivileges_test.cpp32 OperationMap entityPrivileges{{boost::beast::http::verb::get, {{"Login"}}}}; in TEST()
35 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
41 OperationMap entityPrivileges{{boost::beast::http::verb::get, {}}}; in TEST()
44 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
51 {boost::beast::http::verb::get, {{"ConfigureManager"}}}}; in TEST()
54 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
62 {boost::beast::http::verb::get, in TEST()
66 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
73 {boost::beast::http::verb::get, in TEST()
77 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
[all …]
/openbmc/bmcweb/test/include/
H A Dcredential_pipe_test.cpp21 static void handler(boost::asio::io_context& io, in handler()
22 const boost::system::error_code& ec, size_t sent) in handler()
31 boost::asio::io_context io; in TEST()
32 boost::asio::readable_pipe testPipe(io); in TEST()
35 testPipe = boost::asio::readable_pipe(io, pipe.releaseFd()); in TEST()
42 boost::system::error_code ec; in TEST()
43 boost::asio::read(testPipe, boost::asio::buffer(buff), ec); in TEST()
/openbmc/bmcweb/http/routing/
H A Dsserule.cpp40 asyncResp->res.result(boost::beast::http::status::internal_server_error); in handle()
45 boost::asio::ip::tcp::socket&& adaptor) in handleUpgrade()
48 crow::sse_socket::ConnectionImpl<boost::asio::ip::tcp::socket>> in handleUpgrade()
50 crow::sse_socket::ConnectionImpl<boost::asio::ip::tcp::socket>>( in handleUpgrade()
56 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>&& adaptor) 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()
H A Dwebsocketrule.cpp21 boost::asio::ip::tcp::socket&& adaptor) in handleUpgrade()
25 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>> in handleUpgrade()
27 crow::websocket::ConnectionImpl<boost::asio::ip::tcp::socket>>( in handleUpgrade()
35 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>&& adaptor) in handleUpgrade()
39 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>> in handleUpgrade()
41 boost::asio::ssl::stream<boost::asio::ip::tcp::socket>>>( in handleUpgrade()
/openbmc/bmcweb/src/
H A Ddbus_utility.cpp36 void logError(const boost::system::error_code& ec) in logError()
46 std::function<void(const boost::system::error_code&, in getAllProperties()
57 std::function<void(const boost::system::error_code&, in getAllProperties()
67 [callback = std::move(callback)](const boost::system::error_code& ec, in checkDbusPathExists()
79 std::function<void(const boost::system::error_code&, in getSubTree()
84 const boost::system::error_code& ec, in getSubTree()
95 std::function<void(const boost::system::error_code&, in getSubTreePaths()
100 const boost::system::error_code& ec, in getSubTreePaths()
114 std::function<void(const boost::system::error_code&, in getAssociatedSubTree()
119 const boost::system::error_code& ec, in getAssociatedSubTree()
[all …]
/openbmc/sdbusplus/example/
H A Dregister-property.cpp19 Application(boost::asio::io_context& ioc, sdbusplus::asio::connection& bus, in Application()
48 return [this](boost::system::error_code error) { in getFailed()
59 [this](boost::system::error_code ec, uint32_t) { in asyncReadPropertyWithIncorrectType()
79 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties()
91 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties()
106 [this](const boost::system::error_code& ec) { in asyncChangeProperty()
123 [this](const boost::system::error_code& ec) { in asyncChangeProperty()
134 boost::asio::post(ioc_, [this] { asyncReadProperties(); }); in asyncChangeProperty()
145 boost::asio::io_context& ioc_;
158 boost::asio::io_context ioc; in main()
[all …]
/openbmc/bmcweb/features/kvm/
H A Dkvm_websocket.hpp35 boost::asio::ip::tcp::endpoint endpoint( in KvmSession()
36 boost::asio::ip::make_address("127.0.0.1"), 5900); in KvmSession()
38 endpoint, [this, &connIn](const boost::system::error_code& ec) { in KvmSession()
44 if (ec != boost::asio::error::operation_aborted) in KvmSession()
67 size_t copied = boost::asio::buffer_copy( in onMessage()
68 inputBuffer.prepare(data.size()), boost::asio::buffer(data)); in onMessage()
86 [this, weak(weak_from_this())](const boost::system::error_code& ec, in doRead()
100 if (ec != boost::asio::error::operation_aborted) in doRead()
138 [this, weak(weak_from_this())](const boost::system::error_code& ec, in doWrite()
150 if (ec == boost::asio::error::eof) in doWrite()
[all …]
/openbmc/dbus-sensors/subprojects/packagefiles/boost/subprojects/
H A Dboost.wrap2 directory = boost-1.89.0
4 source_url = https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.ta…
7 patch_directory = boost
10 boost = boost_dep
/openbmc/dbus-sensors/subprojects/
H A Dboost-meson.wrap2 directory = boost-1.89.0
4 source_url = https://github.com/boostorg/boost/releases/download/boost-1.89.0/boost-1.89.0-cmake.ta…
7 patch_directory = boost
10 boost-meson = boost_dep
/openbmc/boost-dbus/include/dbus/
H A Derror.hpp19 class error_category : public boost::system::error_category {
32 inline const boost::system::error_category &get_dbus_category() { in get_dbus_category()
67 boost::system::error_code error_code() const;
68 boost::system::system_error system_error() const;
72 inline boost::system::error_code error::error_code() const { in error_code()
73 return boost::system::error_code(is_set(), get_dbus_category()); in error_code()
76 inline boost::system::system_error error::system_error() const { in system_error()
77 return boost::system::system_error( in system_error()
/openbmc/intel-ipmi-oem/src/
H A Dme_to_redfish_hooks.cpp33 static const boost::container::flat_map<uint8_t, std::string> smlink = { in messageHook()
58 static const boost::container::flat_map<uint8_t, std::string>
70 static const boost::container::flat_map<uint8_t, std::string> peciOverDmiError =
76 static const boost::container::flat_map<uint8_t, std::string>
83 static const boost::container::flat_map<uint8_t, std::string>
102 static const boost::container::flat_map<uint8_t, std::string> umaError = {
113 static const boost::container::flat_map<uint8_t, std::string> pttHealthEvent = {
118 static const boost::container::flat_map<uint8_t, std::string>
123 static const boost::container::flat_map<uint8_t, std::string> restrictedMode = {
128 static const boost::container::flat_map<uint8_t, std::string>
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaDeviceDiscovery.cpp42 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer, in processQueryDeviceIdResponse()
43 boost::container::flat_map<std::string, std::shared_ptr<GpuDevice>>& in processQueryDeviceIdResponse()
45 boost::container::flat_map<std::string, std::shared_ptr<SmaDevice>>& in processQueryDeviceIdResponse()
47 boost::container::flat_map<std::string, std::shared_ptr<PcieDevice>>& in processQueryDeviceIdResponse()
146 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer, in queryDeviceIdentification()
147 boost::container::flat_map<std::string, std::shared_ptr<GpuDevice>>& in queryDeviceIdentification()
149 boost::container::flat_map<std::string, std::shared_ptr<SmaDevice>>& in queryDeviceIdentification()
151 boost::container::flat_map<std::string, std::shared_ptr<PcieDevice>>& in queryDeviceIdentification()
182 boost::asio::io_context& io, sdbusplus::asio::object_server& objectServer, in processEndpoint()
183 boost::container::flat_map<std::string, std::shared_ptr<GpuDevice>>& in processEndpoint()
[all …]

12345678910>>...27