/libuv/test/ |
H A D | test-timer.c | 130 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 D | test-fs-event.c | 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() 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 D | test-default-loop-close.c | 43 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 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-loop-stop.c | 55 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 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-timer-from-check.c | 55 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 D | test-tcp-close-while-connecting.c | 82 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 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-run-nowait.c | 38 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | test-loop-configure.c | 34 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
|
H A D | test-threadpool-cancel.c | 224 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 D | test-metrics.c | 64 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 D | test-walk-handles.c | 61 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
|
H A D | test-loop-alive.c | 50 uv_timer_start(&timer_handle, timer_cb, 100, 0); in TEST_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 | benchmark-queue-work.c | 59 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
H A D | test-loop-close.c | 42 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | test-tcp-read-stop.c | 54 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); in connect_cb()
|
H A D | benchmark-million-timers.c | 61 ASSERT_OK(uv_timer_start(timers + i, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
/libuv/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()
|
/libuv/src/ |
H A D | timer.c | 68 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 D | main.c | 46 uv_timer_start(&tick, update, 200, 200); in main()
|
/libuv/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…
|