Lines Matching refs:uv_default_loop
119 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
123 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()
141 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL()
156 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
160 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
164 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()
187 ASSERT_OK(uv_poll_init(uv_default_loop(), &poll_handle, socket_fds[0])); in TEST_IMPL()
194 ASSERT_EQ(1, uv_run(uv_default_loop(), UV_RUN_NOWAIT)); in TEST_IMPL()
207 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
212 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
220 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
226 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
232 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()
261 ASSERT_OK(uv_signal_init(uv_default_loop(), &signal_handle)); in TEST_IMPL()
280 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_NOWAIT)); in TEST_IMPL()
286 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
289 ASSERT_NE(0, uv_loop_alive(uv_default_loop())); in TEST_IMPL()
291 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
295 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()
319 ASSERT_OK(uv_signal_init(uv_default_loop(), &signal_handle)); in TEST_IMPL()
343 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
351 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
353 ASSERT_NE(0, uv_loop_alive(uv_default_loop())); in TEST_IMPL()
374 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()
534 assert_watch_file_current_dir(uv_default_loop(), file_or_dir); in _do_fork_fs_events_child()
559 ASSERT_OK(uv_loop_fork(uv_default_loop())); in _do_fork_fs_events_child()
565 uv_update_time(uv_default_loop()); in _do_fork_fs_events_child()
566 assert_watch_file_current_dir(uv_default_loop(), file_or_dir); in _do_fork_fs_events_child()
572 ASSERT_OK(uv_loop_close(uv_default_loop())); in _do_fork_fs_events_child()
577 MAKE_VALGRIND_HAPPY(uv_default_loop()); in _do_fork_fs_events_child()
628 loop = uv_default_loop(); in TEST_IMPL()
732 assert_run_work(uv_default_loop()); in TEST_IMPL()
743 assert_run_work(uv_default_loop()); in TEST_IMPL()
754 ASSERT_OK(uv_loop_fork(uv_default_loop())); in TEST_IMPL()
755 assert_run_work(uv_default_loop()); in TEST_IMPL()
760 MAKE_VALGRIND_HAPPY(uv_default_loop()); in TEST_IMPL()