| /src/external/mit/libuv/dist/test/ |
| test-run-once.c | 27 static uv_idle_t idle_handle; variable 32 ASSERT_PTR_EQ(handle, &idle_handle); 40 uv_idle_init(uv_default_loop(), &idle_handle); local 41 uv_idle_start(&idle_handle, idle_cb);
|
| test-idle.c | 26 static uv_idle_t idle_handle; variable 44 uv_close((uv_handle_t*) &idle_handle, close_cb); 55 ASSERT_PTR_EQ(handle, &idle_handle); 75 r = uv_idle_init(uv_default_loop(), &idle_handle); 77 r = uv_idle_start(&idle_handle, idle_cb); 108 ASSERT_OK(uv_idle_init(uv_default_loop(), &idle_handle)); 109 ASSERT_OK(uv_idle_start(&idle_handle, idle_stop)); 118 uv_close((uv_handle_t*) &idle_handle, close_cb);
|
| benchmark-loop-count.c | 31 static uv_idle_t idle_handle; variable 47 uv_idle_stop(&idle_handle); 56 uv_idle_init(loop, &idle_handle); 57 uv_idle_start(&idle_handle, idle_cb); 79 uv_idle_init(loop, &idle_handle); 80 uv_idle_start(&idle_handle, idle2_cb);
|
| test-udp-send-hang-loop.c | 33 static uv_idle_t idle_handle; variable 48 CHECK_OBJECT(handle, uv_idle_t, idle_handle); 54 uv_close((uv_handle_t*) &idle_handle, NULL); 75 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); 80 ASSERT_OK(uv_idle_init(uv_default_loop(), &idle_handle)); 91 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb));
|
| test-iouring-pollhup.c | 37 static uv_idle_t idle_handle; variable 57 uv_close((uv_handle_t*) &idle_handle, NULL); 83 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); 93 ASSERT_OK(uv_idle_init(loop, &idle_handle));
|
| benchmark-multi-accept.c | 79 uv_idle_t idle_handle; member in struct:client_ctx 332 uv_idle_start(&ctx->idle_handle, cl_idle_cb); 338 struct client_ctx* ctx = container_of(handle, struct client_ctx, idle_handle); 340 uv_idle_stop(&ctx->idle_handle); 350 uv_close((uv_handle_t*) &ctx->idle_handle, NULL); 400 ASSERT(0 == uv_idle_init(loop, &ctx->idle_handle));
|