Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/libevent/test/
HDregress_et.c161 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
162 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
168 tt_int_op(EV_READ, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
169 tt_int_op(0, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
HDregress.c1465 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1470 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
2188 tt_assert(event_pending(&ev1, EV_READ, NULL) && !event_pending(&ev2, EV_READ, NULL)); in test_nonpersist_readd()
2190 tt_assert(event_pending(&ev2, EV_READ, NULL) && !event_pending(&ev1, EV_READ, NULL)); in test_nonpersist_readd()
2883 tt_assert( event_pending(r, EV_READ, NULL)); in test_event_pending()
2884 tt_assert(!event_pending(w, EV_WRITE, NULL)); in test_event_pending()
2885 tt_assert(!event_pending(r, EV_WRITE, NULL)); in test_event_pending()
2886 tt_assert( event_pending(r, EV_READ|EV_WRITE, NULL)); in test_event_pending()
2887 tt_assert(!event_pending(r, EV_TIMEOUT, NULL)); in test_event_pending()
2888 tt_assert( event_pending(t, EV_TIMEOUT, NULL)); in test_event_pending()
[all …]
HDregress_ssl.c304 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
305 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
HDregress_bufferevent.c467 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
HDregress_et.c161 tt_int_op(EV_READ, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
162 tt_int_op(0, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
168 tt_int_op(EV_READ, ==, event_pending(ev_lt, EV_READ, NULL)); in test_edgetriggered_mix_error()
169 tt_int_op(0, ==, event_pending(ev_et, EV_READ, NULL)); in test_edgetriggered_mix_error()
HDregress.c1465 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1470 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
2188 tt_assert(event_pending(&ev1, EV_READ, NULL) && !event_pending(&ev2, EV_READ, NULL)); in test_nonpersist_readd()
2190 tt_assert(event_pending(&ev2, EV_READ, NULL) && !event_pending(&ev1, EV_READ, NULL)); in test_nonpersist_readd()
2883 tt_assert( event_pending(r, EV_READ, NULL)); in test_event_pending()
2884 tt_assert(!event_pending(w, EV_WRITE, NULL)); in test_event_pending()
2885 tt_assert(!event_pending(r, EV_WRITE, NULL)); in test_event_pending()
2886 tt_assert( event_pending(r, EV_READ|EV_WRITE, NULL)); in test_event_pending()
2887 tt_assert(!event_pending(r, EV_TIMEOUT, NULL)); in test_event_pending()
2888 tt_assert( event_pending(t, EV_TIMEOUT, NULL)); in test_event_pending()
[all …]
HDregress_ssl.c304 tt_int_op(event_pending(&bev->ev_read, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
305 tt_int_op(event_pending(&bev->ev_write, EVLIST_ALL, NULL), ==, 0); in bufferevent_openssl_check_freed()
HDregress_bufferevent.c467 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()
/freebsd-13-stable/contrib/libevent/include/event2/
HDevent.h969 #define evtimer_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv))
985 #define evsignal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
998 #define evuser_pending(ev, tv) event_pending((ev), 0, (tv))
1307 int event_pending(const struct event *ev, short events, struct timeval *tv);
HDevent_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))
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/
HDevent.h969 #define evtimer_pending(ev, tv) event_pending((ev), EV_TIMEOUT, (tv))
985 #define evsignal_pending(ev, tv) event_pending((ev), EV_SIGNAL, (tv))
998 #define evuser_pending(ev, tv) event_pending((ev), 0, (tv))
1307 int event_pending(const struct event *ev, short events, struct timeval *tv);
HDevent_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))
/freebsd-13-stable/contrib/pf/libevent/
HDevent.h168 #define evtimer_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv)
174 #define timeout_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv)
181 #define signal_pending(ev, tv) event_pending(ev, EV_SIGNAL, tv)
191 int event_pending(struct event *, short, struct timeval *);
HDevent.c563 event_pending(struct event *ev, short event, struct timeval *tv) in event_pending() function
/freebsd-13-stable/contrib/processor-trace/libipt/src/
HDpt_insn_decoder.c443 static inline int event_pending(struct pt_insn_decoder *decoder) in event_pending() function
818 status = event_pending(decoder); in pt_insn_check_insn_event()
1056 status = event_pending(decoder); in pt_insn_check_ip_event()
/freebsd-13-stable/contrib/ntp/sntp/libevent/
HDbufferevent.c996 if (event_pending(&bev->ev_read, EV_READ, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
1004 if (event_pending(&bev->ev_write, EV_WRITE, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
HDbufferevent_openssl.c995 rpending = event_pending(&bev->ev_read, EV_READ, NULL); in set_open_callbacks()
996 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL); in set_open_callbacks()
HDbufferevent_sock.c138 !event_pending(&bufev->ev_write, EV_WRITE, NULL) && in bufferevent_socket_outbuf_cb()
HDevent.c2375 event_pending(const struct event *ev, short event, struct timeval *tv) in event_pending() function
HDChangeLog-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)
/freebsd-13-stable/contrib/libevent/
HDbufferevent.c996 if (event_pending(&bev->ev_read, EV_READ, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
1004 if (event_pending(&bev->ev_write, EV_WRITE, NULL)) { in bufferevent_generic_adj_existing_timeouts_()
HDbufferevent_openssl.c995 rpending = event_pending(&bev->ev_read, EV_READ, NULL); in set_open_callbacks()
996 wpending = event_pending(&bev->ev_write, EV_WRITE, NULL); in set_open_callbacks()
HDbufferevent_sock.c138 !event_pending(&bufev->ev_write, EV_WRITE, NULL) && in bufferevent_socket_outbuf_cb()
HDevent.c2375 event_pending(const struct event *ev, short event, struct timeval *tv) in event_pending() function
HDChangeLog-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)

12