| /src/external/mit/libuv/dist/test/ |
| test-loop-configure.c | 25 uv_timer_t timer_handle; local 33 ASSERT_OK(uv_timer_init(&loop, &timer_handle)); 34 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 10, 0));
|
| test-default-loop-close.c | 37 uv_timer_t timer_handle; local 42 ASSERT_OK(uv_timer_init(loop, &timer_handle)); 43 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1, 0)); 51 ASSERT_OK(uv_timer_init(loop, &timer_handle)); 52 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1, 0));
|
| test-run-nowait.c | 25 static uv_timer_t timer_handle; variable 30 ASSERT_PTR_EQ(handle, &timer_handle); 37 uv_timer_init(uv_default_loop(), &timer_handle); local 38 uv_timer_start(&timer_handle, timer_cb, 100, 100);
|
| test-loop-alive.c | 25 static uv_timer_t timer_handle; variable 49 uv_timer_init(uv_default_loop(), &timer_handle); local 50 uv_timer_start(&timer_handle, timer_cb, 100, 0);
|
| benchmark-loop-count.c | 32 static uv_timer_t timer_handle; variable 48 uv_timer_stop(&timer_handle); 82 uv_timer_init(loop, &timer_handle); 83 uv_timer_start(&timer_handle, timer_cb, 5000, 0);
|
| test-loop-close.c | 25 static uv_timer_t timer_handle; variable 41 uv_timer_init(&loop, &timer_handle); 42 uv_timer_start(&timer_handle, timer_cb, 100, 100); 48 uv_close((uv_handle_t*) &timer_handle, NULL);
|
| test-loop-stop.c | 26 static uv_timer_t timer_handle; variable 41 ASSERT_PTR_EQ(handle, &timer_handle); 54 uv_timer_init(uv_default_loop(), &timer_handle); local 55 uv_timer_start(&timer_handle, timer_cb, 100, 100); 76 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer_handle)); 77 ASSERT_OK(uv_timer_start(&timer_handle, (uv_timer_cb) abort, 0, 0));
|
| test-timer-from-check.c | 27 static uv_timer_t timer_handle; variable 44 ASSERT_OK(uv_timer_stop(&timer_handle)); 54 ASSERT_OK(uv_timer_stop(&timer_handle)); /* Runs before timer_cb. */ 55 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); 68 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer_handle)); 69 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); 76 uv_close((uv_handle_t*) &timer_handle, NULL);
|
| benchmark-queue-work.c | 49 uv_timer_t timer_handle; local 57 ASSERT_EQ(0, uv_timer_init(loop, &timer_handle)); 58 ASSERT_EQ(0, uv_timer_start(&timer_handle, timer_cb, timeout, 0));
|
| test-idle.c | 28 static uv_timer_t timer_handle; variable 42 ASSERT_PTR_EQ(handle, &timer_handle); 46 uv_close((uv_handle_t*) &timer_handle, close_cb); 85 r = uv_timer_init(uv_default_loop(), &timer_handle); 87 r = uv_timer_start(&timer_handle, timer_cb, 50, 0);
|
| test-tcp-read-stop.c | 25 static uv_timer_t timer_handle; variable 36 uv_close((uv_handle_t*) &timer_handle, NULL); 54 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 50, 0)); 66 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer_handle));
|
| benchmark-million-async.c | 79 uv_timer_t timer_handle; local 99 ASSERT(0 == uv_timer_init(loop, &timer_handle)); 100 ASSERT(0 == uv_timer_start(&timer_handle, timer_cb, timeout, 0));
|
| test-fs-poll.c | 46 static uv_timer_t timer_handle; variable 123 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 20, 0)); 130 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 200, 0)); 158 ASSERT_OK(uv_timer_init(loop, &timer_handle));
|
| test-tcp-unexpected-read.c | 26 static uv_timer_t timer_handle; variable 43 uv_close((uv_handle_t*) &timer_handle, NULL); 94 ASSERT_OK(uv_timer_init(loop, &timer_handle)); 95 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1000, 0));
|
| test-delayed-accept.c | 48 static void do_accept(uv_timer_t* timer_handle) { 53 ASSERT_NOT_NULL(timer_handle); 59 server = (uv_tcp_t*)timer_handle->data; 74 uv_close((uv_handle_t*)timer_handle, close_cb); 80 uv_timer_t* timer_handle; local 84 timer_handle = (uv_timer_t*)malloc(sizeof *timer_handle); 85 ASSERT_NOT_NULL(timer_handle); 88 r = uv_timer_init(uv_default_loop(), timer_handle); 91 timer_handle->data = tcp [all...] |
| benchmark-udp-pummel.c | 151 uv_timer_t timer_handle; local 165 ASSERT(0 == uv_timer_init(loop, &timer_handle)); 166 ASSERT(0 == uv_timer_start(&timer_handle, timeout_cb, timeout, 0)); 168 uv_unref((uv_handle_t*)&timer_handle);
|
| test-loop-handles.c | 86 static uv_timer_t timer_handle; variable 111 ASSERT_PTR_EQ(handle, &timer_handle); 309 r = uv_timer_init(uv_default_loop(), &timer_handle); 311 r = uv_timer_start(&timer_handle, timer_cb, TIMEOUT, TIMEOUT); 313 uv_unref((uv_handle_t*)&timer_handle);
|
| test-fork.c | 67 uv_timer_t timer_handle; local 73 ASSERT_OK(uv_timer_init(&loop, &timer_handle)); 74 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1, 0));
|
| test-poll.c | 60 uv_timer_t timer_handle; member in struct:connection_context_s 169 r = uv_timer_init(uv_default_loop(), &context->timer_handle); 171 context->timer_handle.data = context; 203 uv_close((uv_handle_t*) &context->timer_handle, connection_close_cb); 277 if (!uv_is_active((uv_handle_t*) &context->timer_handle)) { 279 uv_timer_start(&context->timer_handle, delay_timer_cb, 10, 0); 376 if (!uv_is_active((uv_handle_t*) &context->timer_handle)) { 378 uv_timer_start(&context->timer_handle, delay_timer_cb, 100, 0);
|
| test-threadpool-cancel.c | 41 uv_timer_t timer_handle; member in struct:cancel_info 168 ci = container_of(handle, struct cancel_info, timer_handle); 175 uv_close((uv_handle_t*) &ci->timer_handle, NULL); 223 ASSERT_OK(uv_timer_init(loop, &ci.timer_handle)); 224 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); 259 ASSERT_OK(uv_timer_init(loop, &ci.timer_handle)); 260 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); 305 ASSERT_OK(uv_timer_init(loop, &ci.timer_handle)); 306 ASSERT_OK(uv_timer_start(&ci.timer_handle, timer_cb, 10, 0)); 358 ASSERT_OK(uv_timer_init(loop, &ci.timer_handle)); [all...] |
| test-timer.c | 333 uv_timer_t timer_handle; local 335 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer_handle)); 336 ASSERT_OK(uv_timer_start(&timer_handle, timer_run_once_timer_cb, 0, 0)); 340 ASSERT_OK(uv_timer_start(&timer_handle, timer_run_once_timer_cb, 1, 0)); 344 uv_close((uv_handle_t*) &timer_handle, NULL); 386 uv_timer_t timer_handle; local 391 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer_handle)); 392 ASSERT_OK(uv_timer_start(&timer_handle, 398 uv_close((uv_handle_t*) &timer_handle, NULL); 410 uv_timer_t timer_handle; local 427 uv_timer_t timer_handle; local 444 uv_timer_t timer_handle; local [all...] |
| benchmark-pump.c | 79 static uv_timer_t timer_handle; variable 161 r = uv_timer_init(loop, &timer_handle); 163 r = uv_timer_start(&timer_handle, show_stats, STATS_INTERVAL, STATS_INTERVAL);
|
| /src/external/mit/libuv/dist/src/ |
| fs-poll.c | 44 uv_timer_t timer_handle; member in struct:poll_ctx 92 err = uv_timer_init(loop, &ctx->timer_handle); 96 ctx->timer_handle.flags |= UV_HANDLE_INTERNAL; 97 uv__handle_unref(&ctx->timer_handle); 129 if (uv_is_active((uv_handle_t*)&ctx->timer_handle)) 130 uv_close((uv_handle_t*)&ctx->timer_handle, timer_close_cb); 178 ctx = container_of(timer, struct poll_ctx, timer_handle); 224 uv_close((uv_handle_t*)&ctx->timer_handle, timer_close_cb); 232 if (uv_timer_start(&ctx->timer_handle, timer_cb, interval, 0)) 243 ctx = container_of(timer, struct poll_ctx, timer_handle); [all...] |
| /src/external/bsd/tcpdump/dist/ |
| tcpdump.c | 281 static HANDLE timer_handle = INVALID_HANDLE_VALUE; variable 2566 CreateTimerQueueTimer(&timer_handle, NULL, 2812 if (timer_handle != INVALID_HANDLE_VALUE) { 2813 DeleteTimerQueueTimer(NULL, timer_handle, NULL); 2814 CloseHandle(timer_handle); 2815 timer_handle = INVALID_HANDLE_VALUE;
|