Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dstl_heap.h228 _Distance __secondChild = __holeIndex; in _GLIBCXX_VISIBILITY() local
229 while (__secondChild < (__len - 1) / 2) in _GLIBCXX_VISIBILITY()
231 __secondChild = 2 * (__secondChild + 1); in _GLIBCXX_VISIBILITY()
232 if (__comp(__first + __secondChild, in _GLIBCXX_VISIBILITY()
233 __first + (__secondChild - 1))) in _GLIBCXX_VISIBILITY()
234 __secondChild--; in _GLIBCXX_VISIBILITY()
235 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild)); in _GLIBCXX_VISIBILITY()
236 __holeIndex = __secondChild; in _GLIBCXX_VISIBILITY()
238 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2) in _GLIBCXX_VISIBILITY()
240 __secondChild = 2 * (__secondChild + 1); in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dstl_heap.h227 _Distance __secondChild = __holeIndex; in _GLIBCXX_VISIBILITY() local
228 while (__secondChild < (__len - 1) / 2) in _GLIBCXX_VISIBILITY()
230 __secondChild = 2 * (__secondChild + 1); in _GLIBCXX_VISIBILITY()
231 if (__comp(__first + __secondChild, in _GLIBCXX_VISIBILITY()
232 __first + (__secondChild - 1))) in _GLIBCXX_VISIBILITY()
233 __secondChild--; in _GLIBCXX_VISIBILITY()
234 *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild)); in _GLIBCXX_VISIBILITY()
235 __holeIndex = __secondChild; in _GLIBCXX_VISIBILITY()
237 if ((__len & 1) == 0 && __secondChild == (__len - 2) / 2) in _GLIBCXX_VISIBILITY()
239 __secondChild = 2 * (__secondChild + 1); in _GLIBCXX_VISIBILITY()
[all …]