Searched refs:HasAncestor (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/ui/base/models/
H A Dtree_node_model_unittest.cc197 TEST_F(TreeNodeModelTest, HasAncestor) {
208 EXPECT_TRUE(root.HasAncestor(&root));
209 EXPECT_FALSE(root.HasAncestor(child1));
210 EXPECT_FALSE(root.HasAncestor(child2));
211 EXPECT_FALSE(root.HasAncestor(foo1));
213 EXPECT_TRUE(child1->HasAncestor(child1));
214 EXPECT_TRUE(child1->HasAncestor(&root));
215 EXPECT_FALSE(child1->HasAncestor(child2));
216 EXPECT_FALSE(child1->HasAncestor(foo1));
218 EXPECT_TRUE(child2->HasAncestor(child
[all...]
H A Dtree_node_model.h161 bool HasAncestor(const NodeType* ancestor) const { function in class:ui::TreeNode
166 return parent_ ? parent_->HasAncestor(ancestor) : false;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DITree.cs66 bool HasAncestor(int ttype); method in interface:Antlr.Runtime.Tree.ITree
H A DBaseTree.cs379 public virtual bool HasAncestor(int ttype) { method in class:Antlr.Runtime.Tree.BaseTree
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DITree.cs70 bool HasAncestor( int ttype ); method in interface:Antlr.Runtime.Tree.ITree
H A DBaseTree.cs455 public virtual bool HasAncestor( int ttype ) method in class:Antlr.Runtime.Tree.BaseTree
/external/chromium_org/components/bookmarks/test/
H A Dtest_bookmark_client.cc48 if (node->HasAncestor(extra_nodes_[i]))
/external/chromium_org/ui/wm/core/
H A Dwindow_modality_controller.cc30 bool HasAncestor(aura::Window* window, aura::Window* ancestor) { function in namespace:wm::__anon17201
35 return HasAncestor(window->parent(), ancestor);
59 (HasAncestor(original, GetModalParent(transient)))));
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_drag_drop_views.cc153 if (drop_parent->HasAncestor(node))
H A Dbookmark_editor_view.cc388 details_.existing_node->HasAncestor(node)) ||
389 (parent_ && parent_->HasAncestor(node))) {
H A Dbookmark_menu_delegate.cc398 if (i->first->HasAncestor(*j)) {
/external/chromium_org/cc/layers/
H A Dlayer_unittest.cc450 TEST_F(LayerTest, HasAncestor) {
452 EXPECT_FALSE(parent->HasAncestor(parent.get()));
457 EXPECT_FALSE(child->HasAncestor(child.get()));
458 EXPECT_TRUE(child->HasAncestor(parent.get()));
459 EXPECT_FALSE(parent->HasAncestor(child.get()));
464 EXPECT_FALSE(child_child->HasAncestor(child_child.get()));
465 EXPECT_TRUE(child_child->HasAncestor(parent.get()));
466 EXPECT_TRUE(child_child->HasAncestor(child.get()));
467 EXPECT_FALSE(parent->HasAncestor(child.get()));
468 EXPECT_FALSE(parent->HasAncestor(child_chil
[all...]
H A Dlayer.h95 bool HasAncestor(const Layer* ancestor) const;
H A Dlayer.cc219 DCHECK(!layer || !layer->HasAncestor(this));
361 bool Layer::HasAncestor(const Layer* ancestor) const { function in class:cc::Layer
H A Dlayer_impl.h132 bool HasAncestor(const LayerImpl* ancestor) const;
H A Dlayer_impl.cc143 bool LayerImpl::HasAncestor(const LayerImpl* ancestor) const { function in class:cc::LayerImpl
/external/chromium_org/chrome/browser/bookmarks/
H A Dchrome_bookmark_client.cc79 return node && node->HasAncestor(managed_node_);
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Drecently_used_folders_combo_model.cc166 if (i->type == Item::TYPE_NODE && i->node->HasAncestor(node)) {
/external/chromium_org/components/policy/core/browser/
H A Dmanaged_bookmarks_tracker_unittest.cc88 return node && node->HasAncestor(managed_node_);
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_model.cc246 if (new_parent->HasAncestor(node)) {
285 if (new_parent->HasAncestor(node)) {
/external/chromium_org/ui/views/controls/tree/
H A Dtree_view.cc267 if (selected_node_ && selected_node_->HasAncestor(node))
449 if (selected_node_ && selected_node_->HasAncestor(child_removing))
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp3517 TEST(HasAncestor, MatchesDeclarationsThatGetVisitedLater) {
3530 TEST(HasAncestor, DrillsThroughDifferentHierarchies) {
3536 TEST(HasAncestor, BindsRecursiveCombinations) {
3543 TEST(HasAncestor, BindsCombinationsWithHasDescendant) {
3555 TEST(HasAncestor, MatchesClosestAncestor) {
3569 TEST(HasAncestor, MatchesInTemplateInstantiations) {
3577 TEST(HasAncestor, MatchesInImplicitCode) {
3597 TEST(HasAncestor, MatchesAllAncestors) {
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.cc131 DCHECK(descendant_layer.HasAncestor(&ancestor_layer));

Completed in 703 milliseconds