Home
last modified time | relevance | path

Searched refs:const_char_buffer (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/asio/test/ssl/
Dstream.cpp67 const char const_char_buffer[128] = ""; in test() local
119 stream1.handshake(ssl::stream_base::client, buffer(const_char_buffer)); in test()
120 stream1.handshake(ssl::stream_base::server, buffer(const_char_buffer)); in test()
126 buffer(const_char_buffer), ec); in test()
128 buffer(const_char_buffer), ec); in test()
142 buffer(const_char_buffer), buffered_handshake_handler); in test()
144 buffer(const_char_buffer), buffered_handshake_handler); in test()
152 buffer(const_char_buffer), lazy); in test()
155 buffer(const_char_buffer), lazy); in test()
166 stream1.write_some(buffer(const_char_buffer)); in test()
[all …]
/third_party/boost/libs/asio/test/generic/
Draw_protocol.cpp64 const char const_char_buffer[128] = ""; in test() local
172 socket1.send(buffer(const_char_buffer)); in test()
175 socket1.send(buffer(const_char_buffer), in_flags); in test()
178 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
182 socket1.async_send(buffer(const_char_buffer), send_handler); in test()
185 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
190 socket1.send_to(buffer(const_char_buffer), in test()
196 socket1.send_to(buffer(const_char_buffer), in test()
202 socket1.send_to(buffer(const_char_buffer), in test()
209 socket1.async_send_to(buffer(const_char_buffer), in test()
[all …]
Ddatagram_protocol.cpp64 const char const_char_buffer[128] = ""; in test() local
172 socket1.send(buffer(const_char_buffer)); in test()
175 socket1.send(buffer(const_char_buffer), in_flags); in test()
178 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
182 socket1.async_send(buffer(const_char_buffer), send_handler); in test()
185 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
190 socket1.send_to(buffer(const_char_buffer), in test()
196 socket1.send_to(buffer(const_char_buffer), in test()
202 socket1.send_to(buffer(const_char_buffer), in test()
209 socket1.async_send_to(buffer(const_char_buffer), in test()
[all …]
Dstream_protocol.cpp72 const char const_char_buffer[128] = ""; in test() local
188 socket1.send(buffer(const_char_buffer)); in test()
191 socket1.send(buffer(const_char_buffer), in_flags); in test()
194 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
198 socket1.async_send(buffer(const_char_buffer), send_handler); in test()
201 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
218 socket1.write_some(buffer(const_char_buffer)); in test()
221 socket1.write_some(buffer(const_char_buffer), ec); in test()
225 socket1.async_write_some(buffer(const_char_buffer), write_some_handler); in test()
Dseq_packet_protocol.cpp62 const char const_char_buffer[128] = ""; in test() local
168 socket1.send(buffer(const_char_buffer), in_flags); in test()
171 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
175 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
/third_party/boost/libs/asio/test/local/
Ddatagram_protocol.cpp57 const char const_char_buffer[128] = ""; in test() local
150 socket1.send(buffer(const_char_buffer)); in test()
153 socket1.send(buffer(const_char_buffer), in_flags); in test()
156 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
160 socket1.async_send(buffer(const_char_buffer), send_handler); in test()
163 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
168 socket1.send_to(buffer(const_char_buffer), in test()
174 socket1.send_to(buffer(const_char_buffer), in test()
180 socket1.send_to(buffer(const_char_buffer), in test()
187 socket1.async_send_to(buffer(const_char_buffer), in test()
[all …]
Dstream_protocol.cpp65 const char const_char_buffer[128] = ""; in test() local
158 socket1.send(buffer(const_char_buffer)); in test()
161 socket1.send(buffer(const_char_buffer), in_flags); in test()
164 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
168 socket1.async_send(buffer(const_char_buffer), send_handler); in test()
171 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); in test()
188 socket1.write_some(buffer(const_char_buffer)); in test()
191 socket1.write_some(buffer(const_char_buffer), ec); in test()
195 socket1.async_write_some(buffer(const_char_buffer), write_some_handler); in test()
/third_party/boost/libs/asio/test/ip/
Dicmp.cpp80 const char const_char_buffer[128] = ""; in test() local
244 socket1.send(buffer(const_char_buffer)); in test()
247 socket1.send(buffer(const_char_buffer), in_flags); in test()
250 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
254 socket1.async_send(buffer(const_char_buffer), send_handler()); in test()
257 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler()); in test()
261 int i4 = socket1.async_send(buffer(const_char_buffer), lazy); in test()
267 int i7 = socket1.async_send(buffer(const_char_buffer), in_flags, lazy); in test()
276 socket1.send_to(buffer(const_char_buffer), in test()
278 socket1.send_to(buffer(const_char_buffer), in test()
[all …]
Dudp.cpp96 const char const_char_buffer[128] = ""; in test() local
267 socket1.send(buffer(const_char_buffer)); in test()
270 socket1.send(buffer(const_char_buffer), in_flags); in test()
273 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
277 socket1.async_send(buffer(const_char_buffer), send_handler()); in test()
280 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler()); in test()
284 int i5 = socket1.async_send(buffer(const_char_buffer), lazy); in test()
290 int i8 = socket1.async_send(buffer(const_char_buffer), in_flags, lazy); in test()
299 socket1.send_to(buffer(const_char_buffer), in test()
301 socket1.send_to(buffer(const_char_buffer), in test()
[all …]
Dtcp.cpp227 const char const_char_buffer[128] = ""; in test() local
232 boost::asio::buffer(const_char_buffer, 10), in test()
233 boost::asio::buffer(const_char_buffer + 10, 10) }}; in test()
404 socket1.send(buffer(const_char_buffer)); in test()
409 socket1.send(buffer(const_char_buffer), in_flags); in test()
414 socket1.send(buffer(const_char_buffer), in_flags, ec); in test()
420 socket1.async_send(buffer(const_char_buffer), send_handler()); in test()
425 socket1.async_send(buffer(const_char_buffer), in_flags, send_handler()); in test()
431 int i5 = socket1.async_send(buffer(const_char_buffer), lazy); in test()
441 int i10 = socket1.async_send(buffer(const_char_buffer), in_flags, lazy); in test()
[all …]
/third_party/boost/libs/asio/test/windows/
Dstream_handle.cpp52 const char const_char_buffer[128] = ""; in test() local
116 handle1.write_some(buffer(const_char_buffer)); in test()
118 handle1.write_some(buffer(const_char_buffer), ec); in test()
121 handle1.async_write_some(buffer(const_char_buffer), &write_some_handler); in test()
124 int i2 = handle1.async_write_some(buffer(const_char_buffer), lazy); in test()
Drandom_access_handle.cpp52 const char const_char_buffer[128] = ""; in test() local
117 handle1.write_some_at(offset, buffer(const_char_buffer)); in test()
119 handle1.write_some_at(offset, buffer(const_char_buffer), ec); in test()
124 buffer(const_char_buffer), &write_some_handler); in test()
129 buffer(const_char_buffer), lazy); in test()
/third_party/boost/libs/asio/test/
Dserial_port.cpp65 const char const_char_buffer[128] = ""; in test() local
141 port1.write_some(buffer(const_char_buffer)); in test()
143 port1.write_some(buffer(const_char_buffer), ec); in test()
146 port1.async_write_some(buffer(const_char_buffer), write_some_handler()); in test()
149 int i2 = port1.async_write_some(buffer(const_char_buffer), lazy); in test()
Dbuffered_write_stream.cpp68 const char const_char_buffer[128] = ""; in test_compile() local
73 boost::asio::buffer(const_char_buffer, 10), in test_compile()
74 boost::asio::buffer(const_char_buffer + 10, 10) }}; in test_compile()
88 stream1.write_some(buffer(const_char_buffer)); in test_compile()
93 stream1.write_some(buffer(const_char_buffer), ec); in test_compile()
99 stream1.async_write_some(buffer(const_char_buffer), &write_some_handler); in test_compile()
105 int i2 = stream1.async_write_some(buffer(const_char_buffer), lazy); in test_compile()
Dbuffered_read_stream.cpp68 const char const_char_buffer[128] = ""; in test_compile() local
73 boost::asio::buffer(const_char_buffer, 10), in test_compile()
74 boost::asio::buffer(const_char_buffer + 10, 10) }}; in test_compile()
88 stream1.write_some(buffer(const_char_buffer)); in test_compile()
93 stream1.write_some(buffer(const_char_buffer), ec); in test_compile()
99 stream1.async_write_some(buffer(const_char_buffer), &write_some_handler); in test_compile()
105 int i2 = stream1.async_write_some(buffer(const_char_buffer), lazy); in test_compile()
Dbuffered_stream.cpp72 const char const_char_buffer[128] = ""; in test_compile() local
77 boost::asio::buffer(const_char_buffer, 10), in test_compile()
78 boost::asio::buffer(const_char_buffer + 10, 10) }}; in test_compile()
92 stream1.write_some(buffer(const_char_buffer)); in test_compile()
97 stream1.write_some(buffer(const_char_buffer), ec); in test_compile()
103 stream1.async_write_some(buffer(const_char_buffer), &write_some_handler); in test_compile()
109 int i2 = stream1.async_write_some(buffer(const_char_buffer), lazy); in test_compile()
/third_party/boost/libs/asio/test/posix/
Dstream_descriptor.cpp56 const char const_char_buffer[128] = ""; in test() local
139 descriptor1.write_some(buffer(const_char_buffer)); in test()
142 descriptor1.write_some(buffer(const_char_buffer), ec); in test()
147 descriptor1.async_write_some(buffer(const_char_buffer), in test()
153 int i3 = descriptor1.async_write_some(buffer(const_char_buffer), lazy); in test()