Lines Matching refs:loop

47 static uv_loop_t* loop;  variable
154 loop = uv_default_loop(); in TEST_IMPL()
158 ASSERT_OK(uv_timer_init(loop, &timer_handle)); in TEST_IMPL()
159 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL()
161 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
167 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
175 loop = uv_default_loop(); in TEST_IMPL()
179 ASSERT_OK(uv_fs_poll_init(loop, &poll_handle)); in TEST_IMPL()
191 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()
195 MAKE_VALGRIND_HAPPY(loop); in TEST_IMPL()
201 uv_loop_t loop; in TEST_IMPL() local
206 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
208 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
212 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
215 MAKE_VALGRIND_HAPPY(&loop); in TEST_IMPL()
220 uv_loop_t loop; in TEST_IMPL() local
226 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
228 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
236 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
239 MAKE_VALGRIND_HAPPY(&loop); in TEST_IMPL()
244 uv_loop_t loop; in TEST_IMPL() local
250 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
252 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
260 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
263 MAKE_VALGRIND_HAPPY(&loop); in TEST_IMPL()
269 uv_loop_t loop; in TEST_IMPL() local
274 ASSERT_OK(uv_loop_init(&loop)); in TEST_IMPL()
277 ASSERT_OK(uv_fs_poll_init(&loop, &poll_handle)); in TEST_IMPL()
279 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
283 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
287 uv_run(&loop, UV_RUN_ONCE); in TEST_IMPL()
290 MAKE_VALGRIND_HAPPY(&loop); in TEST_IMPL()