Searched refs:ev_timeout_pos (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | minheap-internal.h | 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_() 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_() 122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_() 128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_() 162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_() [all …]
|
H A D | event.c | 885 ev_timeout_pos.ev_next_with_common_timeout); in event_base_free_() 3282 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_remove_timeout() 3304 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout() 3311 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout() 3343 event_list, ev_timeout_pos.ev_next_with_common_timeout) { in insert_common_timeout_inorder() 3352 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder() 3357 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder() 3709 ev_timeout_pos.ev_next_with_common_timeout) { in event_base_foreach_event_nolock_() 3850 ev_timeout_pos.ev_next_with_common_timeout) { in event_base_active_by_fd() 3980 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i); in event_base_assert_ok_nolock_() [all …]
|
/freebsd/contrib/libevent/ |
H A D | minheap-internal.h | 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_() 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_() 122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_() 128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_() 162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_() [all …]
|
H A D | event.c | 885 ev_timeout_pos.ev_next_with_common_timeout); in event_base_free_() 3282 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_remove_timeout() 3304 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout() 3311 ev_timeout_pos.ev_next_with_common_timeout); in event_queue_reinsert_timeout() 3343 event_list, ev_timeout_pos.ev_next_with_common_timeout) { in insert_common_timeout_inorder() 3352 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder() 3357 ev_timeout_pos.ev_next_with_common_timeout); in insert_common_timeout_inorder() 3709 ev_timeout_pos.ev_next_with_common_timeout) { in event_base_foreach_event_nolock_() 3850 ev_timeout_pos.ev_next_with_common_timeout) { in event_base_active_by_fd() 3980 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i); in event_base_assert_ok_nolock_() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress_minheap.c | 40 ev->ev_timeout_pos.min_heap_idx = -1; in set_random_timeout()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_minheap.c | 40 ev->ev_timeout_pos.min_heap_idx = -1; in set_random_timeout()
|
/freebsd/contrib/ntp/sntp/libevent/include/event2/ |
H A D | event_struct.h | 130 } ev_timeout_pos; member
|
/freebsd/contrib/libevent/include/event2/ |
H A D | event_struct.h | 130 } ev_timeout_pos; member
|