HomeSort by: relevance | last modified time | path
    Searched defs:tcp_client (Results 1 - 6 of 6) sorted by relevancy

  /src/external/mit/libuv/dist/test/
test-tcp-write-after-connect.c 28 uv_tcp_t tcp_client; variable
54 ASSERT_OK(uv_tcp_init(&loop, &tcp_client));
57 &tcp_client,
63 (uv_stream_t *)&tcp_client,
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);
76 (uv_stream_t*) &tcp_client,
88 ASSERT_OK(uv_tcp_init(&loop, &tcp_client));
91 &tcp_client,
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);
77 read_cb((uv_stream_t*) &tcp_client, UV_EOF, NULL);
82 (uv_stream_t*) &tcp_client,
94 ASSERT_OK(uv_tcp_init(&loop, &tcp_client));
97 &tcp_client,
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);
124 r = uv_tcp_init(loop, &tcp_client);
128 &tcp_client,
benchmark-tcp-write-batch.c 38 static uv_tcp_t tcp_client; variable
58 ASSERT(req->handle == (uv_stream_t*)&tcp_client);
81 ASSERT(req->handle == (uv_stream_t*)&tcp_client);
92 ASSERT(handle == (uv_handle_t*)&tcp_client);
117 r = uv_tcp_init(loop, &tcp_client);
121 &tcp_client,
test-tcp-close-reset.c 36 static uv_tcp_t tcp_client; variable
106 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_client);
114 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2);
115 do_write(&tcp_client);
117 do_close(&tcp_client);
124 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client);
131 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp_client);
140 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_client);
187 static void do_connect(uv_loop_t* loop, uv_tcp_t* tcp_client) {
193 r = uv_tcp_init(loop, tcp_client);
    [all...]

Completed in 87 milliseconds