Home
last modified time | relevance | path

Searched refs:uv_timer_start (Results 1 – 25 of 58) sorted by relevance

123

/libuv/test/
H A Dtest-timer.c130 r = uv_timer_start(once, once_cb, i * 50, 0); in TEST_IMPL()
137 r = uv_timer_start(&repeat, repeat_cb, 100, 100); in TEST_IMPL()
143 r = uv_timer_start(&never, never_cb, 100, 100); in TEST_IMPL()
170 r = uv_timer_start(&once, never_cb, 86400 * 1000, 0); in TEST_IMPL()
172 r = uv_timer_start(&once, twice_cb, 10, 0); in TEST_IMPL()
220 ASSERT_OK(uv_timer_start(&handle_a, order_cb_a, 0, 0)); in TEST_IMPL()
222 ASSERT_OK(uv_timer_start(&handle_b, order_cb_b, 0, 0)); in TEST_IMPL()
284 ASSERT_OK(uv_timer_start(&huge_timer1, in TEST_IMPL()
392 ASSERT_OK(uv_timer_start(&timer_handle, in TEST_IMPL()
414 ASSERT_OK(uv_timer_start(&timer_handle, in TEST_IMPL()
[all …]
H A Dtest-fs-event.c292 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()
459 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
500 r = uv_timer_start(&timer, fs_event_del_dir, 100, 0); in TEST_IMPL()
608 r = uv_timer_start(&timer, timer_cb_file, 100, 0); in TEST_IMPL()
654 r = uv_timer_start(&timer, timer_cb_file, 100, 100); in TEST_IMPL()
710 r = uv_timer_start(&timer, timer_cb_exact, 100, 100); in TEST_IMPL()
783 r = uv_timer_start(&timer, timer_cb_touch, 1100, 0); in TEST_IMPL()
933 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
1040 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
[all …]
H A Dtest-default-loop-close.c43 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1, 0)); in TEST_IMPL()
52 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1, 0)); in TEST_IMPL()
H A Dtest-close-order.c64 uv_timer_start(&timer_handle1, timer_cb, 0, 0); in TEST_IMPL()
66 uv_timer_start(&timer_handle2, timer_cb, 100000, 0); in TEST_IMPL()
H A Dtest-active.c54 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
66 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
H A Dtest-loop-stop.c55 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
77 ASSERT_OK(uv_timer_start(&timer_handle, (uv_timer_cb) abort, 0, 0)); in TEST_IMPL()
H A Dtest-tcp-connect-timeout.c72 r = uv_timer_start(&timer, timer_cb, 50, 0); in TEST_IMPL()
139 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
177 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
H A Dtest-timer-from-check.c55 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); in check_cb()
69 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); in TEST_IMPL()
H A Dtest-tcp-close-while-connecting.c82 ASSERT_OK(uv_timer_start(&timer1_handle, timer1_cb, 1, 0)); in TEST_IMPL()
84 ASSERT_OK(uv_timer_start(&timer2_handle, timer2_cb, 86400 * 1000, 0)); in TEST_IMPL()
H A Dtest-timer-again.c111 r = uv_timer_start(&repeat_1, repeat_1_cb, 50, 0); in TEST_IMPL()
125 r = uv_timer_start(&repeat_2, repeat_2_cb, 100, 100); in TEST_IMPL()
H A Dtest-run-nowait.c38 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
H A Dtest-loop-configure.c34 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
H A Dtest-threadpool-cancel.c224 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
260 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
306 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
359 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
H A Dtest-metrics.c64 ASSERT_OK(uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in TEST_IMPL()
93 ASSERT_OK(uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in metrics_routine_cb()
141 ASSERT_OK(uv_timer_start(&timer, timer_noop_cb, 0, 0)); in TEST_IMPL()
H A Dtest-walk-handles.c61 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
H A Dtest-loop-alive.c50 uv_timer_start(&timer_handle, timer_cb, 100, 0); in TEST_IMPL()
H A Dtest-loop-time.c59 r = uv_timer_start(&timer, cb, 1000, 0); /* 1 sec */ in TEST_IMPL()
H A Dbenchmark-queue-work.c59 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
H A Dtest-loop-close.c42 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
H A Dtest-tcp-read-stop.c54 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); in connect_cb()
H A Dbenchmark-million-timers.c61 ASSERT_OK(uv_timer_start(timers + i, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
/libuv/docs/code/ref-timer/
H A Dmain.c23 uv_timer_start(&gc_req, gc, 0, 2000); in main()
27 uv_timer_start(&fake_job_req, fake_job, 9000, 0); in main()
/libuv/src/
H A Dtimer.c68 int uv_timer_start(uv_timer_t* handle, in uv_timer_start() function
119 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again()
/libuv/docs/code/tty-gravity/
H A Dmain.c46 uv_timer_start(&tick, update, 200, 200); in main()
/libuv/docs/src/
H A Dtimer.rst19 Type definition for callback passed to :c:func:`uv_timer_start`.
37 .. c:function:: int uv_timer_start(uv_timer_t* handle, uv_timer_cb cb, uint64_t timeout, uint64_t r…

Completed in 35 milliseconds

123