Home
last modified time | relevance | path

Searched full:boost (Results 1 – 25 of 1255) sorted by relevance

12345678910>>...51

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs35l41.yaml42 cirrus,boost-peak-milliamp:
44 Boost-converter peak current limit in mA.
45 Configures the peak current by monitoring the current through the boost FET.
53 cirrus,boost-ind-nanohenry:
55 Boost inductor value, expressed in nH. Valid
61 cirrus,boost-cap-microfarad:
63 Total equivalent boost capacitance on the VBST
81 cirrus,boost-type:
83 Configures the type of Boost being used.
84 Internal boost requires boost-peak-milliamp, boost-ind-nanohenry and
[all …]
/openbmc/boost-dbus/include/dbus/detail/
H A Dwatch_timeout.hpp3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 #include <boost/asio/generic/stream_protocol.hpp>
11 #include <boost/asio/steady_timer.hpp>
23 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()
[all …]
H A Dqueue.hpp3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 #include <boost/asio.hpp>
12 #include <boost/asio/detail/mutex.hpp>
20 typedef ::boost::asio::detail::mutex mutex_type;
22 typedef std::function<void(boost::system::error_code, Message)> handler_type;
25 boost::asio::io_service& io;
31 queue(boost::asio::io_service& io_service) : io(io_service) {} in queue()
42 boost::system::error_code error_;
47 boost::system::error_code e = boost::system::error_code()) in closure()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_connection.hpp17 #include <boost/asio/io_context.hpp>
18 #include <boost/asio/ip/tcp.hpp>
19 #include <boost/asio/ssl/stream.hpp>
20 #include <boost/asio/steady_timer.hpp>
21 #include <boost/beast/_experimental/test/stream.hpp>
22 #include <boost/beast/core/buffers_generator.hpp>
23 #include <boost/beast/core/flat_static_buffer.hpp>
24 #include <boost/beast/http/error.hpp>
25 #include <boost/beast/http/message_generator.hpp>
26 #include <boost/beast/http/parser.hpp>
[all …]
H A Dhttp_client.hpp24 #include <boost/asio/connect.hpp>
25 #include <boost/asio/io_context.hpp>
26 #include <boost/asio/ip/address.hpp>
27 #include <boost/asio/ip/basic_endpoint.hpp>
28 #include <boost/asio/ip/tcp.hpp>
29 #include <boost/asio/ssl/context.hpp>
30 #include <boost/asio/ssl/error.hpp>
31 #include <boost/asio/ssl/stream.hpp>
32 #include <boost/asio/steady_timer.hpp>
33 #include <boost/beast/core/flat_static_buffer.hpp>
[all …]
H A Dwebsocket.hpp6 #include <boost/asio/buffer.hpp>
7 #include <boost/asio/ssl/error.hpp>
8 #include <boost/beast/core/multi_buffer.hpp>
9 #include <boost/beast/websocket.hpp>
10 #include <boost/beast/websocket/ssl.hpp>
43 virtual boost::asio::io_context& getIoContext() = 0;
45 virtual boost::urls::url_view url() = 0;
55 const boost::urls::url_view& urlViewIn, in ConnectionImpl()
74 ws.set_option(boost::beast::websocket::stream_base::timeout::suggested( in ConnectionImpl()
75 boost::beast::role_type::server)); in ConnectionImpl()
[all …]
H A Dhttp_request.hpp6 #include <boost/asio/io_context.hpp>
7 #include <boost/asio/ip/address.hpp>
8 #include <boost/beast/http/message.hpp>
9 #include <boost/beast/websocket.hpp>
10 #include <boost/url/url.hpp>
21 using Body = boost::beast::http::request<bmcweb::HttpBody>;
25 boost::urls::url urlBase;
28 boost::asio::io_context* ioService = nullptr;
29 boost::asio::ip::address ipAddress;
59 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader()
[all …]
H A Dhttp_body.hpp10 #include <boost/beast/core/buffers_range.hpp>
11 #include <boost/beast/core/file_posix.hpp>
12 #include <boost/beast/http/message.hpp>
13 #include <boost/system/error_code.hpp>
51 const boost::beast::file_posix& file() const in file()
86 fileHandle.fileHandle = boost::beast::file_posix(); in clear()
91 void open(const char* path, boost::beast::file_mode mode, in open()
92 boost::system::error_code& ec) in open()
99 boost::system::error_code ec2; in open()
120 void setFd(int fd, boost::system::error_code& ec) in setFd()
[all …]
H A Dhttp_server.hpp7 #include <boost/asio/ip/address.hpp>
8 #include <boost/asio/ip/tcp.hpp>
9 #include <boost/asio/signal_set.hpp>
10 #include <boost/asio/ssl/context.hpp>
11 #include <boost/asio/ssl/stream.hpp>
12 #include <boost/asio/steady_timer.hpp>
13 #include <boost/beast/core/stream_traits.hpp>
28 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()
[all …]
H A Dapp.hpp13 #include <boost/asio/io_context.hpp>
14 #include <boost/asio/ip/tcp.hpp>
15 #include <boost/asio/ssl/context.hpp>
16 #include <boost/asio/ssl/stream.hpp>
35 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()
87 std::optional<boost::asio::ip::tcp::acceptor> setupSocket() in setupSocket()
103 return boost::asio::ip::tcp::acceptor( in setupSocket()
[all …]
H A Dserver_sent_event.hpp7 #include <boost/asio/buffer.hpp>
8 #include <boost/asio/steady_timer.hpp>
9 #include <boost/beast/core/multi_buffer.hpp>
10 #include <boost/beast/websocket.hpp>
33 virtual boost::asio::io_context& getIoContext() = 0;
47 timer(static_cast<boost::asio::io_context&>( in ConnectionImpl()
66 boost::asio::io_context& getIoContext() override in getIoContext()
68 return static_cast<boost::asio::io_context&>( in getIoContext()
76 res.set(boost::beast::http::field::content_type, "text/event-stream"); in start()
77 boost::beast::http::response_serializer<BodyType>& serial = in start()
[all …]
/openbmc/bmcweb/include/
H A Dhttp_utility.hpp3 #include <boost/spirit/home/x3.hpp>
31 using boost::spirit::x3::char_; in getContentType()
32 using boost::spirit::x3::lit; in getContentType()
33 using boost::spirit::x3::no_case; in getContentType()
34 using boost::spirit::x3::omit; in getContentType()
35 using boost::spirit::x3::parse; in getContentType()
36 using boost::spirit::x3::space; in getContentType()
37 using boost::spirit::x3::symbols; in getContentType()
38 using boost::spirit::x3::uint_; in getContentType()
70 using boost::spirit::x3::char_; in getPreferredContentType()
[all …]
H A Dcredential_pipe.hpp5 #include <boost/asio/buffer.hpp>
6 #include <boost/asio/connect_pipe.hpp>
7 #include <boost/asio/io_context.hpp>
8 #include <boost/asio/readable_pipe.hpp>
9 #include <boost/asio/writable_pipe.hpp>
10 #include <boost/asio/write.hpp>
15 // Wrapper for boost::async_pipe ensuring proper pipe cleanup
19 explicit CredentialsPipe(boost::asio::io_context& io) : impl(io), read(io) in CredentialsPipe()
21 boost::system::error_code ec; in CredentialsPipe()
22 boost::asio::connect_pipe(read, impl, ec); in CredentialsPipe()
[all …]
/openbmc/boost-dbus/test/
H A Davahi.cpp3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
20 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()
[all …]
/openbmc/bmcweb/test/include/
H A Dcredential_pipe_test.cpp3 #include <boost/asio/buffer.hpp>
4 #include <boost/asio/io_context.hpp>
5 #include <boost/asio/read.hpp>
6 #include <boost/asio/readable_pipe.hpp>
7 #include <boost/system/error_code.hpp>
19 static void handler(boost::asio::io_context& io, in handler()
20 const boost::system::error_code& ec, size_t sent) 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()
[all …]
/openbmc/bmcweb/test/http/
H A Dhttp_connection_test.cpp6 #include <boost/asio/buffer.hpp>
7 #include <boost/asio/io_context.hpp>
8 #include <boost/asio/steady_timer.hpp>
9 #include <boost/beast/_experimental/test/stream.hpp>
10 #include <boost/beast/http/field.hpp>
11 #include <boost/beast/http/verb.hpp>
28 boost::beast::test::stream&& /*adaptor*/) in handleUpgrade()
37 EXPECT_EQ(req->method(), boost::beast::http::verb::get); in handle()
39 EXPECT_EQ(req->getHeaderValue(boost::beast::http::field::host), in handle()
62 boost::asio::io_context io; in TEST()
[all …]
H A Dhttp_response_test.cpp6 #include <boost/beast/core/buffers_to_string.hpp>
7 #include <boost/beast/core/file_base.hpp>
8 #include <boost/beast/core/file_posix.hpp>
9 #include <boost/beast/http/message.hpp>
10 #include <boost/beast/http/serializer.hpp>
11 #include <boost/beast/http/status.hpp>
24 res.result(boost::beast::http::status::ok); in addHeaders()
30 EXPECT_EQ(res.result(), boost::beast::http::status::ok); in verifyHeaders()
33 std::string getData(boost::beast::http::response<bmcweb::HttpBody>& m) in getData()
37 boost::beast::http::response_serializer<bmcweb::HttpBody> sr{m}; in getData()
[all …]
H A Dserver_sent_event_test.cpp4 #include <boost/asio/buffer.hpp>
5 #include <boost/asio/io_context.hpp>
6 #include <boost/asio/read.hpp>
7 #include <boost/beast/_experimental/test/stream.hpp>
26 boost::asio::io_context io; in TEST()
27 boost::beast::test::stream stream(io); in TEST()
28 boost::beast::test::stream out(io); in TEST()
41 std::shared_ptr<ConnectionImpl<boost::beast::test::stream>> conn = in TEST()
42 std::make_shared<ConnectionImpl<boost::beast::test::stream>>( in TEST()
59 boost::asio::read(out, boost::asio::buffer(eventContent)); in TEST()
[all …]
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dconnection.hpp19 // users should define this if they directly include boost/asio/spawn.hpp,
24 #include <boost/asio/async_result.hpp>
25 #include <boost/asio/io_context.hpp>
26 #include <boost/asio/posix/stream_descriptor.hpp>
27 #include <boost/asio/post.hpp>
28 #include <boost/asio/steady_timer.hpp>
31 #include <boost/asio/spawn.hpp>
33 #include <boost/callable_traits.hpp>
57 connection(boost::asio::io_context& io) : in connection()
63 connection(boost::asio::io_context& io, sd_bus* bus) : in connection()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
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
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
/openbmc/bmcweb/test/redfish-core/include/
H A Dprivileges_test.cpp3 #include <boost/beast/http/verb.hpp>
30 OperationMap entityPrivileges{{boost::beast::http::verb::get, {{"Login"}}}}; in TEST()
33 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
39 OperationMap entityPrivileges{{boost::beast::http::verb::get, {}}}; in TEST()
42 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
49 {boost::beast::http::verb::get, {{"ConfigureManager"}}}}; in TEST()
52 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
60 {boost::beast::http::verb::get, in TEST()
64 boost::beast::http::verb::get, entityPrivileges, userPrivileges)); in TEST()
71 {boost::beast::http::verb::get, in TEST()
[all …]
/openbmc/boost-dbus/include/dbus/
H A Derror.hpp3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
12 #include <boost/system/error_code.hpp>
13 #include <boost/system/system_error.hpp>
19 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()
[all …]
H A Dconnection_service.hpp3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/asio.hpp>
10 #include <boost/asio/io_service.hpp>
31 : public boost::asio::detail::service_base<connection_service> {
35 inline explicit connection_service(boost::asio::io_service& io) in connection_service()
36 : boost::asio::detail::service_base<connection_service>(io) {} in connection_service()
47 boost::asio::io_service& io = this->get_io_service(); in open()
53 boost::asio::io_service& io = this->get_io_service(); in open()
78 void(boost::system::error_code, message)) in BOOST_ASIO_INITFN_RESULT_TYPE()
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Derror_messages.cpp18 #include <boost/beast/http/field.hpp>
19 #include <boost/beast/http/status.hpp>
20 #include <boost/url/url_view_base.hpp>
194 res.result(boost::beast::http::status::internal_server_error); in generalError()
212 res.result(boost::beast::http::status::created); in created()
230 res.result(boost::beast::http::status::bad_request); in noOperation()
249 res.result(boost::beast::http::status::bad_request); in propertyDuplicate()
268 res.result(boost::beast::http::status::bad_request); in propertyUnknown()
291 res.result(boost::beast::http::status::bad_request); in propertyValueTypeError()
314 res.result(boost::beast::http::status::bad_request); in propertyValueFormatError()
[all …]

12345678910>>...51