Lines Matching defs:p_next
96 node_pointer p_next = p_nd->m_p_next_sibling;
98 _GLIBCXX_DEBUG_ASSERT(p_next != NULL);
99 _GLIBCXX_DEBUG_ASSERT(p_next->m_p_prev_or_parent == p_nd);
101 if (Cmp_Fn::operator()(p_nd->m_value, p_next->m_value))
103 p_next->m_p_prev_or_parent = p_nd->m_p_prev_or_parent;
105 if (p_next->m_p_prev_or_parent == NULL)
106 base_type::m_p_root = p_next;
108 p_next->m_p_prev_or_parent->m_p_next_sibling = p_next;
111 base_type::m_p_max = p_next;
113 base_type::make_child_of(p_nd, p_next);
115 ++p_next->m_metadata;
117 return p_next;
120 p_nd->m_p_next_sibling = p_next->m_p_next_sibling;
125 if (base_type::m_p_max == p_next)
128 base_type::make_child_of(p_next, p_nd);