Searched refs:ev_et (Results 1 – 1 of 1) sorted by relevance
/external/libevent/test/ |
D | regress_et.c | 159 struct event *ev_et=NULL, *ev_lt=NULL; in test_edgetriggered_mix_error() local 172 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et); in test_edgetriggered_mix_error() 173 tt_assert(ev_et); in test_edgetriggered_mix_error() 178 tt_int_op(0, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error() 180 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error() 183 tt_int_op(0, ==, event_del(ev_et)); in test_edgetriggered_mix_error() 186 tt_int_op(-1, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error() 188 tt_int_op(0, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error() 191 if (ev_et) in test_edgetriggered_mix_error() 192 event_free(ev_et); in test_edgetriggered_mix_error()
|