Home
last modified time | relevance | path

Searched refs:ev_timeout (Results 1 – 7 of 7) sorted by relevance

/external/libevent/test/
Dregress_minheap.c38 ev->ev_timeout.tv_sec = test_weakrand(); in set_random_timeout()
39 ev->ev_timeout.tv_usec = test_weakrand() & 0xfffff; in set_random_timeout()
49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, in check_heap()
50 &heap->p[parent_idx]->ev_timeout, >=)); in check_heap()
85 tt_want(evutil_timercmp(&last_e->ev_timeout, in test_heap_randomized()
86 &e->ev_timeout, <=)); in test_heap_randomized()
/external/libevent/
Devent.c1453 struct timeval timeout = head->ev_timeout; in common_timeout_schedule()
1472 if (!ev || ev->ev_timeout.tv_sec > now.tv_sec || in common_timeout_callback()
1473 (ev->ev_timeout.tv_sec == now.tv_sec && in common_timeout_callback()
1474 (ev->ev_timeout.tv_usec&MICROSECONDS_MASK) > now.tv_usec)) in common_timeout_callback()
1579 EVUTIL_ASSERT(is_same_common_timeout(&ev->ev_timeout, in event_persist_closure()
1582 if (is_common_timeout(&ev->ev_timeout, base)) { in event_persist_closure()
1587 relative_to = ev->ev_timeout; in event_persist_closure()
1595 relative_to = ev->ev_timeout; in event_persist_closure()
2398 struct timeval tmp = ev->ev_timeout; in event_pending()
2567 evutil_timerclear(&ev->ev_.ev_io.ev_timeout); in event_remove_timer_nolock_()
[all …]
Dminheap-internal.h62 (evutil_timercmp(&(a)->ev_timeout, &(b)->ev_timeout, >))
Devrpc-internal.h183 struct event ev_timeout; member
Devent-internal.h50 #define ev_io_timeout ev_.ev_io.ev_timeout
Devrpc.c742 evtimer_add(&ctx->ev_timeout, &tv); in evrpc_schedule_request_closure()
805 evtimer_assign(&ctx->ev_timeout, pool->base, evrpc_request_timeout, ctx); in evrpc_make_request()
867 event_del(&ctx->ev_timeout); in evrpc_reply_done()
/external/libevent/include/event2/
Devent_struct.h139 struct timeval ev_timeout; member
153 struct timeval ev_timeout; member