Home
last modified time | relevance | path

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

/haiku/headers/cpp/
H A Dstl_heap.h44 _Distance __holeIndex, _Distance __topIndex, _Tp __value) in __push_heap() argument
46 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap()
47 while (__holeIndex > __topIndex && *(__first + __parent) < __value) { in __push_heap()
48 *(__first + __holeIndex) = *(__first + __parent); in __push_heap()
49 __holeIndex = __parent; in __push_heap()
50 __parent = (__holeIndex - 1) / 2; in __push_heap()
52 *(__first + __holeIndex) = __value; in __push_heap()
75 __push_heap(_RandomAccessIterator __first, _Distance __holeIndex, in __push_heap() argument
78 _Distance __parent = (__holeIndex - 1) / 2; in __push_heap()
79 while (__holeIndex > __topIndex && __comp(*(__first + __parent), __value)) { in __push_heap()
[all …]