Home
last modified time | relevance | path

Searched refs:ev_timeout_pos (Results 1 – 4 of 4) sorted by relevance

/external/libevent/
Dminheap-internal.h66 void min_heap_elem_init_(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } in min_heap_elem_init_()
85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
107 if (e->ev_timeout_pos.min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) in min_heap_erase_()
108 min_heap_shift_up_unconditional_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
[all …]
Devent.c843 ev_timeout_pos.ev_next_with_common_timeout); in event_base_free_()
3231 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_remove_timeout()
3253 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout()
3260 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout()
3292 event_list, ev_timeout_pos.ev_next_with_common_timeout) { in insert_common_timeout_inorder()
3301 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder()
3306 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder()
3658 ev_timeout_pos.ev_next_with_common_timeout) { in event_base_foreach_event_nolock_()
3900 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i); in event_base_assert_ok_nolock_()
3908 EVUTIL_ASSERT_TAILQ_OK(&ctl->events, event, ev_timeout_pos.ev_next_with_common_timeout); in event_base_assert_ok_nolock_()
[all …]
/external/libevent/test/
Dregress_minheap.c40 ev->ev_timeout_pos.min_heap_idx = -1; in set_random_timeout()
/external/libevent/include/event2/
Devent_struct.h130 } ev_timeout_pos; member