Lines Matching +full:qemu +full:- +full:user +full:- +full:static
29 static uv_tcp_t tcp;
30 static uv_connect_t req;
31 static int connect_cb_calls;
32 static int close_cb_calls;
34 static uv_timer_t timer;
35 static int timer_close_cb_calls;
36 static int timer_cb_calls;
39 static void on_close(uv_handle_t* handle) { in on_close()
44 static void timer_close_cb(uv_handle_t* handle) { in timer_close_cb()
49 static void timer_cb(uv_timer_t* handle) { in timer_cb()
54 * but libuv hasn't automatically closed the socket. The user must in timer_cb()
68 static void on_connect_with_close(uv_connect_t *req, int status) { in on_connect_with_close()
69 ASSERT_PTR_EQ((uv_stream_t*) &tcp, req->handle); in on_connect_with_close()
74 uv_close((uv_handle_t*)req->handle, on_close); in on_connect_with_close()
78 static void on_connect_without_close(uv_connect_t *req, int status) { in on_connect_without_close()
88 static void connection_fail(uv_connect_cb connect_cb) { in connection_fail()
97 /* Try to connect to the server and do NUM_PINGS ping-pongs. */ in connection_fail()
102 * handles can be pre-initialized. */ in connection_fail()
123 /* TODO(gengjiawen): Fix test on QEMU. */ in TEST_IMPL()
125 RETURN_SKIP("Test does not currently work in QEMU"); in TEST_IMPL()
144 /* TODO(gengjiawen): Fix test on QEMU. */ in TEST_IMPL()
146 RETURN_SKIP("Test does not currently work in QEMU"); in TEST_IMPL()