Searched refs:min_child (Results 1 – 1 of 1) sorted by relevance
147 unsigned min_child = 2 * (hole_index + 1); in min_heap_shift_down_() local148 while (min_child <= s->n) in min_heap_shift_down_()150 min_child -= min_child == s->n || min_heap_elem_greater(s->p[min_child], s->p[min_child - 1]); in min_heap_shift_down_()151 if (!(min_heap_elem_greater(e, s->p[min_child]))) in min_heap_shift_down_()153 (s->p[hole_index] = s->p[min_child])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_down_()154 hole_index = min_child; in min_heap_shift_down_()155 min_child = 2 * (hole_index + 1); in min_heap_shift_down_()