Home
last modified time | relevance | path

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

/external/stlport/stlport/stl/
D_heap.c114 _Distance __secondChild = 2 * __holeIndex + 2; in __adjust_heap() local
115 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 …]