Searched refs:tcp_client (Results 1 – 6 of 6) sorted by relevance
/libuv/test/ |
H A D | test-tcp-close-reset.c | 36 static uv_tcp_t tcp_client; variable 106 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_client); in read_cb2() 115 do_write(&tcp_client); in connect_cb() 117 do_close(&tcp_client); in connect_cb() 193 r = uv_tcp_init(loop, tcp_client); in do_connect() 197 tcp_client, in do_connect() 217 do_connect(loop, &tcp_client); in TEST_IMPL() 244 do_connect(loop, &tcp_client); in TEST_IMPL() 271 do_connect(loop, &tcp_client); in TEST_IMPL() 298 do_connect(loop, &tcp_client); in TEST_IMPL() [all …]
|
H A D | test-readable-on-eof.c | 26 static uv_tcp_t tcp_client; variable 65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in read_cb() 77 read_cb((uv_stream_t*) &tcp_client, UV_EOF, NULL); in connect_cb() 82 (uv_stream_t*) &tcp_client, in connect_cb() 94 ASSERT_OK(uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL() 97 &tcp_client, in TEST_IMPL()
|
H A D | test-not-readable-nor-writable-on-read-error.c | 26 static uv_tcp_t tcp_client; variable 70 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in connect_cb() 76 (uv_stream_t*) &tcp_client, in connect_cb() 88 ASSERT_OK(uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL() 91 &tcp_client, in TEST_IMPL()
|
H A D | test-tcp-write-after-connect.c | 28 uv_tcp_t tcp_client; variable 54 ASSERT_OK(uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL() 57 &tcp_client, in TEST_IMPL() 63 (uv_stream_t *)&tcp_client, in TEST_IMPL()
|
H A D | benchmark-tcp-write-batch.c | 38 static uv_tcp_t tcp_client; variable 58 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in connect_cb() 81 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in shutdown_cb() 92 ASSERT_PTR_EQ(handle, (uv_handle_t*)&tcp_client); in close_cb() 117 r = uv_tcp_init(loop, &tcp_client); in BENCHMARK_IMPL() 121 &tcp_client, in BENCHMARK_IMPL()
|
H A D | test-tcp-write-to-half-open-connection.c | 36 static uv_tcp_t tcp_client; variable 95 uv_close((uv_handle_t*)&tcp_client, NULL); in connect_cb() 124 r = uv_tcp_init(loop, &tcp_client); in TEST_IMPL() 128 &tcp_client, in TEST_IMPL()
|
Completed in 10 milliseconds