Searched refs:ev_lt (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 155 ev_lt = event_new(base, data->pair[0], EV_READ, read_cb, ev_lt); in test_edgetriggered_mix_error() 156 tt_assert(ev_lt); in test_edgetriggered_mix_error() 160 tt_int_op(-1, ==, event_add(ev_lt, NULL)); in test_edgetriggered_mix_error() 162 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error() 166 tt_int_op(0, ==, event_add(ev_lt, NULL)); in test_edgetriggered_mix_error() 168 tt_int_op(EV_READ, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error() 174 if (ev_lt) in test_edgetriggered_mix_error() 175 event_free(ev_lt); in test_edgetriggered_mix_error()
|