Lines Matching refs:loop
29 uv_stop(handle->loop); in timer_cb()
35 uv_loop_t loop; in TEST_IMPL() local
37 loop.data = &loop; in TEST_IMPL()
38 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
39 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL()
41 uv_timer_init(&loop, &timer_handle); in TEST_IMPL()
44 ASSERT_EQ(UV_EBUSY, uv_loop_close(&loop)); in TEST_IMPL()
46 uv_run(&loop, UV_RUN_DEFAULT); in TEST_IMPL()
49 r = uv_run(&loop, UV_RUN_DEFAULT); in TEST_IMPL()
52 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL()
53 ASSERT_OK(uv_loop_close(&loop)); in TEST_IMPL()
54 ASSERT_PTR_EQ(loop.data, (void*) &loop); in TEST_IMPL()
68 static uv_loop_t loop; in TEST_IMPL() local
70 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
71 ASSERT_OK(uv_queue_work(&loop, in TEST_IMPL()