Home
last modified time | relevance | path

Searched refs:sr_ (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/beast/include/boost/beast/http/impl/
Dfile_body_win32.hpp396 basic_file_body<file_win32>, Fields>& sr_; member in boost::beast::http::detail::write_some_win32_op
412 , sr_(sr) in write_some_win32_op()
420 if(! sr_.is_header_done()) in operator ()()
423 sr_.split(true); in operator ()()
425 sock_, sr_, std::move(*this)); in operator ()()
427 if(sr_.get().chunked()) in operator ()()
430 sock_, sr_, std::move(*this)); in operator ()()
432 auto& w = sr_.writer_impl(); in operator ()()
436 (std::min<std::uint64_t>)(w.body_.last_ - w.pos_, sr_.limit()), in operator ()()
448 sr_.get().body().file_.native_handle(), in operator ()()
[all …]
Dwrite.hpp42 serializer<isRequest,Body, Fields>& sr_; member in boost::beast::http::detail::write_some_op
84 , sr_(sr) in write_some_op()
93 if(! sr_.is_done()) in operator ()()
96 sr_.next(ec, f); in operator ()()
116 BOOST_ASSERT(sr_.is_done()); in operator ()()
135 sr_.consume(bytes_transferred); in operator ()()
179 serializer<isRequest, Body, Fields>& sr_; member in boost::beast::http::detail::write_op
192 , sr_(sr) in write_op()
204 if(Predicate{}(sr_))
227 s_, sr_, std::move(*this));
[all …]
/third_party/boost/boost/beast/http/impl/
Dfile_body_win32.hpp396 basic_file_body<file_win32>, Fields>& sr_; member in boost::beast::http::detail::write_some_win32_op
412 , sr_(sr) in write_some_win32_op()
420 if(! sr_.is_header_done()) in operator ()()
423 sr_.split(true); in operator ()()
425 sock_, sr_, std::move(*this)); in operator ()()
427 if(sr_.get().chunked()) in operator ()()
430 sock_, sr_, std::move(*this)); in operator ()()
432 auto& w = sr_.writer_impl(); in operator ()()
436 (std::min<std::uint64_t>)(w.body_.last_ - w.pos_, sr_.limit()), in operator ()()
448 sr_.get().body().file_.native_handle(), in operator ()()
[all …]
Dwrite.hpp42 serializer<isRequest,Body, Fields>& sr_; member in boost::beast::http::detail::write_some_op
84 , sr_(sr) in write_some_op()
93 if(! sr_.is_done()) in operator ()()
96 sr_.next(ec, f); in operator ()()
116 BOOST_ASSERT(sr_.is_done()); in operator ()()
135 sr_.consume(bytes_transferred); in operator ()()
179 serializer<isRequest, Body, Fields>& sr_; member in boost::beast::http::detail::write_op
192 , sr_(sr) in write_op()
204 if(Predicate{}(sr_))
227 s_, sr_, std::move(*this));
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dmulti_buffer.hpp339 subrange const* sr_ = nullptr; member in boost::beast::basic_multi_buffer::subrange::const_iterator
345 : sr_(&sr) in const_iterator()
369 return sr_ == other.sr_ && it_ == other.it_; in operator ==()
383 BOOST_ASSERT(sr_->last_pos_ != 0); in operator *()
384 if(it_ == std::prev(sr_->end_)) in operator *()
386 it_->data(), sr_->last_pos_ }; in operator *()
390 if(it_ == sr_->begin_) in operator *()
391 result += sr_->begin_pos_; in operator *()
/third_party/boost/boost/beast/core/impl/
Dmulti_buffer.hpp339 subrange const* sr_ = nullptr; member in boost::beast::basic_multi_buffer::subrange::const_iterator
345 : sr_(&sr) in const_iterator()
369 return sr_ == other.sr_ && it_ == other.it_; in operator ==()
383 BOOST_ASSERT(sr_->last_pos_ != 0); in operator *()
384 if(it_ == std::prev(sr_->end_)) in operator *()
386 it_->data(), sr_->last_pos_ }; in operator *()
390 if(it_ == sr_->begin_) in operator *()
391 result += sr_->begin_pos_; in operator *()
/third_party/boost/libs/beast/example/doc/
Dhttp_examples.hpp574 Serializer& sr_; member in boost::beast::http::detail::write_ostream_helper
579 : sr_(sr) in write_ostream_helper()
619 sr_.consume(bytes_transferred); in operator ()()
/third_party/boost/libs/beast/test/doc/
Dhttp_snippets.cpp393 lambda(Serializer& sr_) : sr(sr_) {} in lambda()