Lines Matching defs:two
359 struct event one, two;
373 event_set(&two, pair[1], EV_READ, simpleread_multiple_cb, NULL);
374 if (event_add(&two, NULL) == -1)
1021 * make two bases to catch signals, use both of them. this only works
1525 struct test_pri_event one, two;
1533 memset(&two, 0, sizeof(two));
1541 timeout_set(&two.ev, test_priorities_cb, &two);
1542 if (event_priority_set(&two.ev, npriorities - 1) == -1) {
1551 if (event_add(&two.ev, &tv) == -1)
1557 event_del(&two.ev);
1560 if (one.count == 3 && two.count == 3)
1564 if (one.count == 3 && two.count == 1)
1567 if (one.count == 3 && two.count == 0)