Home | History | Annotate | Download | only in bits

Lines Matching refs:__secondChild

231       _Distance __secondChild = __holeIndex;
232 while (__secondChild < (__len - 1) / 2)
234 __secondChild = 2 * (__secondChild + 1);
235 if (*(__first + __secondChild) < *(__first + (__secondChild - 1)))
236 __secondChild--;
237 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
238 __holeIndex = __secondChild;
240 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2)
242 __secondChild = 2 * (__secondChild + 1);
244 + (__secondChild - 1)));
245 __holeIndex = __secondChild - 1;
308 _Distance __secondChild = __holeIndex;
309 while (__secondChild < (__len - 1) / 2)
311 __secondChild = 2 * (__secondChild + 1);
312 if (__comp(*(__first + __secondChild),
313 *(__first + (__secondChild - 1))))
314 __secondChild--;
315 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
316 __holeIndex = __secondChild;
318 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2)
320 __secondChild = 2 * (__secondChild + 1);
322 + (__secondChild - 1)));
323 __holeIndex = __secondChild - 1;