Lines Matching full:boost

12 #include <boost/beast/core/buffers_range.hpp>
13 #include <boost/beast/core/file_posix.hpp>
14 #include <boost/beast/http/message.hpp>
15 #include <boost/system/error_code.hpp>
53 const boost::beast::file_posix& file() const in file()
88 fileHandle.fileHandle = boost::beast::file_posix(); in clear()
93 void open(const char* path, boost::beast::file_mode mode, in open()
94 boost::system::error_code& ec) in open()
101 boost::system::error_code ec2; in open()
122 void setFd(int fd, boost::system::error_code& ec) in setFd()
126 boost::system::error_code ec2; in setFd()
142 using const_buffers_type = boost::asio::const_buffer;
159 writer(boost::beast::http::header<IsRequest, Fields>& /*header*/, in writer()
163 static void init(boost::beast::error_code& ec) in init()
168 boost::optional<std::pair<const_buffers_type, bool>>
169 get(boost::beast::error_code& ec) in get()
174 boost::optional<std::pair<const_buffers_type, bool>>
175 getWithMaxSize(boost::beast::error_code& ec, size_t maxSize) in getWithMaxSize()
192 boost::system::error_code readEc; in getWithMaxSize()
196 if (readEc != boost::system::errc::operation_would_block && in getWithMaxSize()
197 readEc != boost::system::errc::resource_unavailable_try_again) in getWithMaxSize()
202 return boost::none; in getWithMaxSize()
237 reader(boost::beast::http::header<IsRequest, Fields>& /*headers*/, in reader()
241 void init(const boost::optional<std::uint64_t>& contentLength, in init()
242 boost::beast::error_code& ec) in init()
256 boost::system::error_code& ec) in put()
258 size_t extra = boost::beast::buffer_bytes(buffers); in put()
259 for (const auto b : boost::beast::buffers_range_ref(buffers)) in put()
268 static void finish(boost::system::error_code& ec) in finish()