Lines Matching refs:event_new
431 closeev = event_new(base, -1, EV_TIMEOUT, simpleclose_close_fd_cb, in test_simpleclose()
433 rev = event_new(base, pair1[1], EV_READ, record_event_cb, in test_simpleclose()
436 wev = event_new(base, pair2[1], EV_WRITE, record_event_cb, in test_simpleclose()
1410 struct event *ev = event_new(base, -1, EV_READ, event_selfarg_cb, in test_event_new_selfarg()
1782 ev1 = event_new(data->base, data->pair[0], EV_READ|EV_PERSIST, read_and_drain_cb, NULL); in test_active_later()
1783 ev2 = event_new(data->base, data->pair[1], EV_WRITE|EV_PERSIST, write_a_byte_cb, NULL); in test_active_later()
1881 ev[0] = event_new(base, data->pair[0], EV_READ|EV_PERSIST, in test_event_remove_timeout()
2798 r = event_new(data->base, data->pair[0], EV_READ, simple_read_cb, in test_event_pending()
2800 w = event_new(data->base, data->pair[1], EV_WRITE, simple_write_cb, in test_event_pending()
2858 e = event_new(data->base, data->pair[0], EV_READ, dfd_cb, &i); in test_event_closed_fd_poll()
2899 ev1 = event_new(base, fd, EV_READ|EV_PERSIST, dfd_cb, &ev1_got); in test_dup_fd()
2900 ev2 = event_new(base, dfd, EV_READ|EV_PERSIST, dfd_cb, &ev2_got); in test_dup_fd()
2925 ev2 = event_new(base, dfd, EV_WRITE|EV_PERSIST, dfd_cb, &ev2_got); in test_dup_fd()
3045 ev[i] = event_new(base, sock[i], EV_WRITE|evflags, in test_many_events()
3093 ev1 = event_new(base, data->pair[1], EV_READ, dummy_read_cb, (void*)str); in test_get_assignment()
3159 ev[i] = event_new(base, -1, 0, timeout_cb, &visited[i]); in test_event_foreach()
3240 ev1 = event_new(base, -1, 0, cache_time_cb, &tv1); in test_gettimeofday_cached()
3241 ev2 = event_new(base, -1, 0, cache_time_cb, &tv2); in test_gettimeofday_cached()
3242 ev3 = event_new(base, -1, 0, cache_time_cb, &tv3); in test_gettimeofday_cached()
3308 ev1 = event_new(base, data->pair[0], EV_READ, tabf_cb, &e1); in test_active_by_fd()
3309 ev2 = event_new(base, data->pair[0], EV_WRITE, tabf_cb, &e2); in test_active_by_fd()
3310 ev3 = event_new(base, data->pair[1], EV_READ, tabf_cb, &e3); in test_active_by_fd()
3311 ev4 = event_new(base, data->pair[1], EV_READ, tabf_cb, &e4); in test_active_by_fd()
3317 evsig = event_new(base, SIGHUP, EV_SIGNAL, tabf_cb, &es); in test_active_by_fd()