Lines Matching refs:uv_handle_t
32 static void close_cb(uv_handle_t* handle) { in close_cb()
51 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
52 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer)); in TEST_IMPL()
57 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
58 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer)); in TEST_IMPL()
63 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
64 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer)); in TEST_IMPL()
69 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
70 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer)); in TEST_IMPL()
72 uv_close((uv_handle_t*) &timer, close_cb); in TEST_IMPL()
74 ASSERT_OK(uv_is_active((uv_handle_t*) &timer)); in TEST_IMPL()
75 ASSERT_EQ(1, uv_is_closing((uv_handle_t*) &timer)); in TEST_IMPL()