Lines Matching defs:evc1
260 struct event_and_count evc1, evc2;
261 evc1.count = evc2.count = 0;
262 evc2.ev2 = evc1.ev = evtimer_new(base, timer_callback_2, &evc1);
263 evc1.ev2 = evc2.ev = evtimer_new(base, timer_callback_2, &evc2);
268 event_active(evc1.ev, EV_TIMEOUT, 1);
272 tt_int_op(evc1.count, ==, 101);
277 evc1.count = evc2.count = 0;
278 evc2.ev2 = evc1.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc1);
279 evc1.ev2 = evc2.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc2);
281 event_active(evc1.ev, EV_TIMEOUT, 1);
285 tt_int_op(evc1.count, ==, 101);