Home
last modified time | relevance | path

Searched refs:body_ (Results 1 – 25 of 29) sorted by relevance

12

/third_party/boost/boost/beast/http/
Dbuffer_body.hpp104 value_type& body_; member in boost::beast::http::buffer_body::reader
110 : body_(b) in reader()
125 if(! body_.data) in put()
132 body_.data, body_.size), buffers); in put()
133 body_.data = static_cast<char*>( in put()
134 body_.data) + bytes_transferred; in put()
135 body_.size -= bytes_transferred; in put()
161 value_type const& body_; member in boost::beast::http::buffer_body::writer
170 : body_(b) in writer()
186 if(body_.more) in get()
[all …]
Dspan_body.hpp74 value_type& body_; member in boost::beast::http::span_body::reader
80 : body_(b) in reader()
88 if(length && *length > body_.size()) in init()
102 auto const len = body_.size(); in put()
110 body_.data(), n), buffers); in put()
111 body_ = value_type{ in put()
112 body_.data() + n, body_.size() - n}; in put()
133 value_type const& body_; member in boost::beast::http::span_body::writer
142 : body_(b) in writer()
157 { body_.data(), in get()
[all …]
Dvector_body.hpp74 value_type& body_; member in boost::beast::http::vector_body::reader
80 : body_(b) in reader()
90 if(*length > body_.max_size()) in init()
95 body_.reserve(beast::detail::clamp(*length)); in init()
106 auto const len = body_.size(); in put()
107 if (n > body_.max_size() - len) in put()
113 body_.resize(len + n); in put()
116 &body_[0] + len, n), buffers); in put()
136 value_type const& body_; member in boost::beast::http::vector_body::writer
145 : body_(b) in writer()
[all …]
Dstring_body.hpp81 value_type& body_; member in boost::beast::http::basic_string_body::reader
87 : body_(b) in reader()
97 if(*length > body_.max_size()) in init()
102 body_.reserve(beast::detail::clamp(*length)); in init()
113 auto const size = body_.size(); in put()
114 if (extra > body_.max_size() - size) in put()
120 body_.resize(size + extra); in put()
122 CharT* dest = &body_[size]; in put()
149 value_type const& body_; member in boost::beast::http::basic_string_body::writer
158 : body_(b) in writer()
[all …]
Dbasic_dynamic_body.hpp70 value_type& body_; member in boost::beast::http::basic_dynamic_body::reader
76 : body_(b) in reader()
93 if(beast::detail::sum_exceeds(body_.size(), n, body_.max_size())) in put()
100 body_, (std::min)(n, in put()
101 body_.max_size() - body_.size()), in put()
107 body_.commit(bytes_transferred); in put()
128 DynamicBuffer const& body_; member in boost::beast::http::basic_dynamic_body::writer
137 : body_(b) in writer()
151 return {{body_.data(), false}}; in get()
Dbasic_file_body.hpp235 value_type& body_; // The body we are reading from member in boost::beast::http::basic_file_body::writer
304 : body_(b) in writer()
309 BOOST_ASSERT(body_.file_.is_open()); in writer()
312 remain_ = body_.file_size_; in writer()
362 auto const nread = body_.file_.read(buf_, amount, ec); in get()
406 value_type& body_; // The body we are writing to member in boost::beast::http::basic_file_body::reader
462 : body_(body) in reader()
476 BOOST_ASSERT(body_.file_.is_open()); in init()
511 nwritten += body_.file_.write( in put()
/third_party/boost/libs/beast/include/boost/beast/http/
Dbuffer_body.hpp104 value_type& body_; member in boost::beast::http::buffer_body::reader
110 : body_(b) in reader()
125 if(! body_.data) in put()
132 body_.data, body_.size), buffers); in put()
133 body_.data = static_cast<char*>( in put()
134 body_.data) + bytes_transferred; in put()
135 body_.size -= bytes_transferred; in put()
161 value_type const& body_; member in boost::beast::http::buffer_body::writer
170 : body_(b) in writer()
186 if(body_.more) in get()
[all …]
Dvector_body.hpp74 value_type& body_; member in boost::beast::http::vector_body::reader
80 : body_(b) in reader()
90 if(*length > body_.max_size()) in init()
95 body_.reserve(beast::detail::clamp(*length)); in init()
106 auto const len = body_.size(); in put()
107 if (n > body_.max_size() - len) in put()
113 body_.resize(len + n); in put()
116 &body_[0] + len, n), buffers); in put()
136 value_type const& body_; member in boost::beast::http::vector_body::writer
145 : body_(b) in writer()
[all …]
Dspan_body.hpp74 value_type& body_; member in boost::beast::http::span_body::reader
80 : body_(b) in reader()
88 if(length && *length > body_.size()) in init()
102 auto const len = body_.size(); in put()
110 body_.data(), n), buffers); in put()
111 body_ = value_type{ in put()
112 body_.data() + n, body_.size() - n}; in put()
133 value_type const& body_; member in boost::beast::http::span_body::writer
142 : body_(b) in writer()
157 { body_.data(), in get()
[all …]
Dstring_body.hpp81 value_type& body_; member in boost::beast::http::basic_string_body::reader
87 : body_(b) in reader()
97 if(*length > body_.max_size()) in init()
102 body_.reserve(beast::detail::clamp(*length)); in init()
113 auto const size = body_.size(); in put()
114 if (extra > body_.max_size() - size) in put()
120 body_.resize(size + extra); in put()
122 CharT* dest = &body_[size]; in put()
149 value_type const& body_; member in boost::beast::http::basic_string_body::writer
158 : body_(b) in writer()
[all …]
Dbasic_dynamic_body.hpp70 value_type& body_; member in boost::beast::http::basic_dynamic_body::reader
76 : body_(b) in reader()
93 if(beast::detail::sum_exceeds(body_.size(), n, body_.max_size())) in put()
100 body_, (std::min)(n, in put()
101 body_.max_size() - body_.size()), in put()
107 body_.commit(bytes_transferred); in put()
128 DynamicBuffer const& body_; member in boost::beast::http::basic_dynamic_body::writer
137 : body_(b) in writer()
151 return {{body_.data(), false}}; in get()
Dbasic_file_body.hpp235 value_type& body_; // The body we are reading from member in boost::beast::http::basic_file_body::writer
304 : body_(b) in writer()
309 BOOST_ASSERT(body_.file_.is_open()); in writer()
312 remain_ = body_.file_size_; in writer()
362 auto const nread = body_.file_.read(buf_, amount, ec); in get()
406 value_type& body_; // The body we are writing to member in boost::beast::http::basic_file_body::reader
462 : body_(body) in reader()
476 BOOST_ASSERT(body_.file_.is_open()); in init()
511 nwritten += body_.file_.write( in put()
/third_party/boost/libs/beast/include/boost/beast/http/impl/
Dfile_body_win32.hpp127 value_type& body_; // The body we are reading from member in boost::beast::http::basic_file_body::writer
137 : body_(b) in writer()
138 , pos_(body_.first_) in writer()
140 BOOST_ASSERT(body_.file_.is_open()); in writer()
146 BOOST_ASSERT(body_.file_.is_open()); in init()
154 beast::detail::clamp(body_.last_ - pos_)); in get()
160 auto const nread = body_.file_.read(buf_, n, ec); in get()
173 pos_ < body_.last_}}; // `true` if there are more buffers. in get()
181 value_type& body_; member in boost::beast::http::basic_file_body::reader
187 : body_(b) in reader()
[all …]
/third_party/boost/boost/beast/http/impl/
Dfile_body_win32.hpp127 value_type& body_; // The body we are reading from member in boost::beast::http::basic_file_body::writer
137 : body_(b) in writer()
138 , pos_(body_.first_) in writer()
140 BOOST_ASSERT(body_.file_.is_open()); in writer()
146 BOOST_ASSERT(body_.file_.is_open()); in init()
154 beast::detail::clamp(body_.last_ - pos_)); in get()
160 auto const nread = body_.file_.read(buf_, n, ec); in get()
173 pos_ < body_.last_}}; // `true` if there are more buffers. in get()
181 value_type& body_; member in boost::beast::http::basic_file_body::reader
187 : body_(b) in reader()
[all …]
/third_party/boost/libs/beast/test/beast/http/
Dwrite.cpp49 value_type const& body_; member in boost::beast::http::write_test::unsized_body::writer
59 : body_(b) in writer()
74 body_.data(), body_.size()}, false}}; in get()
94 value_type const& body_; member in boost::beast::http::write_test::test_body::writer
104 : body_(b) in writer()
118 body_.read = true; in get()
130 if(body_.s.empty()) in get()
133 body_.s.data(), body_.s.size()), false}}; in get()
141 if(body_.s.empty()) in get()
148 body_.s.data(), body_.s.size()), true}}; in get()
[all …]
/third_party/gn/src/base/containers/
Dflat_tree.h307 return lhs.impl_.body_ == rhs.impl_.body_;
315 return lhs.impl_.body_ < rhs.impl_.body_;
396 return {impl_.body_.emplace(position, std::forward<V>(val)), true};
417 impl_.body_.emplace_back(std::forward<V>(val));
440 impl_.body_.emplace_back(std::forward<V>(val));
482 body_(std::forward<Body>(underlying_type_args)...) {}
487 underlying_type body_;
555 impl_.body_ = ilist;
566 impl_.body_.reserve(new_capacity);
572 return impl_.body_.capacity();
[all …]
/third_party/grpc/include/grpcpp/impl/codegen/
Dsync_stream_impl.h786 void SendInitialMetadata() override { body_.SendInitialMetadata(); } in SendInitialMetadata()
789 return body_.NextMessageSize(sz); in NextMessageSize()
792 bool Read(R* msg) override { return body_.Read(msg); } in Read()
801 return body_.Write(msg, options); in Write()
805 internal::ServerReaderWriterBody<W, R> body_;
811 : body_(call, ctx) {} in ServerReaderWriter()
830 void SendInitialMetadata() override { body_.SendInitialMetadata(); } in SendInitialMetadata()
834 return body_.NextMessageSize(sz); in NextMessageSize()
852 return body_.Read(request); in Read()
869 return body_.Write(response, options); in Write()
[all …]
Dsync_stream.h784 void SendInitialMetadata() override { body_.SendInitialMetadata(); } in SendInitialMetadata()
787 return body_.NextMessageSize(sz); in NextMessageSize()
790 bool Read(R* msg) override { return body_.Read(msg); } in Read()
799 return body_.Write(msg, options); in Write()
803 internal::ServerReaderWriterBody<W, R> body_;
808 : body_(call, ctx) {} in ServerReaderWriter()
827 void SendInitialMetadata() override { body_.SendInitialMetadata(); } in SendInitialMetadata()
831 return body_.NextMessageSize(sz); in NextMessageSize()
849 return body_.Read(request); in Read()
866 return body_.Write(response, options); in Write()
[all …]
/third_party/skia/third_party/externals/tint/src/sem/
Dswitch_statement.h67 void SetBlock(const BlockStatement* body) { body_ = body; } in SetBlock()
70 const BlockStatement* Body() const { return body_; } in Body()
73 const BlockStatement* body_ = nullptr;
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dhttp_message_handler.cc286 MS_EXCEPTION_IF_NULL(body_); in ReceiveMessage()
289 int ret = memcpy_s(body_->data() + offset_, dest_size, buffer, src_size); in ReceiveMessage()
315 MS_EXCEPTION_IF_NULL(body_); in InitBodySize()
316 body_->resize(content_len()); in InitBodySize()
319 std::shared_ptr<std::vector<char>> HttpMessageHandler::body() { return body_; } in body()
321 void HttpMessageHandler::set_body(const std::shared_ptr<std::vector<char>> &body) { body_ = body; } in set_body()
Dhttp_message_handler.h58 body_(nullptr),
127 std::shared_ptr<std::vector<char>> body_; variable
/third_party/boost/boost/msm/front/euml/
Doperator.hpp294 Body body_; in operator ()() local
298 body_(evt,fsm,src,tgt); in operator ()()
304 Body body_; in operator ()() local
308 body_(evt,fsm,state); in operator ()()
351 Body body_; in operator ()() local
354 body_(evt,fsm,src,tgt); in operator ()()
361 Body body_; in operator ()() local
364 body_(evt,fsm,state); in operator ()()
408 Body body_; in operator ()() local
411 body_(evt,fsm,src,tgt); in operator ()()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_cfg_test.cpp68 string body_; member in __anon09abb9700111::Block
78 : label_(label), body_(), type_(type), successors_() {} in Block()
82 body_ = body; in SetBody()
87 body_ += body; in AppendBody()
95 if (!body_.empty()) { in operator string()
96 out << body_; in operator string()
/third_party/boost/libs/beast/doc/qbk/08_design/
D2_http_comparison.qbk65 string_type& body() { return body_; }
66 string_type const& body() const { return body_; }
79 mutable string_type body_;
95 * There is no way to defer the commitment of the type for `body_` to
168 body_type body_;
193 * `headers_`, `body_`, and `trailers_` may only be default-constructed,
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_cfg_test.cpp60 std::string body_; member in spvtools::val::__anon00dc77db0111::Block
70 : label_(label), body_(), type_(type), successors_() {} in Block()
74 body_ = body; in SetBody()
79 body_ += body; in AppendBody()
87 if (!body_.empty()) { in operator std::string()
88 out << body_; in operator std::string()

12