Home
last modified time | relevance | path

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

123

/netbsd/external/mit/libuv/dist/test/
H A Dtest-timer.c128 r = uv_timer_start(once, once_cb, i * 50, 0); in TEST_IMPL()
135 r = uv_timer_start(&repeat, repeat_cb, 100, 100); in TEST_IMPL()
141 r = uv_timer_start(&never, never_cb, 100, 100); in TEST_IMPL()
168 r = uv_timer_start(&once, never_cb, 86400 * 1000, 0); in TEST_IMPL()
170 r = uv_timer_start(&once, twice_cb, 10, 0); in TEST_IMPL()
218 ASSERT(0 == uv_timer_start(&handle_a, order_cb_a, 0, 0)); in TEST_IMPL()
220 ASSERT(0 == uv_timer_start(&handle_b, order_cb_b, 0, 0)); in TEST_IMPL()
231 ASSERT(0 == uv_timer_start(&handle_b, order_cb_b, 0, 0)); in TEST_IMPL()
234 ASSERT(0 == uv_timer_start(&handle_a, order_cb_a, 0, 0)); in TEST_IMPL()
256 ASSERT(0 == uv_timer_start(&tiny_timer, tiny_timer_cb, 1, 0)); in TEST_IMPL()
[all …]
H A Dtest-fs-event.c166 ASSERT(0 == uv_timer_start(&timer, in fs_event_create_files()
217 ASSERT(0 == uv_timer_start(&timer, fs_event_unlink_files, 1, 0)); in fs_event_cb_dir_multi_file()
430 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
539 r = uv_timer_start(&timer, timer_cb_file, 100, 0); in TEST_IMPL()
585 r = uv_timer_start(&timer, timer_cb_file, 100, 100); in TEST_IMPL()
641 r = uv_timer_start(&timer, timer_cb_exact, 100, 100); in TEST_IMPL()
714 r = uv_timer_start(&timer, timer_cb_touch, 1100, 0); in TEST_IMPL()
864 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
969 r = uv_timer_start(&timer, fs_event_create_files, 100, 0); in TEST_IMPL()
1134 ASSERT(0 == uv_timer_start(&timer, timer_cb_nop, 2, 0)); in TEST_IMPL()
[all …]
H A Dtest-metrics.c50 ASSERT_EQ(0, uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in TEST_IMPL()
79 ASSERT_EQ(0, uv_timer_start(&timer, timer_spin_cb, timeout, 0)); in metrics_routine_cb()
126 ASSERT_EQ(0, uv_timer_start(&timer, timer_noop_cb, 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-default-loop-close.c43 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 1, 0)); in TEST_IMPL()
52 ASSERT(0 == 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-tcp-close-while-connecting.c82 ASSERT(0 == uv_timer_start(&timer1_handle, timer1_cb, 1, 0)); in TEST_IMPL()
84 ASSERT(0 == uv_timer_start(&timer2_handle, timer2_cb, 86400 * 1000, 0)); in TEST_IMPL()
H A Dtest-timer-from-check.c55 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 50, 0)); in check_cb()
69 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 50, 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-threadpool-cancel.c188 ASSERT(0 == uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
224 ASSERT(0 == uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
270 ASSERT(0 == uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
323 ASSERT(0 == uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
H A Dtest-run-nowait.c38 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
H A Dtest-fork.c70 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 1, 0)); in run_timer_loop_once()
436 r = uv_timer_start(&timer, timer_cb_touch, 100, 0); in assert_watch_file_current_dir()
581 r = uv_timer_start(&timer, timer_cb_touch, 100, 0); in TEST_IMPL()
H A Dtest-loop-configure.c34 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
H A Dtest-fs-poll.c123 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 20, 0)); in poll_cb()
130 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 200, 0)); in poll_cb()
H A Dtest-loop-alive.c50 uv_timer_start(&timer_handle, timer_cb, 100, 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-stop.c55 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
H A Dbenchmark-queue-work.c58 ASSERT_EQ(0, uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
H A Dtest-loop-time.c59 r = uv_timer_start(&timer, cb, 1000, 0); /* 1 sec */ in TEST_IMPL()
H A Dtest-loop-close.c42 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
/netbsd/external/mit/libuv/dist/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()
/netbsd/external/mit/libuv/dist/src/
H A Dtimer.c67 int uv_timer_start(uv_timer_t* handle, in uv_timer_start() function
117 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again()
/netbsd/external/mit/libuv/dist/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…
/netbsd/external/mit/libuv/dist/docs/code/tty-gravity/
H A Dmain.c46 uv_timer_start(&tick, update, 200, 200); in main()

123