/netbsd/external/mit/libuv/dist/test/ |
H A D | test-timer.c | 128 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 D | test-fs-event.c | 166 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 D | test-metrics.c | 50 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 D | test-tcp-connect-timeout.c | 72 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 D | test-default-loop-close.c | 43 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 D | test-close-order.c | 64 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 D | test-active.c | 54 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 D | test-tcp-close-while-connecting.c | 82 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 D | test-timer-from-check.c | 55 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 D | test-timer-again.c | 111 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 D | test-threadpool-cancel.c | 188 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 D | test-run-nowait.c | 38 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | test-fork.c | 70 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 D | test-loop-configure.c | 34 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
|
H A D | test-fs-poll.c | 123 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 D | test-loop-alive.c | 50 uv_timer_start(&timer_handle, timer_cb, 100, 0); in TEST_IMPL()
|
H A D | test-walk-handles.c | 61 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
|
H A D | test-loop-stop.c | 55 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | benchmark-queue-work.c | 58 ASSERT_EQ(0, uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
H A D | test-loop-time.c | 59 r = uv_timer_start(&timer, cb, 1000, 0); /* 1 sec */ in TEST_IMPL()
|
H A D | test-loop-close.c | 42 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
/netbsd/external/mit/libuv/dist/docs/code/ref-timer/ |
H A D | main.c | 23 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 D | timer.c | 67 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 D | timer.rst | 19 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 D | main.c | 46 uv_timer_start(&tick, update, 200, 200); in main()
|