Lines Matching refs:ncalls
87 unsigned int ncalls; member
94 unsigned int ncalls; member
104 if (++ctx->ncalls == NSIGNALS) { in signal_cb()
117 ASSERT_EQ(1, ++ctx->ncalls); in signal_cb_one_shot()
128 if (++ctx->ncalls == NSIGNALS) in timer_cb()
137 ctx->ncalls = 0; in start_watcher()
149 ctx->ncalls = 0; in start_timer()
166 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
167 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
171 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
172 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
174 sc.ncalls = 0; in TEST_IMPL()
180 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
181 ASSERT_EQ(sc.ncalls, NSIGNALS); in TEST_IMPL()
204 ASSERT_EQ(sc[i].ncalls, NSIGNALS); in TEST_IMPL()
207 ASSERT_EQ(tc[i].ncalls, NSIGNALS); in TEST_IMPL()
223 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
224 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
228 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
230 sc.ncalls = 0; in TEST_IMPL()
235 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
236 ASSERT_EQ(1, sc.ncalls); in TEST_IMPL()
256 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
257 ASSERT_EQ(1, sc[0].ncalls); in TEST_IMPL()
258 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
269 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
270 ASSERT_EQ(1, sc[0].ncalls); in TEST_IMPL()
271 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
272 ASSERT_OK(sc[2].ncalls); in TEST_IMPL()
283 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
284 ASSERT_EQ(sc[0].ncalls, NSIGNALS); in TEST_IMPL()
285 ASSERT_EQ(sc[1].ncalls, NSIGNALS); in TEST_IMPL()
286 ASSERT_OK(sc[2].ncalls); in TEST_IMPL()
299 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
300 ASSERT_OK(sc[0].ncalls); in TEST_IMPL()
301 ASSERT_OK(sc[1].ncalls); in TEST_IMPL()
302 ASSERT_EQ(1, sc[2].ncalls); in TEST_IMPL()
303 ASSERT_EQ(1, sc[2].ncalls); in TEST_IMPL()
315 ASSERT_EQ(tc.ncalls, NSIGNALS); in TEST_IMPL()
316 ASSERT_OK(sc[0].ncalls); in TEST_IMPL()
317 ASSERT_EQ(1, sc[1].ncalls); in TEST_IMPL()
318 ASSERT_OK(sc[2].ncalls); in TEST_IMPL()
319 ASSERT_EQ(sc[3].ncalls, NSIGNALS); in TEST_IMPL()