Lines Matching refs:EVUTIL_ASSERT

385 			EVUTIL_ASSERT(flags & O_NONBLOCK);  in event_debug_assert_socket_nonblocking_()
494 EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_INIT)); in event_callback_to_event()
769 EVUTIL_ASSERT(rv >= 0); in event_base_stop_iocp_()
928 EVUTIL_ASSERT(TAILQ_EMPTY(&base->activequeues[i])); in event_base_free_()
930 EVUTIL_ASSERT(min_heap_empty_(&base->timeheap)); in event_base_free_()
1510 EVUTIL_ASSERT(is_common_timeout(&ctl->duration, base)); in event_base_init_common_timeout()
1554 EVUTIL_ASSERT(is_common_timeout(result, base)); in event_base_init_common_timeout()
1579 EVUTIL_ASSERT(is_same_common_timeout(&ev->ev_timeout, in event_persist_closure()
1641 EVUTIL_ASSERT(activeq != NULL); in event_process_active_single_queue()
1677 EVUTIL_ASSERT(ev != NULL); in event_process_active_single_queue()
1681 EVUTIL_ASSERT(ev != NULL); in event_process_active_single_queue()
1687 EVUTIL_ASSERT(ev != NULL); in event_process_active_single_queue()
1704 EVUTIL_ASSERT(ev != NULL); in event_process_active_single_queue()
1707 EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_FINALIZING)); in event_process_active_single_queue()
1718 EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_FINALIZING)); in event_process_active_single_queue()
1724 EVUTIL_ASSERT(0); in event_process_active_single_queue()
1823 EVUTIL_ASSERT(base); in event_base_get_method()
2184 EVUTIL_ASSERT(r == 0); in event_set()
2617 EVUTIL_ASSERT(!(ev->ev_flags & ~EVLIST_ALL)); in event_add_nolock_()
2833 EVUTIL_ASSERT(!(ev->ev_flags & ~EVLIST_ALL)); in event_del_nolock_()
2937 EVUTIL_ASSERT(0); in event_active_nolock_()
3016 EVUTIL_ASSERT(0); in event_callback_activate_nolock_()
3082 EVUTIL_ASSERT(0); in event_callback_cancel_nolock_()
3171 EVUTIL_ASSERT(tv->tv_sec >= 0); in timeout_next()
3172 EVUTIL_ASSERT(tv->tv_usec >= 0); in timeout_next()
3323 EVUTIL_ASSERT(0); /* unreachable */ in event_queue_reinsert_timeout()
3348 EVUTIL_ASSERT( in insert_common_timeout_inorder()
3392 EVUTIL_ASSERT(evcb->evcb_pri < base->nactivequeues); in event_queue_insert_active()
3410 EVUTIL_ASSERT(evcb->evcb_pri < base->nactivequeues); in event_queue_insert_active_later()
3447 EVUTIL_ASSERT(evcb->evcb_pri < base->nactivequeues); in event_queue_make_later_events_active()
3883 EVUTIL_ASSERT(base->virtual_event_count > 0); in event_base_del_virtual_()
3978 EVUTIL_ASSERT(ev->ev_flags & EVLIST_TIMEOUT); in event_base_assert_ok_nolock_()
3979 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_()
3980 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i); in event_base_assert_ok_nolock_()
3992 EVUTIL_ASSERT(evutil_timercmp(&last->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok_nolock_()
3993 EVUTIL_ASSERT(ev->ev_flags & EVLIST_TIMEOUT); in event_base_assert_ok_nolock_()
3994 EVUTIL_ASSERT(is_common_timeout(&ev->ev_timeout,base)); in event_base_assert_ok_nolock_()
3995 EVUTIL_ASSERT(COMMON_TIMEOUT_IDX(&ev->ev_timeout) == i); in event_base_assert_ok_nolock_()
4006 EVUTIL_ASSERT((evcb->evcb_flags & (EVLIST_ACTIVE|EVLIST_ACTIVE_LATER)) == EVLIST_ACTIVE); in event_base_assert_ok_nolock_()
4007 EVUTIL_ASSERT(evcb->evcb_pri == i); in event_base_assert_ok_nolock_()
4015 EVUTIL_ASSERT((evcb->evcb_flags & (EVLIST_ACTIVE|EVLIST_ACTIVE_LATER)) == EVLIST_ACTIVE_LATER); in event_base_assert_ok_nolock_()
4019 EVUTIL_ASSERT(count == base->event_count_active); in event_base_assert_ok_nolock_()