Home
last modified time | relevance | path

Searched refs:idle_handle (Results 1 – 6 of 6) sorted by relevance

/libuv/test/
H A Dbenchmark-loop-count.c32 static uv_idle_t idle_handle; variable
61 uv_idle_stop(&idle_handle); in timer_cb()
70 uv_idle_init(loop, &idle_handle); in BENCHMARK_IMPL()
71 uv_idle_start(&idle_handle, idle_cb); in BENCHMARK_IMPL()
93 uv_idle_init(loop, &idle_handle); in BENCHMARK_IMPL()
94 uv_idle_start(&idle_handle, idle2_cb); in BENCHMARK_IMPL()
116 uv_idle_init(loop, &idle_handle); in BENCHMARK_IMPL()
117 idle_handle.data = &ticks; in BENCHMARK_IMPL()
118 uv_idle_start(&idle_handle, idle_alive_cb); in BENCHMARK_IMPL()
H A Dtest-idle.c26 static uv_idle_t idle_handle; variable
44 uv_close((uv_handle_t*) &idle_handle, close_cb); in timer_cb()
55 ASSERT_PTR_EQ(handle, &idle_handle); in idle_cb()
75 r = uv_idle_init(uv_default_loop(), &idle_handle); in TEST_IMPL()
77 r = uv_idle_start(&idle_handle, idle_cb); in TEST_IMPL()
108 ASSERT_OK(uv_idle_init(uv_default_loop(), &idle_handle)); in TEST_IMPL()
109 ASSERT_OK(uv_idle_start(&idle_handle, idle_stop)); in TEST_IMPL()
118 uv_close((uv_handle_t*) &idle_handle, close_cb); in TEST_IMPL()
H A Dtest-udp-send-hang-loop.c33 static uv_idle_t idle_handle; variable
48 CHECK_OBJECT(handle, uv_idle_t, idle_handle); in idle_cb()
54 uv_close((uv_handle_t*) &idle_handle, NULL); in idle_cb()
75 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); in send_cb()
80 ASSERT_OK(uv_idle_init(uv_default_loop(), &idle_handle)); in TEST_IMPL()
91 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); in TEST_IMPL()
H A Dtest-run-once.c27 static uv_idle_t idle_handle; variable
32 ASSERT_PTR_EQ(handle, &idle_handle); in idle_cb()
40 uv_idle_init(uv_default_loop(), &idle_handle); in TEST_IMPL()
41 uv_idle_start(&idle_handle, idle_cb); in TEST_IMPL()
H A Dtest-iouring-pollhup.c37 static uv_idle_t idle_handle; variable
57 uv_close((uv_handle_t*) &idle_handle, NULL); in read_data2()
83 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); in read_data()
93 ASSERT_OK(uv_idle_init(loop, &idle_handle)); in TEST_IMPL()
H A Dbenchmark-multi-accept.c79 uv_idle_t idle_handle; member
332 uv_idle_start(&ctx->idle_handle, cl_idle_cb); in cl_connect_cb()
338 struct client_ctx* ctx = container_of(handle, struct client_ctx, idle_handle); in cl_idle_cb()
340 uv_idle_stop(&ctx->idle_handle); in cl_idle_cb()
350 uv_close((uv_handle_t*) &ctx->idle_handle, NULL); in cl_close_cb()
400 ASSERT_OK(uv_idle_init(loop, &ctx->idle_handle)); in test_tcp()

Completed in 13 milliseconds