Home
last modified time | relevance | path

Searched refs:timer_cb_called (Results 1 – 11 of 11) sorted by relevance

/libuv/test/
H A Dtest-timer-from-check.c31 static int timer_cb_called; variable
38 ASSERT_OK(timer_cb_called); in prepare_cb()
47 ASSERT_OK(timer_cb_called); in timer_cb()
48 timer_cb_called++; in timer_cb()
59 ASSERT_OK(timer_cb_called); in check_cb()
73 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
H A Dtest-close-order.c26 static int timer_cb_called; variable
43 ASSERT_EQ(1, timer_cb_called); in check_cb()
53 timer_cb_called++; in timer_cb()
70 ASSERT_OK(timer_cb_called); in TEST_IMPL()
76 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
H A Dtest-default-loop-close.c26 static int timer_cb_called; variable
30 timer_cb_called++; in timer_cb()
45 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
54 ASSERT_EQ(2, timer_cb_called); in TEST_IMPL()
H A Dtest-idle.c32 static int timer_cb_called = 0; variable
48 timer_cb_called++; in timer_cb()
49 fprintf(stderr, "timer_cb %d\n", timer_cb_called); in timer_cb()
94 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
H A Dbenchmark-million-timers.c27 static int timer_cb_called; variable
32 timer_cb_called++; in timer_cb()
74 ASSERT_EQ(timer_cb_called, NUM_TIMERS); in BENCHMARK_IMPL()
H A Dtest-callback-stack.c43 static int timer_cb_called = 0; variable
119 timer_cb_called++; in timer_cb()
199 ASSERT_NE(timer_cb_called == 1 && "timer_cb must be called exactly once", in TEST_IMPL()
H A Dtest-udp-send-unreachable.c40 static int timer_cb_called; variable
98 timer_cb_called++; in timer_cb()
196 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
H A Dtest-threadpool-cancel.c52 static unsigned timer_cb_called; variable
177 timer_cb_called++; in timer_cb()
226 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
262 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
308 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
362 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
H A Dtest-fs-poll.c50 static int timer_cb_called; variable
80 timer_cb_called++; in timer_cb()
164 ASSERT_EQ(2, timer_cb_called); in TEST_IMPL()
H A Dtest-fork.c37 static int timer_cb_called; variable
41 timer_cb_called++; in timer_cb()
71 timer_cb_called = 0; /* Reset for the child. */ in run_timer_loop_once()
76 ASSERT_EQ(1, timer_cb_called); in run_timer_loop_once()
H A Dtest-fs-event.c40 static int timer_cb_called; variable
381 ++timer_cb_called; in timer_cb_file()
383 if (timer_cb_called == 1) { in timer_cb_file()
614 ASSERT_EQ(1, timer_cb_called); in TEST_IMPL()
660 ASSERT_EQ(2, timer_cb_called); in TEST_IMPL()

Completed in 15 milliseconds