Lines Matching refs:parent_
235 if (new_parent != parent_) { in Rename()
258 if (parent_ == nullptr) { in Rename()
263 auto it = parent_->children_.find(this); in Rename()
264 CHECK(it != parent_->children_.end()); in Rename()
265 parent_->children_.erase(it); in Rename()
269 parent_->children_.insert(this); in Rename()
294 return parent_; in GetParent()
377 parent_(nullptr), in node()
409 CHECK(parent_ == nullptr); in AddToParent()
413 parent_ = parent; in AddToParent()
414 parent_->children_.insert(this); in AddToParent()
418 parent_->Acquire(); in AddToParent()
425 if (parent_ != nullptr) { in RemoveFromParent()
426 auto it = parent_->children_.find(this); in RemoveFromParent()
427 CHECK(it != parent_->children_.end()); in RemoveFromParent()
428 parent_->children_.erase(it); in RemoveFromParent()
430 parent_->Release(1); in RemoveFromParent()
431 parent_ = nullptr; in RemoveFromParent()
527 node* parent_; variable