• Home
  • Raw
  • Download

Lines Matching refs:ev_timeout

1148 	struct timeval timeout = head->ev_timeout;  in common_timeout_schedule()
1167 if (!ev || ev->ev_timeout.tv_sec > now.tv_sec || in common_timeout_callback()
1168 (ev->ev_timeout.tv_sec == now.tv_sec && in common_timeout_callback()
1169 (ev->ev_timeout.tv_usec&MICROSECONDS_MASK) > now.tv_usec)) in common_timeout_callback()
1275 EVUTIL_ASSERT(is_same_common_timeout(&ev->ev_timeout, in event_persist_closure()
1278 if (is_common_timeout(&ev->ev_timeout, base)) { in event_persist_closure()
1283 relative_to = ev->ev_timeout; in event_persist_closure()
1291 relative_to = ev->ev_timeout; in event_persist_closure()
1890 struct timeval tmp = ev->ev_timeout; in event_pending()
2153 ev->ev_timeout = *tv; in event_add_internal()
2157 evutil_timeradd(&now, &tmp, &ev->ev_timeout); in event_add_internal()
2158 ev->ev_timeout.tv_usec |= in event_add_internal()
2161 evutil_timeradd(&now, tv, &ev->ev_timeout); in event_add_internal()
2171 get_common_timeout_list(base, &ev->ev_timeout); in event_add_internal()
2419 if (evutil_timercmp(&ev->ev_timeout, &now, <=)) { in timeout_next()
2424 evutil_timersub(&ev->ev_timeout, &now, tv); in timeout_next()
2471 struct timeval *ev_tv = &(**pev).ev_timeout; in timeout_correct()
2480 struct timeval *ev_tv = &ev->ev_timeout; in timeout_correct()
2507 if (evutil_timercmp(&ev->ev_timeout, &now, >)) in timeout_process()
2545 if (is_common_timeout(&ev->ev_timeout, base)) { in event_queue_remove()
2547 get_common_timeout_list(base, &ev->ev_timeout); in event_queue_remove()
2579 is_same_common_timeout(&e->ev_timeout, &ev->ev_timeout)); in insert_common_timeout_inorder()
2580 if (evutil_timercmp(&ev->ev_timeout, &e->ev_timeout, >=)) { in insert_common_timeout_inorder()
2619 if (is_common_timeout(&ev->ev_timeout, base)) { in event_queue_insert()
2621 get_common_timeout_list(base, &ev->ev_timeout); in event_queue_insert()
2924 EVUTIL_ASSERT(evutil_timercmp(&p_ev->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok()
2934 EVUTIL_ASSERT(evutil_timercmp(&last->ev_timeout, &ev->ev_timeout, <=)); in event_base_assert_ok()
2936 EVUTIL_ASSERT(is_common_timeout(&ev->ev_timeout,base)); in event_base_assert_ok()
2937 EVUTIL_ASSERT(COMMON_TIMEOUT_IDX(&ev->ev_timeout) == i); in event_base_assert_ok()