Home
last modified time | relevance | path

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

12345678910>>...125

/external/chromium_org/ui/wm/core/
Dtransient_window_stacking_client_unittest.cc42 scoped_ptr<Window> parent(CreateTestWindowWithId(0, root_window())); in TEST_F() local
43 scoped_ptr<Window> w1(CreateTestWindowWithId(1, parent.get())); in TEST_F()
44 Window* w11 = CreateTestWindowWithId(11, parent.get()); in TEST_F()
45 scoped_ptr<Window> w2(CreateTestWindowWithId(2, parent.get())); in TEST_F()
46 Window* w21 = CreateTestWindowWithId(21, parent.get()); in TEST_F()
47 Window* w211 = CreateTestWindowWithId(211, parent.get()); in TEST_F()
48 Window* w212 = CreateTestWindowWithId(212, parent.get()); in TEST_F()
49 Window* w213 = CreateTestWindowWithId(213, parent.get()); in TEST_F()
50 Window* w22 = CreateTestWindowWithId(22, parent.get()); in TEST_F()
51 ASSERT_EQ(8u, parent->children().size()); in TEST_F()
[all …]
Dtransient_window_manager_unittest.cc69 Window* CreateTransientChild(int id, Window* parent) { in CreateTransientChild() argument
74 AddTransientChild(parent, window); in CreateTransientChild()
87 scoped_ptr<Window> parent(CreateTestWindowWithId(0, root_window())); in TEST_F() local
88 scoped_ptr<Window> w1(CreateTestWindowWithId(1, parent.get())); in TEST_F()
89 scoped_ptr<Window> w3(CreateTestWindowWithId(3, parent.get())); in TEST_F()
90 Window* w2 = CreateTestWindowWithId(2, parent.get()); in TEST_F()
94 parent->StackChildAtTop(w1.get()); in TEST_F()
95 ASSERT_EQ(3u, parent->children().size()); in TEST_F()
96 EXPECT_EQ(w2, parent->children().back()); in TEST_F()
101 ASSERT_EQ(1u, 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/perf-3.12.0/lib/
Drbtree.c66 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local
69 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
76 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
86 if (!parent) { in __rb_insert()
89 } else if (rb_is_black(parent)) in __rb_insert()
92 gparent = rb_red_parent(parent); in __rb_insert()
95 if (parent != tmp) { /* parent == gparent->rb_left */ in __rb_insert()
111 rb_set_parent_color(parent, gparent, RB_BLACK); in __rb_insert()
113 parent = rb_parent(node); in __rb_insert()
114 rb_set_parent_color(node, parent, RB_RED); in __rb_insert()
[all …]
/external/e2fsprogs/lib/ext2fs/
Drbtree.c28 struct rb_node *parent = ext2fs_rb_parent(node); in __rb_rotate_left() local
34 ext2fs_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 = ext2fs_rb_parent(node); in __rb_rotate_right() local
57 ext2fs_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/fio/lib/
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/chromium_org/third_party/WebKit/Source/core/dom/
DNodeTraversal.cpp52 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextIncludingPseudo() local
53 if (parent == stayWithin) in nextIncludingPseudo()
55 if (Node* next = parent->pseudoAwareNextSibling()) in nextIncludingPseudo()
67 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextIncludingPseudoSkippingChildren() local
68 if (parent == stayWithin) in nextIncludingPseudoSkippingChildren()
70 if (Node* next = parent->pseudoAwareNextSibling()) in nextIncludingPseudoSkippingChildren()
79 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextAncestorSibling() local
80 if (parent->nextSibling()) in nextAncestorSibling()
81 return parent->nextSibling(); in nextAncestorSibling()
90 for (Node* parent = current.parentNode(); parent; parent = parent->parentNode()) { in nextAncestorSibling() local
[all …]
DDocumentMarkerControllerTest.cpp94 RefPtrWillBeRawPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
95 markNodeContents(parent.get()); in TEST_F()
98 anotherDocument->adoptNode(parent.get(), ASSERT_NO_EXCEPTION); in TEST_F()
110 … RefPtrWillBeRawPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
111 parent->appendChild(createTextNode("bar").get()); in TEST_F()
112 markNodeContents(parent.get()); in TEST_F()
114 parent->normalize(); in TEST_F()
124 RefPtrWillBeRawPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); in TEST_F() local
125 markNodeContents(parent.get()); in TEST_F()
127 parent->removeChildren(); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXARIAGridCell.cpp54 AXObject* parent = parentObjectUnignored(); in parentTable() local
55 if (!parent) in parentTable()
58 if (parent->isAXTable()) in parentTable()
59 return parent; in parentTable()
64 parent = parent->parentObjectUnignored(); in parentTable()
65 if (!parent || !parent->isAXTable()) in parentTable()
68 return parent; in parentTable()
73 AXObject* parent = parentObjectUnignored(); in rowIndexRange() local
74 if (!parent) in rowIndexRange()
77 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/cc/layers/
Dlayer_unittest.cc89 EXPECT_EQ(parent_.get(), child1_->parent()); in VerifyTestTreeInitialState()
90 EXPECT_EQ(parent_.get(), child2_->parent()); in VerifyTestTreeInitialState()
91 EXPECT_EQ(parent_.get(), child3_->parent()); in VerifyTestTreeInitialState()
96 EXPECT_EQ(child1_.get(), grand_child1_->parent()); in VerifyTestTreeInitialState()
97 EXPECT_EQ(child1_.get(), grand_child2_->parent()); in VerifyTestTreeInitialState()
101 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/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.mm27 const BookmarkNode* parent = model->bookmark_bar_node();
28 EXPECT_EQ(0, parent->child_count());
33 parent:parent
39 EXPECT_EQ(0, parent->child_count());
44 EXPECT_EQ(0, parent->child_count());
48 EXPECT_EQ(1, parent->child_count());
49 EXPECT_TRUE(parent->GetChild(0)->is_folder());
50 EXPECT_EQ(ASCIIToUTF16("Bozo"), parent->GetChild(0)->GetTitle());
56 const BookmarkNode* parent = model->bookmark_bar_node();
59 model->AddURL(parent, 0, ASCIIToUTF16("title 1"),
[all …]
/external/chromium_org/third_party/markdown/
Dblockprocessors.py88 def lastChild(self, parent): argument
90 if len(parent):
91 return parent[-1]
116 def test(self, parent, block): argument
136 def run(self, parent, blocks): argument
179 def test(self, parent, block): argument
182 (parent.tag in self.ITEM_TYPES or \
183 (len(parent) and parent[-1] and \
184 (parent[-1].tag in self.LIST_TYPES)
188 def run(self, parent, blocks): argument
[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 …]
/external/deqp/framework/delibs/depool/
DdeMemPool.c89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */ member
169 static deMemPool* createPoolInternal (deMemPool* parent) in createPoolInternal() argument
175 if (parent && parent->allowFailing) in createPoolInternal()
177 if ((deRandom_getUint32(&parent->failRandom) & 16383) <= 15) in createPoolInternal()
196 pool->parent = parent; in createPoolInternal()
197 if (parent) in createPoolInternal()
199 parent->numChildren++; in createPoolInternal()
200 if (parent->firstChild) parent->firstChild->prevPool = pool; in createPoolInternal()
201 pool->nextPool = parent->firstChild; in createPoolInternal()
202 parent->firstChild = pool; in createPoolInternal()
[all …]
/external/chromium_org/ui/views/controls/
Dscroll_view_unittest.cc37 if (parent()) { in Layout()
38 width = std::max(parent()->width(), width); in Layout()
39 height = std::max(parent()->height(), height); in Layout()
59 EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString()); in TEST()
72 EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); in TEST()
73 EXPECT_EQ(100, contents->parent()->height()); in TEST()
82 EXPECT_EQ(100, contents->parent()->width()); in TEST()
84 contents->parent()->height()); in TEST()
93 EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); in TEST()
95 contents->parent()->height()); in TEST()
[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/third_party/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator_unittest.cc62 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST()
63 parent()->parent()->packet_start()); in TEST()
64 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST()
65 parent()->packet_start()); in TEST()
66 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST()
68 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->packet_start()); in TEST()
69 EXPECT_TRUE(opt->parent()->parent()->parent()->packet_start()); in TEST()
70 EXPECT_FALSE(opt->parent()->parent()->packet_start()); in TEST()
71 EXPECT_TRUE(opt->parent()->packet_start()); in TEST()
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Ddoc_writer.py61 def _AddTextWithLinks(self, parent, text): argument
81 self.AddText(parent, text[:start])
83 self.AddElement(parent, 'a', {'href': url}, url)
86 self.AddText(parent, text)
89 def _AddStyledElement(self, parent, name, style_ids, attrs=None, text=None): argument
106 return self.AddElement(parent, name, attrs, text)
108 def _AddDescription(self, parent, policy): argument
118 self._AddTextWithLinks(parent, policy['desc'])
121 ul = self.AddElement(parent, 'ul')
130 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/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/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 …]

12345678910>>...125