/libuv/test/ |
H A D | test-default-loop-close.c | 29 static void timer_cb(uv_timer_t* timer) { in timer_cb() function 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-tcp-connect-timeout.c | 36 static void timer_cb(uv_timer_t* handle); 47 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 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-close-order.c | 51 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 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 | 38 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 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-timer-from-check.c | 43 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 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-run-nowait.c | 29 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 38 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | test-loop-configure.c | 19 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 34 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
|
H A D | test-walk-handles.c | 44 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 61 r = uv_timer_start(&timer, timer_cb, 1, 0); in TEST_IMPL()
|
H A D | test-loop-alive.c | 27 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 50 uv_timer_start(&timer_handle, timer_cb, 100, 0); in TEST_IMPL()
|
H A D | benchmark-queue-work.c | 46 static void timer_cb(uv_timer_t* handle) { done = 1; } in timer_cb() function 59 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
H A D | test-loop-close.c | 27 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 42 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | test-tcp-read-stop.c | 41 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 54 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); in connect_cb()
|
H A D | test-loop-stop.c | 40 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 55 uv_timer_start(&timer_handle, timer_cb, 100, 100); in TEST_IMPL()
|
H A D | benchmark-million-timers.c | 31 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 61 ASSERT_OK(uv_timer_start(timers + i, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
H A D | test-fs-poll.c | 29 static void timer_cb(uv_timer_t* handle); 78 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 123 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 20, 0)); in poll_cb() 130 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 200, 0)); in poll_cb()
|
H A D | test-connection-fail.c | 49 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 82 uv_timer_start(&timer, timer_cb, 100, 0); in on_connect_without_close()
|
H A D | benchmark-loop-count.c | 60 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 97 uv_timer_start(&timer_handle, timer_cb, 5000, 0); in BENCHMARK_IMPL()
|
H A D | benchmark-million-async.c | 59 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 101 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
|
H A D | test-idle.c | 41 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 87 r = uv_timer_start(&timer_handle, timer_cb, 50, 0); in TEST_IMPL()
|
H A D | test-tcp-shutdown-after-write.c | 61 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 115 r = uv_timer_start(&timer, timer_cb, 125, 0); in TEST_IMPL()
|
H A D | test-tcp-unexpected-read.c | 41 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 95 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1000, 0)); in TEST_IMPL()
|
H A D | test-tcp-write-queue-order.c | 49 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 93 ASSERT_OK(uv_timer_start(&timer, timer_cb, 1000, 0)); in connection_cb()
|
H A D | test-threadpool-cancel.c | 163 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 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-callback-stack.c | 107 static void timer_cb(uv_timer_t* handle) { in timer_cb() function 140 r = uv_timer_start(&timer, timer_cb, 500, 0); in write_cb()
|
/libuv/src/ |
H A D | timer.c | 60 handle->timer_cb = NULL; in uv_timer_init() 83 handle->timer_cb = cb; in uv_timer_start() 114 if (handle->timer_cb == NULL) in uv_timer_again() 119 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again() 193 handle->timer_cb(handle); in uv__run_timers()
|