Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dbenchmark-loop-count.c31 static uv_idle_t idle_handle; variable
47 uv_idle_stop(&idle_handle); in timer_cb()
56 uv_idle_init(loop, &idle_handle); in BENCHMARK_IMPL()
57 uv_idle_start(&idle_handle, idle_cb); in BENCHMARK_IMPL()
79 uv_idle_init(loop, &idle_handle); in BENCHMARK_IMPL()
80 uv_idle_start(&idle_handle, idle2_cb); in BENCHMARK_IMPL()
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(0 == uv_idle_start(&idle_handle, idle_cb)); in send_cb()
80 ASSERT(0 == uv_idle_init(uv_default_loop(), &idle_handle)); in TEST_IMPL()
91 ASSERT(0 == uv_idle_start(&idle_handle, idle_cb)); in TEST_IMPL()
Dtest-run-once.c27 static uv_idle_t idle_handle; variable
32 ASSERT(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()
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(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()
Dtest-callback-order.c28 static uv_idle_t idle_handle; variable
52 uv_idle_init(loop, &idle_handle); in next_tick()
53 uv_idle_start(&idle_handle, idle_cb); in next_tick()
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(0 == uv_idle_init(loop, &ctx->idle_handle)); in test_tcp()