Home
last modified time | relevance | path

Searched refs:const_buffer (Results 1 – 25 of 234) sorted by relevance

12345678910

/third_party/boost/libs/beast/test/beast/http/
Dtype_traits.cpp30 net::const_buffer>::value);
38 net::const_buffer
47 buffers_cat_view<net::const_buffer, chunk_crlf>
51 buffers_type<buffers_cat_view<net::const_buffer, chunk_crlf>>,
52 net::const_buffer>::value);
55 buffers_type<buffers_cat_view<net::const_buffer, chunk_crlf>>,
58 using bs_t = buffers_suffix<buffers_cat_view<net::const_buffer, chunk_crlf>>;
62 net::const_buffer>::value);
70 net::const_buffer>::value);
83 net::const_buffer,
[all …]
/third_party/boost/libs/beast/test/beast/core/
Dbuffer_traits.cpp26 operator net::const_buffer() const noexcept in operator net::const_buffer()
63 net::const_buffer
67 net::const_buffer, net::const_buffer
71 net::const_buffer, net::mutable_buffer
79 net::const_buffer const&
83 net::const_buffer const&, net::const_buffer const&
87 net::const_buffer const&, net::mutable_buffer const&
104 net::const_buffer, net::const_buffer
108 net::const_buffer, net::mutable_buffer
122 std::is_same<net::const_buffer, buffers_type<
[all …]
Dbuffers_cat.cpp38 net::const_buffer(&c[0], 1), in testDefaultIterators()
39 net::const_buffer(&c[1], 1)); in testDefaultIterators()
76 net::const_buffer b1(s.data(), 6); in testBufferSequence()
77 net::const_buffer b2( in testBufferSequence()
104 net::const_buffer b1{"He", 2}; in testExceptions()
105 net::const_buffer b2{"llo,", 4}; in testExceptions()
106 net::const_buffer b3{" world!", 7}; in testExceptions()
159 using value_type = net::const_buffer; in testEmpty()
179 net::const_buffer b0{}; in testEmpty()
180 net::const_buffer b1{"He", 2}; in testEmpty()
[all …]
Dbuffers_suffix.cpp41 std::array<net::const_buffer, 3> b{{ in testBufferSequence()
42 net::const_buffer(src.data(), 3), in testBufferSequence()
43 net::const_buffer(src.data() + 3, 4), in testBufferSequence()
44 net::const_buffer(src.data() + 7, 6) }}; in testBufferSequence()
56 : public net::const_buffer in testSpecial()
60 : net::const_buffer("\r\n", 2) in testSpecial()
74 net::const_buffer, in testSpecial()
75 net::const_buffer>> cb( in testSpecial()
77 net::const_buffer("\r", 1), in testSpecial()
78 net::const_buffer("\n", 1)); in testSpecial()
[all …]
Dflat_stream.cpp70 BEAST_EXPECT(s.write_some(net::const_buffer{}) == 0); in testMembers()
71 BEAST_EXPECT(s.write_some(net::const_buffer{}, ec) == 0); in testMembers()
102 s.async_write_some(net::const_buffer{}, in testMembers()
117 std::array<net::const_buffer, 3> bs; in testMembers()
118 bs[0] = net::const_buffer(b, 100); in testMembers()
119 bs[1] = net::const_buffer(b + 100, 200); in testMembers()
120 bs[2] = net::const_buffer(b + 100 + 200, 300); in testMembers()
132 std::array<net::const_buffer, 2> bs; in testMembers()
133 bs[0] = net::const_buffer(b, in testMembers()
135 bs[1] = net::const_buffer(b + bs[0].size(), 1024); in testMembers()
[all …]
Dbuffers_prefix.cpp43 net::const_buffer cb_; in testInPlaceInit()
47 net::const_buffer const*; in testInPlaceInit()
75 buffers_prefix_view<net::const_buffer> v( in testInPlaceInit()
131 std::array<net::const_buffer, 2> v; in testBuffersFront()
133 v[1] = net::const_buffer("Hello, world!", 13); in testBuffersFront()
141 net::const_buffer b; in testBuffersFront()
142 using iterator = net::const_buffer const*; in testBuffersFront()
162 testPrefixes<net::const_buffer>(); in run()
Dbuffers_range.cpp26 std::declval<net::const_buffer>()))>::value);
36 std::declval<net::const_buffer>()))>::value);
64 BEAST_EXPECT(&buffers_range_test::buffer_sequence_size<net::const_buffer>); in testJavadocs()
65 BEAST_EXPECT(&buffers_range_test::buffer_sequence_size_ref<net::const_buffer>); in testJavadocs()
74 net::const_buffer{s.data(), s.size()})); in testBufferSequence()
Dstatic_buffer.cpp150 net::const_buffer(*it1).data() > in testMembers()
151 net::const_buffer(*it2).data()); in testMembers()
159 net::const_buffer(*it1).data() > in testMembers()
160 net::const_buffer(*it2).data()); in testMembers()
167 net::const_buffer(*it1).data() > in testMembers()
168 net::const_buffer(*it2).data()); in testMembers()
/third_party/boost/libs/asio/test/
Dbuffers_iterator.cpp57 const_buffer cb1 = buffer(cdata1); in test()
58 array<const_buffer, 2> cb2 = {{ buffer(cdata1), buffer(cdata2) }}; in test()
59 vector<const_buffer> cb3; in test()
71 buffers_iterator<const_buffer, char> bi7; in test()
72 buffers_iterator<const_buffer, const char> bi8; in test()
73 buffers_iterator<array<const_buffer, 2>, char> bi9; in test()
74 buffers_iterator<array<const_buffer, 2>, const char> bi10; in test()
75 buffers_iterator<vector<const_buffer>, char> bi11; in test()
76 buffers_iterator<vector<const_buffer>, const char> bi12; in test()
90 buffers_iterator<const_buffer, char> bi19( in test()
[all …]
Dbuffer.cpp63 std::vector<const_buffer> const_buffer_sequence; in test()
109 const_buffer cb1; in test()
110 const_buffer cb2(const_void_ptr_data, 1024); in test()
111 const_buffer cb3(cb1); in test()
113 const_buffer cb4(mb1); in test()
402 const_buffer cb1 = boost::asio::buffer(source_data); in test()
462 std::vector<const_buffer> cv1; in test()
597 typedef const_buffer* const_iterator;
598 typedef const_buffer value_type;
599 const_buffer* begin() const { return 0; } in begin()
[all …]
/third_party/boost/libs/beast/include/boost/beast/http/detail/
Dchunk_encode.hpp28 virtual net::const_buffer str() = 0;
46 net::const_buffer
90 net::const_buffer b;
106 using value_type = net::const_buffer;
138 net::const_buffer const&
141 static net::const_buffer const cb{"\r\n", 2}; in chunk_crlf()
147 net::const_buffer const&
150 static net::const_buffer const cb{"0\r\n", 3}; in chunk_last()
168 net::const_buffer() const
187 using value_type = net::const_buffer;
/third_party/boost/boost/beast/http/detail/
Dchunk_encode.hpp28 virtual net::const_buffer str() = 0;
46 net::const_buffer
90 net::const_buffer b;
106 using value_type = net::const_buffer;
138 net::const_buffer const&
141 static net::const_buffer const cb{"\r\n", 2}; in chunk_crlf()
147 net::const_buffer const&
150 static net::const_buffer const cb{"0\r\n", 3}; in chunk_last()
168 net::const_buffer() const
187 using value_type = net::const_buffer;
/third_party/boost/libs/asio/include/boost/asio/ssl/
Dcontext.hpp289 BOOST_ASIO_DECL void add_certificate_authority(const const_buffer& ca);
304 const const_buffer& ca, boost::system::error_code& ec);
379 const const_buffer& certificate, file_format format);
394 const const_buffer& certificate, file_format format,
440 BOOST_ASIO_DECL void use_certificate_chain(const const_buffer& chain);
455 const const_buffer& chain, boost::system::error_code& ec);
499 const const_buffer& private_key, file_format format);
514 const const_buffer& private_key, file_format format,
562 const const_buffer& private_key, file_format format);
578 const const_buffer& private_key, file_format format,
[all …]
/third_party/boost/boost/asio/ssl/
Dcontext.hpp289 BOOST_ASIO_DECL void add_certificate_authority(const const_buffer& ca);
304 const const_buffer& ca, boost::system::error_code& ec);
379 const const_buffer& certificate, file_format format);
394 const const_buffer& certificate, file_format format,
440 BOOST_ASIO_DECL void use_certificate_chain(const const_buffer& chain);
455 const const_buffer& chain, boost::system::error_code& ec);
499 const const_buffer& private_key, file_format format);
514 const const_buffer& private_key, file_format format,
562 const const_buffer& private_key, file_format format);
578 const const_buffer& private_key, file_format format,
[all …]
/third_party/boost/libs/beast/include/boost/beast/http/
Dserializer.hpp132 net::const_buffer, // chunk-ext
140 net::const_buffer, // chunk-ext
148 net::const_buffer, // chunk-size
152 net::const_buffer, // chunk-final
153 net::const_buffer, // trailers
160 net::const_buffer, // chunk-ext
164 net::const_buffer, // chunk-final
165 net::const_buffer, // trailers
170 net::const_buffer, // chunk-final
171 net::const_buffer, // trailers
/third_party/boost/boost/beast/http/
Dserializer.hpp132 net::const_buffer, // chunk-ext
140 net::const_buffer, // chunk-ext
148 net::const_buffer, // chunk-size
152 net::const_buffer, // chunk-final
153 net::const_buffer, // trailers
160 net::const_buffer, // chunk-ext
164 net::const_buffer, // chunk-final
165 net::const_buffer, // trailers
170 net::const_buffer, // chunk-final
171 net::const_buffer, // trailers
/third_party/boost/libs/asio/include/boost/asio/
Dbuffer.hpp72 class const_buffer;
227 class const_buffer class
231 const_buffer() BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
238 const_buffer(const void* data, std::size_t size) BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
245 const_buffer(const mutable_buffer& b) BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
255 const_buffer(const void* data, std::size_t size, in const_buffer() function in boost::asio::const_buffer
286 const_buffer& operator+=(std::size_t n) BOOST_ASIO_NOEXCEPT in operator +=()
308 : public const_buffer
312 typedef const_buffer value_type;
315 typedef const const_buffer* const_iterator;
[all …]
/third_party/boost/boost/asio/
Dbuffer.hpp72 class const_buffer;
227 class const_buffer class
231 const_buffer() BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
238 const_buffer(const void* data, std::size_t size) BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
245 const_buffer(const mutable_buffer& b) BOOST_ASIO_NOEXCEPT in const_buffer() function in boost::asio::const_buffer
255 const_buffer(const void* data, std::size_t size, in const_buffer() function in boost::asio::const_buffer
286 const_buffer& operator+=(std::size_t n) BOOST_ASIO_NOEXCEPT in operator +=()
308 : public const_buffer
312 typedef const_buffer value_type;
315 typedef const const_buffer* const_iterator;
[all …]
/third_party/boost/libs/beast/test/doc/
Dcore_1_refresher.cpp35 net::const_buffer cb("Hello, world!", 13); in snippets()
48 net::const_buffer b1; // a ConstBufferSequence by definition in snippets()
50 std::array<net::const_buffer, 3> b3; // A ConstBufferSequence by named requirements in snippets()
56 net::async_write(sock, net::const_buffer("Hello, world!", 13), in snippets()
71 net::const_buffer("Hello, world!", 13), net::use_future); in snippets()
80 net::const_buffer("Hello, world!", 13), yield); in snippets()
107 net::const_buffer buffer = *it++; in string_from_buffers()
210 net::const_buffer cb("Hello, world!", 13); in hello()
226 net::const_buffer cb("Hello, world!", 13); in hello()
403 std::string(*)(net::const_buffer const&)>( in run()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dbuffer_traits.hpp35 net::const_buffer>
37 using type = net::const_buffer const*;
52 operator()(net::const_buffer b) const noexcept in operator ()()
54 return net::const_buffer(b).size(); in operator ()()
87 if(net::const_buffer(*it).size() > 0) in buffers_empty()
/third_party/boost/boost/beast/core/detail/
Dbuffer_traits.hpp35 net::const_buffer>
37 using type = net::const_buffer const*;
52 operator()(net::const_buffer b) const noexcept in operator ()()
54 return net::const_buffer(b).size(); in operator ()()
87 if(net::const_buffer(*it).size() > 0) in buffers_empty()
/third_party/boost/libs/asio/example/cpp11/buffers/
Dreference_counted.cpp32 typedef boost::asio::const_buffer value_type;
33 typedef const boost::asio::const_buffer* const_iterator;
34 const boost::asio::const_buffer* begin() const { return &buffer_; } in begin()
35 const boost::asio::const_buffer* end() const { return &buffer_ + 1; } in end()
39 boost::asio::const_buffer buffer_;
/third_party/boost/doc/html/boost_asio/example/cpp11/buffers/
Dreference_counted.cpp32 typedef boost::asio::const_buffer value_type;
33 typedef const boost::asio::const_buffer* const_iterator;
34 const boost::asio::const_buffer* begin() const { return &buffer_; } in begin()
35 const boost::asio::const_buffer* end() const { return &buffer_ + 1; } in end()
39 boost::asio::const_buffer buffer_;
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dbuffers_prefix.hpp41 net::const_buffer>::type;
254 class buffers_prefix_view<net::const_buffer>
255 : public net::const_buffer
258 using net::const_buffer::const_buffer;
264 net::const_buffer buffer) in buffers_prefix_view()
265 : net::const_buffer( in buffers_prefix_view()
281 net::const_buffer( in buffers_prefix_view()
/third_party/boost/boost/beast/core/impl/
Dbuffers_prefix.hpp41 net::const_buffer>::type;
254 class buffers_prefix_view<net::const_buffer>
255 : public net::const_buffer
258 using net::const_buffer::const_buffer;
264 net::const_buffer buffer) in buffers_prefix_view()
265 : net::const_buffer( in buffers_prefix_view()
281 net::const_buffer( in buffers_prefix_view()

12345678910