Searched refs:__holeIndex (Results 1 – 2 of 2) sorted by relevance
43 _Distance __holeIndex, _Distance __topIndex, _Tp __val) in __push_heap() argument45 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap()46 while (__holeIndex > __topIndex && *(__first + __parent) < __val) { in __push_heap()47 *(__first + __holeIndex) = *(__first + __parent); in __push_heap()48 __holeIndex = __parent; in __push_heap()49 __parent = (__holeIndex - 1) / 2; in __push_heap()51 *(__first + __holeIndex) = __val; in __push_heap()76 __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, in __push_heap() argument79 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap()80 while (__holeIndex > __topIndex && __comp(*(__first + __parent), __val)) { in __push_heap()[all …]
49 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,68 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,