Home
last modified time | relevance | path

Searched refs:event_pending (Results 1 – 16 of 16) sorted by relevance

/external/libevent/test/
Dregress_et.c180 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
181 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
187 tt_int_op(EV_READ, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
188 tt_int_op(0, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
Dregress.c1383 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1388 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
2114 if (!event_pending(&ev1, EV_READ, NULL) || in test_nonpersist_readd()
2115 event_pending(&ev2, EV_READ, NULL)) in test_nonpersist_readd()
2118 if (event_pending(&ev1, EV_READ, NULL) || in test_nonpersist_readd()
2119 !event_pending(&ev2, EV_READ, NULL)) in test_nonpersist_readd()
2812 tt_assert( event_pending(r, EV_READ, NULL)); in test_event_pending()
2813 tt_assert(!event_pending(w, EV_WRITE, NULL)); in test_event_pending()
2814 tt_assert(!event_pending(r, EV_WRITE, NULL)); in test_event_pending()
2815 tt_assert( event_pending(r, EV_READ|EV_WRITE, NULL)); in test_event_pending()
[all …]
Dregress_ssl.c251 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
252 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
Dregress_bufferevent.c454 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()
/external/libevent/include/event2/
Devent_compat.h201 #define timeout_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv))
216 #define signal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
Devent.h973 #define evtimer_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv))
989 #define evsignal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
1310 int event_pending(const struct event *ev, short events, struct timeval *tv);
/external/v4l2_codec2/vda/
Dv4l2_device.h71 bool Poll(bool poll_device, bool* event_pending);
Dv4l2_device.cc142 bool V4L2Device::Poll(bool poll_device, bool* event_pending) { in Poll() argument
163 *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI); in Poll()
Dv4l2_video_decode_accelerator.h239 void ServiceDeviceTask(bool event_pending);
Dv4l2_video_decode_accelerator.cc890 void V4L2VideoDecodeAccelerator::ServiceDeviceTask(bool event_pending) { in ServiceDeviceTask() argument
907 if (event_pending) in ServiceDeviceTask()
1656 bool event_pending = false; in DevicePollTask() local
1658 if (!device_->Poll(poll_device, &event_pending)) { in DevicePollTask()
1667 base::Unretained(this), event_pending)); in DevicePollTask()
/external/libevent/
Dbufferevent.c975 if (event_pending(&bev->ev_read, EV_READ, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
983 if (event_pending(&bev->ev_write, EV_WRITE, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
Dbufferevent_openssl.c991 rpending = event_pending(&bev->ev_read, EV_READ, NULL); in set_open_callbacks()
992 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL); in set_open_callbacks()
Dbufferevent_sock.c135 !event_pending(&bufev->ev_write, EV_WRITE, NULL) && in bufferevent_socket_outbuf_cb()
Devent.c2325 event_pending(const struct event *ev, short event, struct timeval *tv) in event_pending() function
DChangeLog-2.012 o core: Avoid crash when event_pending() called with no event_base set on event (e3cccf3)
20 o core: Make event_pending() threadsafe. (be7a95c Simon Liu)
DChangeLog1128 o core: Avoid crash when event_pending() called with no event_base set on event (e3cccf3)
1136 o core: Make event_pending() threadsafe. (be7a95c Simon Liu)