Lines Matching refs:__secondChild
228 _Distance __secondChild = __holeIndex;
229 while (__secondChild < (__len - 1) / 2)
231 __secondChild = 2 * (__secondChild + 1);
232 if (*(__first + __secondChild) < *(__first + (__secondChild - 1)))
233 __secondChild--;
234 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
235 __holeIndex = __secondChild;
237 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2)
239 __secondChild = 2 * (__secondChild + 1);
241 + (__secondChild - 1)));
242 __holeIndex = __secondChild - 1;
299 _Distance __secondChild = __holeIndex;
300 while (__secondChild < (__len - 1) / 2)
302 __secondChild = 2 * (__secondChild + 1);
303 if (__comp(*(__first + __secondChild),
304 *(__first + (__secondChild - 1))))
305 __secondChild--;
306 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
307 __holeIndex = __secondChild;
309 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2)
311 __secondChild = 2 * (__secondChild + 1);
313 + (__secondChild - 1)));
314 __holeIndex = __secondChild - 1;