Searched refs:__secondChild (Results 1 – 1 of 1) sorted by relevance
114 _Distance __secondChild = 2 * __holeIndex + 2; in __adjust_heap() local115 while (__secondChild < __len) { in __adjust_heap()116 if (*(__first + __secondChild) < *(__first + (__secondChild - 1))) in __adjust_heap()117 __secondChild--; in __adjust_heap()118 *(__first + __holeIndex) = *(__first + __secondChild); in __adjust_heap()119 __holeIndex = __secondChild; in __adjust_heap()120 __secondChild = 2 * (__secondChild + 1); in __adjust_heap()122 if (__secondChild == __len) { in __adjust_heap()123 *(__first + __holeIndex) = *(__first + (__secondChild - 1)); in __adjust_heap()124 __holeIndex = __secondChild - 1; in __adjust_heap()[all …]