/external/libevent/test/ |
D | test-dumpevents.c | 110 ev[0] = event_new(base, pair1[0], EV_WRITE, callback1, NULL); in main() 111 ev[1] = event_new(base, pair1[1], EV_READ|EV_PERSIST, callback1, NULL); in main() 112 ev[2] = event_new(base, pair2[0], EV_WRITE|EV_PERSIST, callback2, NULL); in main() 113 ev[3] = event_new(base, pair2[1], EV_READ, callback2, NULL); in main() 119 ev[7] = event_new(base, -1, EV_PERSIST, callback2, NULL); in main() 120 ev[8] = event_new(base, -1, EV_PERSIST, callback2, NULL); in main() 121 ev[9] = event_new(base, -1, EV_PERSIST, callback2, NULL); in main() 124 ev[10] = event_new(base, -1, 0, callback1, NULL); in main() 125 ev[11] = event_new(base, -1, 0, callback2, NULL); in main()
|
D | regress_et.c | 121 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); in test_edgetriggered() 172 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et); in test_edgetriggered_mix_error() 174 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt); in test_edgetriggered_mix_error()
|
D | regress.c | 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() [all …]
|
D | test-closed.c | 102 ev = event_new(base, pair[1], EV_CLOSED | EV_TIMEOUT, closed_cb, event_self_cbarg()); in main()
|
D | test-ratelim.c | 185 event_new(base, -1, EV_PERSIST, check_bucket_levels_cb, bev); in echo_listenercb() 366 periodic_level_check = event_new(base, -1, EV_PERSIST, check_group_bucket_levels_cb, NULL); in test_ratelimiting() 370 group_drain_event = event_new(base, -1, EV_PERSIST, group_drain_cb, NULL); in test_ratelimiting()
|
D | regress_finalize.c | 278 evc2.ev2 = evc1.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc1); in test_fin_within_cb() 279 evc1.ev2 = evc2.ev = event_new(base, -1, EV_PERSIST, timer_callback_2, &evc2); in test_fin_within_cb()
|
D | test-changelist.c | 192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); in main()
|
D | regress_thread.c | 195 notification_event = event_new(base, in thread_basic()
|
D | regress_buffer.c | 1077 wev = event_new(base, pair[0], EV_WRITE|EV_PERSIST, in test_evbuffer_add_file() 1079 rev = event_new(base, pair[1], EV_READ|EV_PERSIST, in test_evbuffer_add_file()
|
/external/libevent/sample/ |
D | event-read-fifo.c | 137 evfifo = event_new(base, (evutil_socket_t)socket, EV_READ|EV_PERSIST, fifo_read, in main() 144 evfifo = event_new(base, socket, EV_READ|EV_PERSIST, fifo_read, in main()
|
/external/libevent/include/event2/ |
D | event.h | 970 #define evtimer_new(b, cb, arg) event_new((b), -1, 0, (cb), (arg)) 987 event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) 1080 struct event *event_new(struct event_base *, evutil_socket_t, short, event_callback_fn, void *);
|
/external/libevent/ |
D | whatsnew-2.1.txt | 105 Libevent 2.0 added an event_new() function to construct a new struct 106 event on the heap. Unfortunately, with event_new(), there was no 112 In other words, there was no easy way for event_new() to set up an 118 evp = event_new(base, fd, EV_READ, callback, 221 event_new() and event_assign() along with EV_READ, EV_WRITE, and the
|
D | whatsnew-2.0.txt | 105 can use event_new(). 128 ev = event_new(base, fd, EV_READ, cb, NULL); 198 ev = event_new(base, fd, EV_READ|EV_PERSIST, cb, NULL); 280 you set during event_new() or event_assign().
|
D | event.c | 2158 event_new(struct event_base *base, evutil_socket_t fd, short events, void (*cb)(evutil_socket_t, sh… in event_new() function
|
D | ChangeLog-2.0 | 1202 …o New functions (event_assign, event_new, event_free) for use by apps that want to be safely threa… 1214 … to manipulate timer and signal events, analagous to the now-recommended event_assign and event_new
|
D | ChangeLog | 1645 event_new(). (ed36e6a Ross Lagerwall, fa931bb, 09a1906, 1338e6c,
|