Home
last modified time | relevance | path

Searched refs:timer_cb (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-tcp-connect-timeout.c36 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 Dtest-default-loop-close.c29 static void timer_cb(uv_timer_t* timer) { in timer_cb() function
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 Dtest-close-order.c51 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 Dtest-active.c38 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 Dtest-timer-from-check.c43 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
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 Dtest-run-nowait.c29 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 Dtest-loop-configure.c19 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
34 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 10, 0)); in TEST_IMPL()
H A Dtest-fs-poll.c29 static void timer_cb(uv_timer_t* handle);
78 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
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 Dtest-loop-alive.c27 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 Dtest-walk-handles.c44 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 Dtest-loop-stop.c40 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 Dbenchmark-queue-work.c46 static void timer_cb(uv_timer_t* handle) { done = 1; } in timer_cb() function
58 ASSERT_EQ(0, uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
H A Dtest-threadpool-cancel.c127 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
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 Dtest-loop-close.c27 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 Dbenchmark-loop-count.c46 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
83 uv_timer_start(&timer_handle, timer_cb, 5000, 0); in BENCHMARK_IMPL()
H A Dtest-tcp-read-stop.c41 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
54 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, 50, 0)); in connect_cb()
H A Dbenchmark-million-timers.c31 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
61 ASSERT(0 == uv_timer_start(timers + i, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
H A Dbenchmark-million-async.c59 static void timer_cb(uv_timer_t* handle) { in timer_cb() function
100 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, timeout, 0)); in BENCHMARK_IMPL()
H A Dtest-connection-fail.c49 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 Dtest-idle.c41 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()
/netbsd-src/external/mit/libuv/dist/src/
H A Dtimer.c60 handle->timer_cb = NULL; in uv_timer_init()
83 handle->timer_cb = cb; in uv_timer_start()
112 if (handle->timer_cb == NULL) in uv_timer_again()
117 uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); in uv_timer_again()
178 handle->timer_cb(handle); in uv__run_timers()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Ddtlstest.c45 static unsigned int timer_cb(SSL *s, unsigned int timer_us) in timer_cb() function
82 DTLS_set_timer_cb(clientssl1, timer_cb); in test_dtls_unprocessed()
204 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_drop_records()
205 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_drop_records()
312 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_duplicate_records()
313 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_duplicate_records()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Ddtlstest.c61 static unsigned int timer_cb(SSL *s, unsigned int timer_us) in timer_cb() function
106 DTLS_set_timer_cb(clientssl1, timer_cb); in test_dtls_unprocessed()
264 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_drop_records()
265 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_drop_records()
373 DTLS_set_timer_cb(clientssl, timer_cb); in test_dtls_duplicate_records()
374 DTLS_set_timer_cb(serverssl, timer_cb); in test_dtls_duplicate_records()
439 DTLS_set_timer_cb(serverssl, timer_cb); in test_just_finished()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Dd1_lib.c182 DTLS_timer_cb timer_cb = s->d1->timer_cb; in dtls1_clear() local
194 s->d1->timer_cb = timer_cb; in dtls1_clear()
278 if (s->d1->timer_cb != NULL) in dtls1_start_timer()
279 s->d1->timeout_duration_us = s->d1->timer_cb(s, 0); in dtls1_start_timer()
412 if (s->d1->timer_cb != NULL) in dtls1_handle_timeout()
413 s->d1->timeout_duration_us = s->d1->timer_cb(s, s->d1->timeout_duration_us); in dtls1_handle_timeout()
981 s->d1->timer_cb = cb; in DTLS_set_timer_cb()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dd1_lib.c165 DTLS_timer_cb timer_cb = s->d1->timer_cb; in dtls1_clear() local
177 s->d1->timer_cb = timer_cb; in dtls1_clear()
261 if (s->d1->timer_cb != NULL) in dtls1_start_timer()
262 s->d1->timeout_duration_us = s->d1->timer_cb(s, 0); in dtls1_start_timer()
396 if (s->d1->timer_cb != NULL) in dtls1_handle_timeout()
397 s->d1->timeout_duration_us = s->d1->timer_cb(s, s->d1->timeout_duration_us); in dtls1_handle_timeout()
971 s->d1->timer_cb = cb; in DTLS_set_timer_cb()

12