Home
last modified time | relevance | path

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

/third_party/boost/libs/beast/test/beast/websocket/
Dread1.cpp35 stream<tcp::socket> ws2(ioc); in testTimeout() local
36 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
38 ws2.async_accept(test::success_handler()); in testTimeout()
44 ws2.async_read(b, test::success_handler()); in testTimeout()
50 stream<test::stream> ws2(ioc); in testTimeout() local
51 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
53 ws2.async_accept(test::success_handler()); in testTimeout()
59 ws2.async_read(b, test::success_handler()); in testTimeout()
67 stream<tcp::socket> ws2(ioc); in testTimeout() local
68 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
[all …]
Dtimer.cpp37 stream<tcp::socket> ws2(ioc); in testIdlePing() local
38 test::connect(ws1.next_layer(), ws2.next_layer()); in testIdlePing()
40 ws2.async_handshake("test", "/", test::success_handler()); in testIdlePing()
43 ws2.set_option(stream_base::timeout{ in testIdlePing()
58 ws2.async_read(b2, test::fail_handler( in testIdlePing()
70 stream<tcp::socket> ws2(ioc); in testIdlePing() local
71 test::connect(ws1.next_layer(), ws2.next_layer()); in testIdlePing()
73 ws2.async_handshake("test", "/", test::success_handler()); in testIdlePing()
76 ws2.set_option(stream_base::timeout{ in testIdlePing()
81 ws2.async_read(b, in testIdlePing()
[all …]
Dhandshake.cpp527 stream<tcp::socket> ws2(ioc); in testAsync() local
528 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
531 ws2.async_accept(test::success_handler()); in testAsync()
537 stream<test::stream> ws2(ioc); in testAsync() local
538 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
541 ws2.async_accept(test::success_handler()); in testAsync()
549 stream<tcp::socket> ws2(ioc); in testAsync() local
550 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
557 ws2.async_accept(test::success_handler()); in testAsync()
563 stream<test::stream> ws2(ioc); in testAsync() local
[all …]
Dclose.cpp187 stream<tcp::socket> ws2(ioc); in testTimeout() local
188 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
190 ws2.async_accept(test::success_handler()); in testTimeout()
194 ws2.async_close({}, test::success_handler()); in testTimeout()
200 stream<test::stream> ws2(ioc); in testTimeout() local
201 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
203 ws2.async_accept(test::success_handler()); in testTimeout()
207 ws2.async_close({}, test::success_handler()); in testTimeout()
215 stream<tcp::socket> ws2(ioc); in testTimeout() local
216 test::connect(ws1.next_layer(), ws2.next_layer()); in testTimeout()
[all …]
Daccept.cpp711 stream<tcp::socket> ws2(ioc); in testAsync() local
712 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
715 ws2.async_accept(test::success_handler()); in testAsync()
721 stream<test::basic_stream<net::io_context::executor_type>> ws2(ioc); in testAsync() local
722 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
725 ws2.async_accept(test::success_handler()); in testAsync()
733 stream<tcp::socket> ws2(ioc); in testAsync() local
734 test::connect(ws1.next_layer(), ws2.next_layer()); in testAsync()
741 ws2.async_handshake("test", "/", test::success_handler()); in testAsync()
747 stream<test::basic_stream<net::io_context::executor_type>> ws2(ioc); in testAsync() local
[all …]
Dping.cpp384 stream<socket_type> ws2(ioc); in testSuspend() local
391 ws2.next_layer()); in testSuspend()
394 ws2.async_accept([](error_code){}); in testSuspend()
410 ws2.async_read(b2, in testSuspend()
/third_party/musl/src/multibyte/
Dwcsrtombs.c5 const wchar_t *ws2; in wcsrtombs() local
9 for (n=0, ws2=*ws; *ws2; ws2++) { in wcsrtombs()
10 if (*ws2 >= 0x80u) { in wcsrtombs()
11 l = wcrtomb(buf, *ws2, 0); in wcsrtombs()
/third_party/boost/libs/process/test/
Dpipe.cpp311 bp::wpstream ws2(std::move(p));
313 ws2.pipe(std::move(ws1.pipe()));
318 ws2 = std::move(p2);
320 const bp::wpstream & ws2c = ws2;
327 bp::wpipebuf ws2(std::move(p));
329 ws2.pipe(std::move(ws1.pipe()));
334 ws2 = std::move(p2);
336 const bp::wpipebuf & ws2c = ws2;
/third_party/boost/libs/format/test/
Dformat_test_wstring.cpp34 std::wstring ws2 = (wfmt2 % 123.45f).str(); in main() local
35 BOOST_TEST_EQ(ws2.compare(L"123 %"), 0); in main()
/third_party/boost/libs/regex/example/timer/
Dregex_timer.cpp139 std::wstring ws1, ws2; in main() local
199 ws2.erase(); in main()
200 std::copy(s2.begin(), s2.end(), string_out_iterator<std::wstring>(ws2)); in main()
252 regex_search(ws2, wsm, wex); in main()
258 result = regex_search(ws2, wsm, wex); in main()
/third_party/python/Modules/
D_localemodule.c360 wchar_t *ws1 = NULL, *ws2 = NULL; in _locale_strcoll_impl() local
366 ws2 = PyUnicode_AsWideCharString(os2, NULL); in _locale_strcoll_impl()
367 if (ws2 == NULL) in _locale_strcoll_impl()
370 result = PyLong_FromLong(wcscoll(ws1, ws2)); in _locale_strcoll_impl()
374 if (ws2) PyMem_Free(ws2); in _locale_strcoll_impl()
/third_party/boost/libs/spirit/classic/test/
Dsymbols_tests.cpp106 symbols<std::string, wchar_t> ws2; in default_constructible() local
108 (void)ns1; (void)ws1; (void)ns2; (void)ws2; in default_constructible()
/third_party/boost/tools/quickbook/test/unit/
Dsymbols_tests.cpp87 symbols<std::string, wchar_t, quickbook::tst<std::string, wchar_t> > ws2; in default_constructible() local
92 (void)ws2; in default_constructible()
/third_party/boost/libs/filesystem/test/
Dpath_unit_test.cpp867 const std::wstring ws2(L"z9"); in test_codecvt_argument() local
884 path p2(ws2, cvt); in test_codecvt_argument()
885 NATIVE_IS(p2, s2, ws2); in test_codecvt_argument()
888 path p3(ws2.begin(), ws2.end(), cvt); in test_codecvt_argument()
889 NATIVE_IS(p3, s2, ws2); in test_codecvt_argument()
/third_party/flutter/flutter/packages/flutter_driver/lib/src/driver/
Ddriver.dart1144 WebSocket ws2;
1147 ws2 = await WebSocket.connect(webSocketUrl);
1150 ws2.done.whenComplete(() => _checkCloseCode(ws2));
1155 IOWebSocketChannel(ws2).cast(),
1161 await ws2?.close();
/third_party/boost/libs/asio/doc/
Dusing.qbk315 support (i.e. [^ws2_32.lib] and [^mswsock.lib], or [^ws2.lib] when
/third_party/libwebsockets/
DCMakeLists.txt841 list(APPEND LIB_LIST_AT_END ws2.lib)