Searched refs:ev_et (Results 1 – 1 of 1) sorted by relevance
/external/libevent/test/ |
D | regress_et.c | 140 struct event *ev_et=NULL, *ev_lt=NULL; in test_edgetriggered_mix_error() local 153 ev_et = event_new(base, data->pair[0], EV_READ|EV_ET, read_cb, ev_et); in test_edgetriggered_mix_error() 154 tt_assert(ev_et); in test_edgetriggered_mix_error() 159 tt_int_op(0, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error() 161 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error() 164 tt_int_op(0, ==, event_del(ev_et)); in test_edgetriggered_mix_error() 167 tt_int_op(-1, ==, event_add(ev_et, NULL)); in test_edgetriggered_mix_error() 169 tt_int_op(0, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error() 172 if (ev_et) in test_edgetriggered_mix_error() 173 event_free(ev_et); in test_edgetriggered_mix_error()
|