Lines Matching refs:two
343 struct event one, two; in test_simpleread_multiple() local
357 event_set(&two, pair[1], EV_READ, simpleread_multiple_cb, NULL); in test_simpleread_multiple()
358 if (event_add(&two, NULL) == -1) in test_simpleread_multiple()
2225 struct test_pri_event one, two; in test_priorities_impl() local
2233 memset(&two, 0, sizeof(two)); in test_priorities_impl()
2241 timeout_set(&two.ev, test_priorities_cb, &two); in test_priorities_impl()
2242 if (event_priority_set(&two.ev, npriorities - 1) == -1) { in test_priorities_impl()
2251 if (event_add(&two.ev, &tv) == -1) in test_priorities_impl()
2257 event_del(&two.ev); in test_priorities_impl()
2260 if (one.count == 3 && two.count == 3) in test_priorities_impl()
2264 if (one.count == 3 && two.count == 1) in test_priorities_impl()
2267 if (one.count == 3 && two.count == 0) in test_priorities_impl()