Home
last modified time | relevance | path

Searched refs:uv_timer_t (Results 1 – 25 of 64) sorted by relevance

123

/libuv/src/
H A Dtimer.c40 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 Dtest-timer.c36 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 Dtest-tcp-close-while-connecting.c25 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 Dtest-timer-again.c32 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 Dtest-close-order.c30 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 Dtest-run-nowait.c25 static uv_timer_t timer_handle;
29 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-loop-configure.c19 static void timer_cb(uv_timer_t* handle) { in timer_cb()
25 uv_timer_t timer_handle; in TEST_IMPL()
H A Dtest-default-loop-close.c29 static void timer_cb(uv_timer_t* timer) { in timer_cb()
37 uv_timer_t timer_handle; in TEST_IMPL()
H A Dtest-fs-event.c39 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 Dtest-walk-handles.c30 static uv_timer_t timer;
44 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-loop-alive.c25 static uv_timer_t timer_handle;
27 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-loop-time.c37 static void cb(uv_timer_t* timer) { in cb()
43 uv_timer_t timer; in TEST_IMPL()
H A Dbenchmark-queue-work.c46 static void timer_cb(uv_timer_t* handle) { done = 1; } in timer_cb()
50 uv_timer_t timer_handle; in BENCHMARK_IMPL()
H A Dtest-loop-close.c25 static uv_timer_t timer_handle;
27 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-tcp-read-stop.c25 static uv_timer_t timer_handle;
41 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-tcp-reuseport.c76 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 Dtest-active.c38 static void timer_cb(uv_timer_t* handle) { in timer_cb()
45 uv_timer_t timer; in TEST_IMPL()
H A Dtest-loop-stop.c26 static uv_timer_t timer_handle;
40 static void timer_cb(uv_timer_t* handle) { in timer_cb()
H A Dtest-tcp-connect-timeout.c32 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 Dtest-delayed-accept.c48 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 Dtest-metrics.c40 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 Dtest-timer-from-check.c27 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 Dmain.c6 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 Dtimer.rst4 :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 Dmain.c8 uv_timer_t tick;
14 void update(uv_timer_t *req) { in update()

Completed in 53 milliseconds

123