/libuv/src/ |
H A D | timer.c | 40 const uv_timer_t* a; in timer_less_than() 41 const uv_timer_t* b; in timer_less_than() 43 a = container_of(ha, uv_timer_t, node.heap); in timer_less_than() 44 b = container_of(hb, uv_timer_t, node.heap); in timer_less_than() 58 int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle) { in uv_timer_init() 68 int uv_timer_start(uv_timer_t* handle, in uv_timer_start() 98 int uv_timer_stop(uv_timer_t* handle) { in uv_timer_stop() 113 int uv_timer_again(uv_timer_t* handle) { in uv_timer_again() 146 const uv_timer_t* handle; in uv__next_timeout() 167 uv_timer_t* handle; in uv__run_timers() [all …]
|
/libuv/test/ |
H A D | test-timer.c | 36 static uv_timer_t tiny_timer; 117 uv_timer_t *once; in TEST_IMPL() 118 uv_timer_t repeat, never; in TEST_IMPL() 165 uv_timer_t once; in TEST_IMPL() 185 uv_timer_t handle; in TEST_IMPL() 210 uv_timer_t handle_a; in TEST_IMPL() 211 uv_timer_t handle_b; in TEST_IMPL() 254 uv_timer_t timer; in TEST_IMPL() 333 uv_timer_t timer_handle; in TEST_IMPL() 353 uv_timer_t handle; in TEST_IMPL() [all …]
|
H A D | test-tcp-close-while-connecting.c | 25 static uv_timer_t timer1_handle; 26 static uv_timer_t timer2_handle; 53 static void timer1_cb(uv_timer_t* handle) { in timer1_cb() 60 static void timer2_cb(uv_timer_t* handle) { in timer2_cb()
|
H A D | test-timer-again.c | 32 static uv_timer_t dummy, repeat_1, repeat_2; 44 static void repeat_1_cb(uv_timer_t* handle) { in repeat_1_cb() 48 ASSERT_EQ(50, uv_timer_get_repeat((uv_timer_t*)handle)); in repeat_1_cb() 69 static void repeat_2_cb(uv_timer_t* handle) { in repeat_2_cb()
|
H A D | test-close-order.c | 30 static uv_timer_t timer_handle1; 31 static uv_timer_t timer_handle2; 51 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-run-nowait.c | 25 static uv_timer_t timer_handle; 29 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-loop-configure.c | 19 static void timer_cb(uv_timer_t* handle) { in timer_cb() 25 uv_timer_t timer_handle; in TEST_IMPL()
|
H A D | test-default-loop-close.c | 29 static void timer_cb(uv_timer_t* timer) { in timer_cb() 37 uv_timer_t timer_handle; in TEST_IMPL()
|
H A D | test-fs-event.c | 39 static uv_timer_t timer; 170 static void fs_event_create_files(uv_timer_t* handle) { in fs_event_create_files() 184 static void fs_event_del_dir(uv_timer_t* handle) { in fs_event_del_dir() 380 static void timer_cb_file(uv_timer_t* handle) { in timer_cb_file() 391 static void timer_cb_touch(uv_timer_t* timer) { in timer_cb_touch() 397 static void timer_cb_exact(uv_timer_t* handle) { in timer_cb_exact() 731 uv_timer_t timer; in TEST_IMPL() 753 uv_timer_t timer; in TEST_IMPL() 907 static void timer_cb(uv_timer_t* handle) { in timer_cb() 924 uv_timer_t timer; in TEST_IMPL() [all …]
|
H A D | test-walk-handles.c | 30 static uv_timer_t timer; 44 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-loop-alive.c | 25 static uv_timer_t timer_handle; 27 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-loop-time.c | 37 static void cb(uv_timer_t* timer) { in cb() 43 uv_timer_t timer; in TEST_IMPL()
|
H A D | benchmark-queue-work.c | 46 static void timer_cb(uv_timer_t* handle) { done = 1; } in timer_cb() 50 uv_timer_t timer_handle; in BENCHMARK_IMPL()
|
H A D | test-loop-close.c | 25 static uv_timer_t timer_handle; 27 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-tcp-read-stop.c | 25 static uv_timer_t timer_handle; 41 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-tcp-reuseport.c | 76 static uv_timer_t thread_timer_handle1; 77 static uv_timer_t thread_timer_handle2; 83 static void ticktack(uv_timer_t* timer) { in ticktack() 152 uv_timer_t* timer; in run_event_loop()
|
H A D | test-active.c | 38 static void timer_cb(uv_timer_t* handle) { in timer_cb() 45 uv_timer_t timer; in TEST_IMPL()
|
H A D | test-loop-stop.c | 26 static uv_timer_t timer_handle; 40 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-tcp-connect-timeout.c | 32 static uv_timer_t timer; 36 static void timer_cb(uv_timer_t* handle); 47 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
H A D | test-delayed-accept.c | 48 static void do_accept(uv_timer_t* timer_handle) { in do_accept() 80 uv_timer_t* timer_handle; in connection_cb() 84 timer_handle = (uv_timer_t*)malloc(sizeof *timer_handle); in connection_cb()
|
H A D | test-metrics.c | 40 static void timer_spin_cb(uv_timer_t* handle) { in timer_spin_cb() 55 uv_timer_t timer; in TEST_IMPL() 83 uv_timer_t timer; in metrics_routine_cb() 127 static void timer_noop_cb(uv_timer_t* handle) { in timer_noop_cb() 134 uv_timer_t timer; in TEST_IMPL()
|
H A D | test-timer-from-check.c | 27 static uv_timer_t timer_handle; 43 static void timer_cb(uv_timer_t* handle) { in timer_cb()
|
/libuv/docs/code/ref-timer/ |
H A D | main.c | 6 uv_timer_t gc_req; 7 uv_timer_t fake_job_req; 9 void gc(uv_timer_t *handle) { in gc() 13 void fake_job(uv_timer_t *handle) { in fake_job()
|
/libuv/docs/src/ |
H A D | timer.rst | 4 :c:type:`uv_timer_t` --- Timer handle 13 .. c:type:: uv_timer_t 17 .. c:type:: void (*uv_timer_cb)(uv_timer_t* handle) 33 .. c:function:: int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle) 37 .. c:function:: int uv_timer_start(uv_timer_t* handle, uv_timer_cb cb, uint64_t timeout, uint64_t r… 50 .. c:function:: int uv_timer_stop(uv_timer_t* handle) 54 .. c:function:: int uv_timer_again(uv_timer_t* handle) 60 .. c:function:: void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat) 77 .. c:function:: uint64_t uv_timer_get_repeat(const uv_timer_t* handle) 81 .. c:function:: uint64_t uv_timer_get_due_in(const uv_timer_t* handle)
|
/libuv/docs/code/tty-gravity/ |
H A D | main.c | 8 uv_timer_t tick; 14 void update(uv_timer_t *req) { in update()
|