Lines Matching defs:two
345 struct event one, two;
359 event_set(&two, pair[1], EV_READ, simpleread_multiple_cb, NULL);
360 if (event_add(&two, NULL) == -1)
1174 * make two bases to catch signals, use both of them. this only works
2154 struct test_pri_event one, two;
2162 memset(&two, 0, sizeof(two));
2170 timeout_set(&two.ev, test_priorities_cb, &two);
2171 if (event_priority_set(&two.ev, npriorities - 1) == -1) {
2180 if (event_add(&two.ev, &tv) == -1)
2186 event_del(&two.ev);
2189 if (one.count == 3 && two.count == 3)
2193 if (one.count == 3 && two.count == 1)
2196 if (one.count == 3 && two.count == 0)