Lines Matching refs:event_set
331 event_set(&read_evs[i], pair[0], in test_registerfds()
335 event_set(&write_evs[i], pair[1], in test_registerfds()
376 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); in test_simpleread()
392 event_set(&ev, pair[0], EV_WRITE, simple_write_cb, &ev); in test_simplewrite()
415 event_set(&ev, pair[0], EV_WRITE, multiple_write_cb, &ev); in test_multiple()
418 event_set(&ev2, pair[1], EV_READ, multiple_read_cb, &ev2); in test_multiple()
444 event_set(&ev, pair[0], EV_WRITE|EV_PERSIST, multiple_write_cb, &ev); in test_persistent()
447 event_set(&ev2, pair[1], EV_READ|EV_PERSIST, multiple_read_cb, &ev2); in test_persistent()
472 event_set(&r1.ev, pair[0], EV_READ, combined_read_cb, &r1); in test_combined()
473 event_set(&w1.ev, pair[0], EV_WRITE, combined_write_cb, &w1); in test_combined()
474 event_set(&r2.ev, pair[1], EV_READ, combined_read_cb, &r2); in test_combined()
475 event_set(&w2.ev, pair[1], EV_WRITE, combined_write_cb, &w2); in test_combined()
539 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); in test_fork()
881 event_set(&ev1, pair[1], EV_READ, simple_read_cb, &ev1); in test_free_active_base()
901 event_set(&ev1, pair[1], EV_READ, simple_read_cb, &ev1); in test_event_base_new()
1294 event_set(&e1, pair[0], EV_READ, test_multiple_cb, NULL); in test_multiple_events_for_same_fd()
1296 event_set(&e2, pair[0], EV_WRITE, test_multiple_cb, NULL); in test_multiple_events_for_same_fd()
1349 event_set(&ev, pair[1], EV_READ, read_once_cb, &ev); in test_want_only_once()