Home | History | Annotate | Download | only in binary_heap_

Lines Matching refs:m_a_entries

50   return point_iterator(m_a_entries);
59 m_a_entries[m_size++] = val;
72 m_a_entries[m_size++] = p_new;
90 std::copy(m_a_entries, m_a_entries + m_size, new_entries);
91 s_entry_allocator.deallocate(m_a_entries, m_actual_size);
93 m_a_entries = new_entries;
114 size_type i = p_e - m_a_entries;
115 if (i > 0 && entry_cmp::operator()(m_a_entries[parent(i)], m_a_entries[i]))
119 && entry_cmp::operator()(m_a_entries[parent_i], m_a_entries[i]))
121 std::swap(m_a_entries[i], m_a_entries[parent_i]);
137 entry_cmp::operator()(m_a_entries[i], m_a_entries[lchild_i]);
140 entry_cmp::operator()(m_a_entries[i], m_a_entries[rchild_i]);
142 const bool swap_with_rchild = smaller_than_rchild && (!smaller_than_lchild || entry_cmp::operator()(m_a_entries[lchild_i], m_a_entries[rchild_i]));
148 std::swap(m_a_entries[i], m_a_entries[lchild_i]);
153 std::swap(m_a_entries[i], m_a_entries[rchild_i]);