Lines Matching refs:one
343 struct event one, two; in test_simpleread_multiple() local
354 event_set(&one, pair[1], EV_READ, simpleread_multiple_cb, NULL); in test_simpleread_multiple()
355 if (event_add(&one, NULL) == -1) in test_simpleread_multiple()
2225 struct test_pri_event one, two; in test_priorities_impl() local
2232 memset(&one, 0, sizeof(one)); in test_priorities_impl()
2235 timeout_set(&one.ev, test_priorities_cb, &one); in test_priorities_impl()
2236 if (event_priority_set(&one.ev, 0) == -1) { in test_priorities_impl()
2249 if (event_add(&one.ev, &tv) == -1) in test_priorities_impl()
2256 event_del(&one.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()