Searched refs:min_heap_idx (Results 1 - 8 of 8) sorted by relevance
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | minheap-internal.h | 66 void min_heap_elem_init_(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } 85 e->ev_timeout_pos.min_heap_idx = -1; 93 return e->ev_timeout_pos.min_heap_idx == 0; 98 if (-1 != e->ev_timeout_pos.min_heap_idx) 101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; 107 if (e->ev_timeout_pos.min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) 108 min_heap_shift_up_unconditional_(s, e->ev_timeout_pos.min_heap_idx, last); 110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); 111 e->ev_timeout_pos.min_heap_idx = -1; 119 if (-1 == e->ev_timeout_pos.min_heap_idx) { [all...] |
H A D | event.c | 3980 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i);
|
/freebsd-current/contrib/libevent/ |
H A D | minheap-internal.h | 66 void min_heap_elem_init_(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } 85 e->ev_timeout_pos.min_heap_idx = -1; 93 return e->ev_timeout_pos.min_heap_idx == 0; 98 if (-1 != e->ev_timeout_pos.min_heap_idx) 101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; 107 if (e->ev_timeout_pos.min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) 108 min_heap_shift_up_unconditional_(s, e->ev_timeout_pos.min_heap_idx, last); 110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); 111 e->ev_timeout_pos.min_heap_idx = -1; 119 if (-1 == e->ev_timeout_pos.min_heap_idx) { [all...] |
H A D | event.c | 3980 EVUTIL_ASSERT(ev->ev_timeout_pos.min_heap_idx == i);
|
/freebsd-current/contrib/libevent/test/ |
H A D | regress_minheap.c | 40 ev->ev_timeout_pos.min_heap_idx = -1;
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_minheap.c | 40 ev->ev_timeout_pos.min_heap_idx = -1;
|
/freebsd-current/contrib/libevent/include/event2/ |
H A D | event_struct.h | 129 int min_heap_idx; member in union:event::__anon1133
|
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/ |
H A D | event_struct.h | 129 int min_heap_idx; member in union:event::__anon5455
|
Completed in 101 milliseconds