/external/chromium_org/ui/base/models/ |
D | tree_node_model_unittest.cc | 197 TEST_F(TreeNodeModelTest, HasAncestor) { in TEST_F() argument 208 EXPECT_TRUE(root.HasAncestor(&root)); in TEST_F() 209 EXPECT_FALSE(root.HasAncestor(child1)); in TEST_F() 210 EXPECT_FALSE(root.HasAncestor(child2)); in TEST_F() 211 EXPECT_FALSE(root.HasAncestor(foo1)); in TEST_F() 213 EXPECT_TRUE(child1->HasAncestor(child1)); in TEST_F() 214 EXPECT_TRUE(child1->HasAncestor(&root)); in TEST_F() 215 EXPECT_FALSE(child1->HasAncestor(child2)); in TEST_F() 216 EXPECT_FALSE(child1->HasAncestor(foo1)); in TEST_F() 218 EXPECT_TRUE(child2->HasAncestor(child2)); in TEST_F() [all …]
|
D | tree_node_model.h | 161 bool HasAncestor(const NodeType* ancestor) const { in HasAncestor() function 166 return parent_ ? parent_->HasAncestor(ancestor) : false; in HasAncestor()
|
/external/chromium_org/ui/wm/core/ |
D | window_modality_controller.cc | 30 bool HasAncestor(aura::Window* window, aura::Window* ancestor) { in HasAncestor() function 35 return HasAncestor(window->parent(), ancestor); in HasAncestor() 59 (HasAncestor(original, GetModalParent(transient))))); in IsModalTransientChild()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | ITree.cs | 70 bool HasAncestor( int ttype ); in HasAncestor() method
|
D | BaseTree.cs | 455 public virtual bool HasAncestor( int ttype ) in HasAncestor() method in Antlr.Runtime.Tree.BaseTree
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | ITree.cs | 66 bool HasAncestor(int ttype); in HasAncestor() method
|
D | BaseTree.cs | 379 public virtual bool HasAncestor(int ttype) { in HasAncestor() method in Antlr.Runtime.Tree.BaseTree
|
/external/chromium_org/cc/layers/ |
D | layer_unittest.cc | 452 TEST_F(LayerTest, HasAncestor) { in TEST_F() argument 454 EXPECT_FALSE(parent->HasAncestor(parent)); in TEST_F() 459 EXPECT_FALSE(child->HasAncestor(child)); in TEST_F() 460 EXPECT_TRUE(child->HasAncestor(parent)); in TEST_F() 461 EXPECT_FALSE(parent->HasAncestor(child)); in TEST_F() 466 EXPECT_FALSE(child_child->HasAncestor(child_child)); in TEST_F() 467 EXPECT_TRUE(child_child->HasAncestor(parent)); in TEST_F() 468 EXPECT_TRUE(child_child->HasAncestor(child)); in TEST_F() 469 EXPECT_FALSE(parent->HasAncestor(child)); in TEST_F() 470 EXPECT_FALSE(parent->HasAncestor(child_child)); in TEST_F()
|
D | layer.cc | 215 DCHECK(!layer || !layer->HasAncestor(this)); in SetParent() 353 bool Layer::HasAncestor(const Layer* ancestor) const { in HasAncestor() function in cc::Layer
|
D | layer.h | 94 bool HasAncestor(const Layer* ancestor) const;
|
D | layer_impl.h | 117 bool HasAncestor(const LayerImpl* ancestor) const;
|
D | layer_impl.cc | 137 bool LayerImpl::HasAncestor(const LayerImpl* ancestor) const { in HasAncestor() function in cc::LayerImpl
|
/external/chromium_org/components/bookmarks/test/ |
D | test_bookmark_client.cc | 48 if (node->HasAncestor(extra_nodes_[i])) in IsAnExtraNode()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_drag_drop_views.cc | 151 if (drop_parent->HasAncestor(node)) in IsValidBookmarkDropLocation()
|
D | bookmark_editor_view.cc | 388 details_.existing_node->HasAncestor(node)) || in BookmarkNodeRemoved() 389 (parent_ && parent_->HasAncestor(node))) { in BookmarkNodeRemoved()
|
D | bookmark_menu_delegate.cc | 398 if (i->first->HasAncestor(*j)) { in WillRemoveBookmarks()
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | chrome_bookmark_client.cc | 82 return node && node->HasAncestor(managed_node_); in IsDescendantOfManagedNode()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | recently_used_folders_combo_model.cc | 167 if (i->type == Item::TYPE_NODE && i->node->HasAncestor(node)) { in OnWillRemoveBookmarks()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 3517 TEST(HasAncestor, MatchesDeclarationsThatGetVisitedLater) { in TEST() argument 3530 TEST(HasAncestor, DrillsThroughDifferentHierarchies) { in TEST() argument 3536 TEST(HasAncestor, BindsRecursiveCombinations) { in TEST() argument 3543 TEST(HasAncestor, BindsCombinationsWithHasDescendant) { in TEST() argument 3555 TEST(HasAncestor, MatchesClosestAncestor) { in TEST() argument 3569 TEST(HasAncestor, MatchesInTemplateInstantiations) { in TEST() argument 3577 TEST(HasAncestor, MatchesInImplicitCode) { in TEST() argument 3597 TEST(HasAncestor, MatchesAllAncestors) { in TEST() argument
|
/external/chromium_org/components/policy/core/browser/ |
D | managed_bookmarks_tracker_unittest.cc | 87 return node && node->HasAncestor(managed_node_); in IsManaged()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_model.cc | 245 if (new_parent->HasAncestor(node)) { in Move() 284 if (new_parent->HasAncestor(node)) { in Copy()
|
/external/chromium_org/ui/views/controls/tree/ |
D | tree_view.cc | 267 if (selected_node_ && selected_node_->HasAncestor(node)) in Collapse() 449 if (selected_node_ && selected_node_->HasAncestor(child_removing)) in TreeNodesRemoved()
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_editor_base_controller.mm | 557 if (parentNode_ == node || parentNode_->HasAncestor(node)) {
|
D | bookmark_bar_folder_controller.mm | 1272 if (!destParent->HasAncestor(sourceNode)) { 1426 if (destNode->HasAncestor(sourceNode))
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_common.cc | 129 DCHECK(descendant_layer.HasAncestor(&ancestor_layer)); in ComputeChangeOfBasisTranslation()
|