Lines Matching refs:num_callbacks
36 uint32_t num_callbacks = 0; in TEST() local
41 if (++num_callbacks == 3) in TEST()
47 EXPECT_EQ(num_callbacks, 1u); in TEST()
49 EXPECT_EQ(num_callbacks, 3u); in TEST()
56 uint32_t num_callbacks = 0; in TEST() local
60 ++num_callbacks; in TEST()
66 EXPECT_EQ(num_callbacks, 0u); // No immediate execution. in TEST()
69 EXPECT_EQ(num_callbacks, 1u); in TEST()
80 uint32_t num_callbacks = 0; in TEST() local
85 ++num_callbacks; in TEST()
88 if (num_callbacks == 3 && pt.timer_fd_for_testing() > 0) { in TEST()
96 if (num_callbacks == 6) in TEST()
103 EXPECT_EQ(num_callbacks, 6u); in TEST()
109 uint32_t num_callbacks = 0; in TEST() local
113 ++num_callbacks; in TEST()
122 EXPECT_EQ(num_callbacks, 1u); in TEST()
129 uint32_t num_callbacks = 0; in TEST() local
133 if (++num_callbacks == 2) { in TEST()
145 EXPECT_EQ(num_callbacks, 2u); in TEST()
184 uint32_t num_callbacks = 0; in TEST() local
187 args.task = [&] { ++num_callbacks; }; in TEST()
190 EXPECT_EQ(num_callbacks, 0u); // No immediate execution. in TEST()
194 EXPECT_EQ(num_callbacks, 1u); in TEST()