Lines Matching defs:two
707 * make two bases to catch signals, use both of them. this only works
1228 struct test_pri_event one, two;
1237 memset(&two, 0, sizeof(two));
1245 timeout_set(&two.ev, test_priorities_cb, &two);
1246 if (event_priority_set(&two.ev, npriorities - 1) == -1) {
1255 if (event_add(&two.ev, &tv) == -1)
1261 event_del(&two.ev);
1264 if (one.count == 3 && two.count == 3)
1267 /* Two is called once because event_loopexit is priority 1 */
1268 if (one.count == 3 && two.count == 1)
1271 if (one.count == 3 && two.count == 0)