• Home
  • Raw
  • Download

Lines Matching refs:root_

19                 t->root_ && !t->root_->parent_ && !t->root_->prev_ &&  in add_before()
20 !t->root_->next_); in add_before()
21 t->root_->parent_ = this->parent_; in add_before()
22 t->root_->next_ = this; in add_before()
24 t->root_->prev_ = this->prev_; in add_before()
25 this->prev_->next_ = t->root_; in add_before()
28 this->parent_->children_ = t->root_; in add_before()
30 this->prev_ = t->root_; in add_before()
31 t->root_ = 0; in add_before()
37 t->root_ && !t->root_->parent_ && !t->root_->prev_ && in add_after()
38 !t->root_->next_); in add_after()
39 t->root_->parent_ = this->parent_; in add_after()
40 t->root_->prev_ = this; in add_after()
41 t->root_->next_ = this->next_; in add_after()
42 if (this->next_) this->next_->prev_ = t->root_; in add_after()
43 this->next_ = t->root_; in add_after()
44 t->root_ = 0; in add_after()
50 t->root_ && !t->root_->parent_ && !t->root_->prev_ && in add_first_child()
51 !t->root_->next_); in add_first_child()
52 t->root_->parent_ = this; in add_first_child()
53 t->root_->next_ = this->children_; in add_first_child()
55 this->children_->prev_ = t->root_; in add_first_child()
57 this->children_ = t->root_; in add_first_child()
58 t->root_ = 0; in add_first_child()
64 t->root_ && !t->root_->parent_ && !t->root_->prev_ && in add_last_child()
65 !t->root_->next_); in add_last_child()
66 t->root_->parent_ = this; in add_last_child()
68 this->children_ = t->root_; in add_last_child()
75 t->root_->prev_ = it; in add_last_child()
76 it->next_ = t->root_; in add_last_child()
78 t->root_ = 0; in add_last_child()
81 tree_base::tree_base() : root_(0) {} in tree_base()
82 tree_base::tree_base(tree_node_base* r) : root_(r) {} in tree_base()
85 tree_base::tree_base(tree_base&& x) : root_(x.root_) { x.root_ = 0; } in tree_base()
89 root_ = x.root_; in operator =()
90 x.root_ = 0; in operator =()
101 assert(x == root_); in extract()
102 root_ = x->next_; in extract()
131 root_ = x.root_; in operator =()
134 x.root_ = 0; in operator =()
150 assert(x == root_); in extract()
151 root_ = x->next_; in extract()
153 current_ = root_; in extract()
170 tree_node_base* n = root_; in release()
171 root_ = 0; in release()
188 root_ = n; in add_element()