Lines Matching refs:element
44 inline Link* operator()(Element* element) const;
54 inline Link* operator()(Element* element) const;
79 static const Key& GetKey(Element* element);
81 inline void ModifyKey(Element* element, Key newKey);
86 inline status_t Insert(Element* element, Key key);
135 MinMaxHeapStandardGetLink<Element, Key>::operator()(Element* element) const
137 return element->GetMinMaxHeapLink();
145 Element* element) const
147 return &(element->*LinkMember);
223 MIN_MAX_HEAP_CLASS_NAME::GetKey(Element* element)
225 return sGetLink(element)->fKey;
231 MIN_MAX_HEAP_CLASS_NAME::ModifyKey(Element* element, Key newKey)
233 MinMaxHeapLink<Element, Key>* link = sGetLink(element);
259 Element* element = PeekMinimum();
260 MinMaxHeapLink<Element, Key>* link = sGetLink(element);
280 Element* element = PeekMaximum();
281 MinMaxHeapLink<Element, Key>* link = sGetLink(element);
292 MIN_MAX_HEAP_CLASS_NAME::Insert(Element* element, Key key)
303 MinMaxHeapLink<Element, Key>* link = sGetLink(element);
312 tree[lastElement] = element;
362 Element* element = tree[link->fIndex];
364 tree[parent] = element;
405 Element* element = tree[link->fIndex];
407 tree[current] = element;
448 Element* element = currentTree[link->fIndex];
450 otherTree[predecessorLink->fIndex] = element;
481 Element* element = tree[lastElement];
484 fMinElements[0] = element;
486 fMaxElements[0] = element;
488 MinMaxHeapLink<Element, Key>* link = sGetLink(element);