Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 3454) sorted by relevance

12345678910>>...139

/external/chromium_org/ui/views/corewm/
Dtransient_window_stacking_client_unittest.cc39 scoped_ptr<Window> parent(CreateTestWindowWithId(0, root_window())); in TEST_F() local
40 scoped_ptr<Window> w1(CreateTestWindowWithId(1, parent.get())); in TEST_F()
41 Window* w11 = CreateTestWindowWithId(11, parent.get()); in TEST_F()
42 scoped_ptr<Window> w2(CreateTestWindowWithId(2, parent.get())); in TEST_F()
43 Window* w21 = CreateTestWindowWithId(21, parent.get()); in TEST_F()
44 Window* w211 = CreateTestWindowWithId(211, parent.get()); in TEST_F()
45 Window* w212 = CreateTestWindowWithId(212, parent.get()); in TEST_F()
46 Window* w213 = CreateTestWindowWithId(213, parent.get()); in TEST_F()
47 Window* w22 = CreateTestWindowWithId(22, parent.get()); in TEST_F()
48 ASSERT_EQ(8u, parent->children().size()); in TEST_F()
[all …]
/external/blktrace/
Drbtree.c28 struct rb_node *parent = rb_parent(node); in __rb_rotate_left() local
34 rb_set_parent(right, parent); in __rb_rotate_left()
36 if (parent) in __rb_rotate_left()
38 if (node == parent->rb_left) in __rb_rotate_left()
39 parent->rb_left = right; in __rb_rotate_left()
41 parent->rb_right = right; in __rb_rotate_left()
51 struct rb_node *parent = rb_parent(node); in __rb_rotate_right() local
57 rb_set_parent(left, parent); in __rb_rotate_right()
59 if (parent) in __rb_rotate_right()
61 if (node == parent->rb_right) in __rb_rotate_right()
[all …]
/external/linux-tools-perf/util/added/
Drbtree.c29 struct rb_node *parent = rb_parent(node); in __rb_rotate_left() local
35 rb_set_parent(right, parent); in __rb_rotate_left()
37 if (parent) in __rb_rotate_left()
39 if (node == parent->rb_left) in __rb_rotate_left()
40 parent->rb_left = right; in __rb_rotate_left()
42 parent->rb_right = right; in __rb_rotate_left()
52 struct rb_node *parent = rb_parent(node); in __rb_rotate_right() local
58 rb_set_parent(left, parent); in __rb_rotate_right()
60 if (parent) in __rb_rotate_right()
62 if (node == parent->rb_right) in __rb_rotate_right()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DNodeTraversal.cpp53 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextIncludingPseudo() local
54 if (parent == stayWithin) in nextIncludingPseudo()
56 if (Node* next = parent->pseudoAwareNextSibling()) in nextIncludingPseudo()
68 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextIncludingPseudoSkippingChildren() local
69 if (parent == stayWithin) in nextIncludingPseudoSkippingChildren()
71 if (Node* next = parent->pseudoAwareNextSibling()) in nextIncludingPseudoSkippingChildren()
80 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextAncestorSibling() local
81 if (parent->nextSibling()) in nextAncestorSibling()
82 return parent->nextSibling(); in nextAncestorSibling()
91 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextAncestorSibling() local
[all …]
DDocumentMarkerControllerTest.cpp95 RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
96 parent->appendChild(createTextNode("bar").get()); in TEST_F()
97 markNodeContents(parent.get()); in TEST_F()
99 parent->normalize(); in TEST_F()
108 RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
109 markNodeContents(parent.get()); in TEST_F()
111 parent->removeChildren(); in TEST_F()
120 RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
121 markNodeContents(parent); in TEST_F()
123 parent->removeChild(parent->firstChild()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXARIAGridCell.cpp55 AXObject* parent = parentObjectUnignored(); in parentTable() local
56 if (!parent) in parentTable()
59 if (parent->isAXTable()) in parentTable()
60 return parent; in parentTable()
65 parent = parent->parentObjectUnignored(); in parentTable()
66 if (!parent || !parent->isAXTable()) in parentTable()
69 return parent; in parentTable()
74 AXObject* parent = parentObjectUnignored(); in rowIndexRange() local
75 if (!parent) in rowIndexRange()
78 if (parent->isTableRow()) { in rowIndexRange()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DNFAContext.java101 public NFAContext parent; field in NFAContext
119 public NFAContext(NFAContext parent, NFAState invokingState) { in NFAContext() argument
120 this.parent = parent; in NFAContext()
125 if ( parent!=null ) { in NFAContext()
126 this.cachedHashCode += parent.cachedHashCode; in NFAContext()
148 while ( sp.parent!=null && other.parent!=null ) { in equals()
152 sp = sp.parent; in equals()
153 other = other.parent; in equals()
155 if ( !(sp.parent==null && other.parent==null) ) { in equals()
210 while ( sp.parent!=null && other.parent!=null ) { in suffix()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dinttree.c78 it->nil->parent = it->nil; in IT_create()
84 it->root->parent = it->nil; in IT_create()
134 y->left->parent=x; /* used to use sentinel here */ in LeftRotate()
137 y->parent=x->parent; in LeftRotate()
142 if (x == x->parent->left) in LeftRotate()
143 x->parent->left=y; in LeftRotate()
145 x->parent->right=y; in LeftRotate()
147 x->parent=y; in LeftRotate()
199 x->right->parent=y; /*used to use sentinel here */ in RightRotate()
205 x->parent=y->parent; in RightRotate()
[all …]
/external/chromium_org/ui/views/controls/
Dscroll_view_unittest.cc31 if (parent()) { in Layout()
32 width = std::max(parent()->width(), width); in Layout()
33 height = std::max(parent()->height(), height); in Layout()
53 EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString()); in TEST()
66 EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); in TEST()
67 EXPECT_EQ(100, contents->parent()->height()); in TEST()
76 EXPECT_EQ(100, contents->parent()->width()); in TEST()
78 contents->parent()->height()); in TEST()
87 EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); in TEST()
89 contents->parent()->height()); in TEST()
[all …]
/external/markdown/markdown/
Dblockprocessors.py32 def lastChild(self, parent): argument
34 if len(parent):
35 return parent[-1]
60 def test(self, parent, block): argument
80 def run(self, parent, blocks): argument
120 def test(self, parent, block): argument
123 (parent.tag in self.ITEM_TYPES or \
124 (len(parent) and parent[-1] and \
125 (parent[-1].tag in self.LIST_TYPES)
129 def run(self, parent, blocks): argument
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm24 const BookmarkNode* parent = model->bookmark_bar_node();
25 EXPECT_EQ(0, parent->child_count());
30 parent:parent
36 EXPECT_EQ(0, parent->child_count());
41 EXPECT_EQ(0, parent->child_count());
45 EXPECT_EQ(1, parent->child_count());
46 EXPECT_TRUE(parent->GetChild(0)->is_folder());
47 EXPECT_EQ(ASCIIToUTF16("Bozo"), parent->GetChild(0)->GetTitle());
53 const BookmarkNode* parent = model->bookmark_bar_node();
56 model->AddURL(parent, 0, ASCIIToUTF16("title 1"),
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm25 const BookmarkNode* parent = model->GetBookmarkBarNode();
26 EXPECT_EQ(0, parent->child_count());
32 parent:parent
38 EXPECT_EQ(0, parent->child_count());
43 EXPECT_EQ(0, parent->child_count());
47 EXPECT_EQ(1, parent->child_count());
48 EXPECT_TRUE(parent->GetChild(0)->is_folder());
49 EXPECT_EQ(ASCIIToUTF16("Bozo"), parent->GetChild(0)->GetTitle());
55 const BookmarkNode* parent = model->GetBookmarkBarNode();
58 model->AddURL(parent, 0, ASCIIToUTF16("title 1"),
[all …]
/external/chromium_org/cc/layers/
Dlayer_unittest.cc90 EXPECT_EQ(parent_.get(), child1_->parent()); in VerifyTestTreeInitialState()
91 EXPECT_EQ(parent_.get(), child2_->parent()); in VerifyTestTreeInitialState()
92 EXPECT_EQ(parent_.get(), child3_->parent()); in VerifyTestTreeInitialState()
97 EXPECT_EQ(child1_.get(), grand_child1_->parent()); in VerifyTestTreeInitialState()
98 EXPECT_EQ(child1_.get(), grand_child2_->parent()); in VerifyTestTreeInitialState()
102 EXPECT_EQ(child2_.get(), grand_child3_->parent()); in VerifyTestTreeInitialState()
158 scoped_refptr<Layer> parent = Layer::Create(); in TEST_F() local
162 ASSERT_EQ(0U, parent->children().size()); in TEST_F()
163 EXPECT_FALSE(child->parent()); in TEST_F()
165 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent)); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DPODRedBlackTree.h289 Node* parent() const { return m_parent; } in parent() function
392 Node* y = x->parent(); in treeSuccessor()
395 y = y->parent(); in treeSuccessor()
415 start = start->parent(); in propagateUpdates()
436 y->setParent(x->parent()); in leftRotate()
437 if (!x->parent()) { in leftRotate()
440 if (x == x->parent()->left()) in leftRotate()
441 x->parent()->setLeft(y); in leftRotate()
443 x->parent()->setRight(y); in leftRotate()
469 x->setParent(y->parent()); in rightRotate()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DALoopIncCommand.java71 this._position_.parent(null); in setPosition()
76 if(node.parent() != null) in setPosition()
78 node.parent().removeChild(node); in setPosition()
81 node.parent(this); in setPosition()
96 this._variable_.parent(null); in setVariable()
101 if(node.parent() != null) in setVariable()
103 node.parent().removeChild(node); in setVariable()
106 node.parent(this); in setVariable()
121 this._start_.parent(null); in setStart()
126 if(node.parent() != null) in setStart()
[all …]
DADefCommand.java62 this._position_.parent(null); in setPosition()
67 if(node.parent() != null) in setPosition()
69 node.parent().removeChild(node); in setPosition()
72 node.parent(this); in setPosition()
89 if(e.parent() != null) in setMacro()
91 e.parent().removeChild(e); in setMacro()
94 e.parent(this); in setMacro()
109 if(e.parent() != null) in setArguments()
111 e.parent().removeChild(e); in setArguments()
114 e.parent(this); in setArguments()
[all …]
DALoopCommand.java66 this._position_.parent(null); in setPosition()
71 if(node.parent() != null) in setPosition()
73 node.parent().removeChild(node); in setPosition()
76 node.parent(this); in setPosition()
91 this._variable_.parent(null); in setVariable()
96 if(node.parent() != null) in setVariable()
98 node.parent().removeChild(node); in setVariable()
101 node.parent(this); in setVariable()
116 this._start_.parent(null); in setStart()
121 if(node.parent() != null) in setStart()
[all …]
/external/e2fsprogs/e2fsck/
Ddict.c53 #define parent dict_parent macro
89 lowleft->parent = upper; in rotate_left()
91 lower->parent = upparent = upper->parent; in rotate_left()
104 upper->parent = lower; in rotate_left()
118 lowright->parent = upper; in rotate_right()
120 lower->parent = upparent = upper->parent; in rotate_right()
130 upper->parent = lower; in rotate_right()
268 new->nilnode.parent = &new->nilnode; in dict_create()
345 dict->nilnode.parent = &dict->nilnode; in dict_init()
366 dict->nilnode.parent = &dict->nilnode; in dict_init_like()
[all …]
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Ddoc_writer.py60 def _AddTextWithLinks(self, parent, text): argument
80 self.AddText(parent, text[:start])
82 self.AddElement(parent, 'a', {'href': url}, url)
85 self.AddText(parent, text)
88 def _AddStyledElement(self, parent, name, style_ids, attrs=None, text=None): argument
105 return self.AddElement(parent, name, attrs, text)
107 def _AddDescription(self, parent, policy): argument
117 self._AddTextWithLinks(parent, policy['desc'])
120 ul = self.AddElement(parent, 'ul')
129 def _AddFeatures(self, parent, policy): argument
[all …]
Dadmx_writer.py51 def _AddPolicyNamespaces(self, parent, prefix, namespace): argument
64 policy_namespaces_elem = self.AddElement(parent, 'policyNamespaces')
76 def _AddCategory(self, parent, name, display_name, argument
95 parent.getElementsByTagName('category'))
105 category_elem = self.AddElement(parent, 'category', attributes)
136 def _AddSupportedOn(self, parent, supported_os): argument
154 supported_on_elem = self.AddElement(parent, 'supportedOn')
162 def _AddStringPolicy(self, parent, name): argument
170 self.AddElement(parent, 'text', attributes)
172 def _AddIntPolicy(self, parent, name): argument
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/text/
DBidiContext.cpp34 void* parent; member
39 …ed char level, Direction direction, bool override, BidiEmbeddingSource source, BidiContext* parent) in createUncached() argument
41 return adoptRef(new BidiContext(level, direction, override, source, parent)); in createUncached()
44 …ed char level, Direction direction, bool override, BidiEmbeddingSource source, BidiContext* parent) in create() argument
48 if (parent) in create()
49 return createUncached(level, direction, override, source, parent); in create()
71 …ne PassRefPtr<BidiContext> copyContextAndRebaselineLevel(BidiContext* context, BidiContext* parent) in copyContextAndRebaselineLevel() argument
74 unsigned char newLevel = parent ? parent->level() : 0; in copyContextAndRebaselineLevel()
77 else if (parent) in copyContextAndRebaselineLevel()
80 …turn BidiContext::create(newLevel, context->dir(), context->override(), context->source(), parent); in copyContextAndRebaselineLevel()
[all …]
/external/chromium_org/ui/aura/test/
Dtest_windows.cc16 Window* CreateTestWindowWithId(int id, Window* parent) { in CreateTestWindowWithId() argument
17 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); in CreateTestWindowWithId()
20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { in CreateTestWindowWithBounds() argument
21 return CreateTestWindowWithDelegate(NULL, 0, bounds, parent); in CreateTestWindowWithBounds()
27 Window* parent) { in CreateTestWindow() argument
29 id, bounds, parent); in CreateTestWindow()
35 Window* parent) { in CreateTestWindowWithDelegate() argument
41 parent); in CreateTestWindowWithDelegate()
48 Window* parent) { in CreateTestWindowWithDelegateAndType() argument
55 if (parent) in CreateTestWindowWithDelegateAndType()
[all …]
/external/chromium_org/ui/base/models/
Dtree_node_model.h79 NodeType* parent = node->parent_; in Add() local
80 if (parent) in Add()
81 parent->Remove(node); in Add()
113 const NodeType* parent() const { return parent_; } in parent() function
114 NodeType* parent() { return parent_; } in parent() function
221 void Add(NodeType* parent, NodeType* node, int index) { in Add() argument
222 DCHECK(parent && node); in Add()
223 parent->Add(node, index); in Add()
224 NotifyObserverTreeNodesAdded(parent, index, 1); in Add()
227 NodeType* Remove(NodeType* parent, NodeType* node) { in Remove() argument
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/
Dnsview_additions_unittest.mm41 base::scoped_nsobject<NSView> parent(
48 [parent addSubview:child1];
49 [parent addSubview:child2];
57 [parent addSubview:child2];
58 [parent addSubview:child1];
66 base::scoped_nsobject<NSView> parent(
73 [parent addSubview:child1];
74 [parent cr_ensureSubview:child2
77 EXPECT_NSEQ([[parent subviews] objectAtIndex:0], child1);
78 EXPECT_NSEQ([[parent subviews] objectAtIndex:1], child2);
[all …]
/external/chromium_org/cc/trees/
Docclusion_tracker_unittest.cc218 typename Types::LayerType* CreateLayer(typename Types::LayerType* parent, in CreateLayer() argument
225 parent->AddChild(Types::PassLayerPtr(&layer)); in CreateLayer()
229 typename Types::LayerType* CreateSurface(typename Types::LayerType* parent, in CreateSurface() argument
234 CreateLayer(parent, transform, position, bounds); in CreateSurface()
240 typename Types::LayerType* parent, in CreateDrawingLayer() argument
260 parent->AddChild(Types::PassLayerPtr(&layer)); in CreateDrawingLayer()
289 typename Types::LayerType* parent, in CreateDrawingSurface() argument
295 CreateDrawingLayer(parent, transform, position, bounds, opaque); in CreateDrawingSurface()
544 typename Types::ContentLayerType* parent = this->CreateDrawingLayer( in RunMyTest() local
547 this->CreateDrawingLayer(parent, in RunMyTest()
[all …]

12345678910>>...139