Home
last modified time | relevance | path

Searched refs:tcp_client (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-tcp-close-reset.c36 static uv_tcp_t tcp_client; variable
102 ASSERT((uv_tcp_t*)stream == &tcp_client); in read_cb2()
110 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2); in connect_cb()
111 do_write(&tcp_client); in connect_cb()
113 do_close(&tcp_client); in connect_cb()
120 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in write_cb()
127 ASSERT(handle == (uv_handle_t*) &tcp_client); in close_cb()
136 ASSERT(req->handle == (uv_stream_t*) &tcp_client); in shutdown_cb()
183 static void do_connect(uv_loop_t* loop, uv_tcp_t* tcp_client) { in do_connect() argument
189 r = uv_tcp_init(loop, tcp_client); in do_connect()
[all …]
H A Dtest-readable-on-eof.c26 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_EQ(uv_tcp_init(&loop, &tcp_client), 0); in TEST_IMPL()
97 &tcp_client, in TEST_IMPL()
H A Dbenchmark-tcp-write-batch.c38 static uv_tcp_t tcp_client; variable
58 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in connect_cb()
81 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in shutdown_cb()
92 ASSERT(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 Dtest-not-readable-nor-writable-on-read-error.c26 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(0 == uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL()
91 &tcp_client, in TEST_IMPL()
H A Dtest-tcp-write-after-connect.c28 uv_tcp_t tcp_client; variable
54 ASSERT(0 == 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 Dtest-tcp-write-to-half-open-connection.c36 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()
/netbsd-src/crypto/external/bsd/heimdal/dist/
H A DChangeLog.199961 * appl/test/tcp_client.c (proto): remove shadowing `context'
110 * appl/test/tcp_client.c: use client_doit
694 * appl/test/tcp_client.c: call freehostent
705 * appl/test/tcp_client.c: simplify by using krb5_err instead of
710 * appl/test/tcp_client.c: make v6 friendly and simplify
1163 * appl/test/tcp_client.c (proto): call krb5_sendauth with ccache
H A DChangeLog.19982578 * appl/test/tcp_client.c: try `mk_safe' and `mk_priv'