Lines Matching refs:timer

39 static uv_timer_t timer;  variable
180 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files, 100, 0)); in fs_event_create_files()
215 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0)); in fs_event_unlink_files()
238 ASSERT_OK(uv_timer_start(&timer, fs_event_unlink_files, 1, 0)); in fs_event_cb_dir_multi_file()
241 uv_close((uv_handle_t*) &timer, close_cb); in fs_event_cb_dir_multi_file()
266 ASSERT_OK(uv_timer_start(&timer, fs_event_create_files_in_subdir, 100, 0)); in fs_event_create_files_in_subdir()
292 ASSERT_OK(uv_timer_start(&timer, in fs_event_unlink_files_in_subdir()
336 ASSERT_OK(uv_timer_start(&timer, in fs_event_cb_dir_multi_file_in_subdir()
343 uv_close((uv_handle_t*) &timer, close_cb); in fs_event_cb_dir_multi_file_in_subdir()
391 static void timer_cb_touch(uv_timer_t* timer) { in timer_cb_touch() argument
392 uv_close((uv_handle_t*)timer, NULL); in timer_cb_touch()
393 touch_file((char*) timer->data); in timer_cb_touch()
457 r = uv_timer_init(loop, &timer); in TEST_IMPL()
459 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
498 r = uv_timer_init(loop, &timer); in TEST_IMPL()
500 r = uv_timer_start(&timer, fs_event_del_dir, 100, 0); in TEST_IMPL()
541 r = uv_timer_init(loop, &timer); in TEST_IMPL()
543 r = uv_timer_start(&timer, fs_event_create_files_in_subdir, 100, 0); in TEST_IMPL()
606 r = uv_timer_init(loop, &timer); in TEST_IMPL()
608 r = uv_timer_start(&timer, timer_cb_file, 100, 0); in TEST_IMPL()
652 r = uv_timer_init(loop, &timer); in TEST_IMPL()
654 r = uv_timer_start(&timer, timer_cb_file, 100, 100); in TEST_IMPL()
708 r = uv_timer_init(loop, &timer); in TEST_IMPL()
710 r = uv_timer_start(&timer, timer_cb_exact, 100, 100); in TEST_IMPL()
731 uv_timer_t timer; in TEST_IMPL() local
735 timer.data = watchers; in TEST_IMPL()
741 ASSERT_OK(uv_timer_init(loop, &timer)); in TEST_IMPL()
742 ASSERT_OK(uv_timer_start(&timer, timer_cb_watch_twice, 10, 0)); in TEST_IMPL()
753 uv_timer_t timer; in TEST_IMPL() local
779 r = uv_timer_init(loop, &timer); in TEST_IMPL()
782 timer.data = "watch_file"; in TEST_IMPL()
783 r = uv_timer_start(&timer, timer_cb_touch, 1100, 0); in TEST_IMPL()
924 uv_timer_t timer; in TEST_IMPL() local
930 r = uv_timer_init(loop, &timer); in TEST_IMPL()
933 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
1038 r = uv_timer_init(loop, &timer); in TEST_IMPL()
1040 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
1045 uv_close((uv_handle_t*)&timer, close_cb); in TEST_IMPL()
1179 uv_timer_t timer; in TEST_IMPL() local
1193 timer.data = path; in TEST_IMPL()
1194 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in TEST_IMPL()
1195 ASSERT_OK(uv_timer_start(&timer, timer_cb_touch, 100, 0)); in TEST_IMPL()