Home
last modified time | relevance | path

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

12345678910>>...70

/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/webkit/Source/WebCore/accessibility/
DAccessibilityARIAGridCell.cpp56 AccessibilityObject* parent = parentObjectUnignored(); in parentTable() local
57 if (!parent) in parentTable()
60 if (parent->isAccessibilityTable()) in parentTable()
61 return parent; in parentTable()
66 parent = parent->parentObjectUnignored(); in parentTable()
67 if (!parent || !parent->isAccessibilityTable()) in parentTable()
70 return parent; in parentTable()
75 AccessibilityObject* parent = parentObjectUnignored(); in rowIndexRange() local
76 if (!parent) in rowIndexRange()
79 if (parent->isTableRow()) { in rowIndexRange()
[all …]
DAccessibilityARIAGridRow.cpp56 AccessibilityObject* parent = parentTable(); in isARIATreeGridRow() local
57 if (!parent) in isARIATreeGridRow()
60 return parent->ariaRoleAttribute() == TreeGridRole; in isARIATreeGridRow()
67 AccessibilityObject* parent = parentObjectUnignored(); in disclosedRows() local
68 if (!parent || !parent->isAccessibilityTable()) in disclosedRows()
78 AccessibilityChildrenVector& allRows = static_cast<AccessibilityTable*>(parent)->rows(); in disclosedRows()
94 AccessibilityObject* parent = parentObjectUnignored(); in disclosedByRow() local
95 if (!parent || !parent->isAccessibilityTable()) in disclosedByRow()
105 AccessibilityChildrenVector& allRows = static_cast<AccessibilityTable*>(parent)->rows(); in disclosedByRow()
121 AccessibilityObject* parent = parentObjectUnignored(); in parentTable() local
[all …]
/external/webkit/Source/WebCore/xml/
DXSLImportRule.cpp33 XSLImportRule::XSLImportRule(XSLStyleSheet* parent, const String& href) in XSLImportRule() argument
34 : StyleBase(parent) in XSLImportRule()
52 return (parent() && parent()->isXSLStyleSheet()) ? static_cast<XSLStyleSheet*>(parent()) : 0; in parentStyleSheet()
62 XSLStyleSheet* parent = parentStyleSheet(); in setXSLStyleSheet() local
63 if (parent) in setXSLStyleSheet()
64 m_styleSheet->setParentStyleSheet(parent); in setXSLStyleSheet()
69 if (parent) in setXSLStyleSheet()
70 parent->checkLoaded(); in setXSLStyleSheet()
82 StyleBase* parent; in loadSheet() local
83 while ((parent = root->parent())) in loadSheet()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DPODRedBlackTree.h236 Node* parent() const { return m_parent; } in parent() function
338 Node* y = x->parent(); in treeSuccessor()
341 y = y->parent(); in treeSuccessor()
361 start = start->parent(); in propagateUpdates()
382 y->setParent(x->parent()); in leftRotate()
383 if (!x->parent()) in leftRotate()
386 if (x == x->parent()->left()) in leftRotate()
387 x->parent()->setLeft(y); in leftRotate()
389 x->parent()->setRight(y); in leftRotate()
415 x->setParent(y->parent()); in rightRotate()
[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/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/webkit/Source/WebCore/wml/
DWMLTaskElement.cpp50 ContainerNode* parent = parentNode(); in insertedIntoDocument() local
51 if (!parent || !parent->isWMLElement()) in insertedIntoDocument()
54 if (parent->hasTagName(anchorTag)) in insertedIntoDocument()
55 static_cast<WMLAnchorElement*>(parent)->registerTask(this); in insertedIntoDocument()
56 else if (parent->hasTagName(doTag)) in insertedIntoDocument()
57 static_cast<WMLDoElement*>(parent)->registerTask(this); in insertedIntoDocument()
58 else if (parent->hasTagName(oneventTag)) in insertedIntoDocument()
59 static_cast<WMLOnEventElement*>(parent)->registerTask(this); in insertedIntoDocument()
64 ContainerNode* parent = parentNode(); in removedFromDocument() local
65 if (parent && parent->isWMLElement()) { in removedFromDocument()
[all …]
/external/webkit/Source/WebCore/rendering/
DRenderCounter.cpp55 Element* parent; in previousInPreOrder() local
60 parent = toElement(object->node()); in previousInPreOrder()
61 sibling = parent->previousElementSibling(); in previousInPreOrder()
62 parent = parent->parentElement(); in previousInPreOrder()
67 parent = toElement(object->generatingNode()); in previousInPreOrder()
68 sibling = parent->lastElementChild(); in previousInPreOrder()
78 parent = sibling; in previousInPreOrder()
88 if (!parent) in previousInPreOrder()
90 RenderObject* renderer = parent->renderer(); // Should never be null in previousInPreOrder()
101 Element* parent; in previousSiblingOrParent() local
[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 …]
DALoopToCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
DAWithCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
DAIfCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._expression_.parent(null); in setExpression()
91 if(node.parent() != null) in setExpression()
93 node.parent().removeChild(node); in setExpression()
96 node.parent(this); in setExpression()
111 this._block_.parent(null); in setBlock()
116 if(node.parent() != null) in setBlock()
[all …]
DAEachCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
DACallCommand.java57 this._position_.parent(null); in setPosition()
62 if(node.parent() != null) in setPosition()
64 node.parent().removeChild(node); in setPosition()
67 node.parent(this); in setPosition()
84 if(e.parent() != null) in setMacro()
86 e.parent().removeChild(e); in setMacro()
89 e.parent(this); in setMacro()
104 if(e.parent() != null) in setArguments()
106 e.parent().removeChild(e); in setArguments()
109 e.parent(this); in setArguments()
[all …]
/external/collada/src/dae/
DdaeMetaElement.cpp235 daeBool daeMetaElement::place(daeElement *parent, daeElement *child, daeUInt *ordinal ) in place() argument
237 if (child->getMeta()->getIsAbstract() || parent->getMeta() != this ) { in place()
241 daeElement *retVal = _contentModel->placeElement( parent, child, ord ); in place()
244 child->setDocument( parent->getDocument() ); in place()
245 retVal->setDocument( parent->getDocument() ); in place()
249 (daeElementRefArray*)_metaContents->getWritableMemory(parent); in place()
251 (daeUIntArray*)_metaContentsOrder->getWritableMemory(parent); in place()
274 daeBool daeMetaElement::placeAt( daeInt index, daeElement *parent, daeElement *child ) in placeAt() argument
276 if (child->getMeta()->getIsAbstract() || parent->getMeta() != this || index < 0 ) { in placeAt()
280 daeElement *retVal = _contentModel->placeElement( parent, child, ord ); in placeAt()
[all …]
DdaeMetaElementAttribute.cpp12 …bute::daeMetaElementAttribute( daeMetaElement *container, daeMetaCMPolicy *parent, daeUInt ordinal, in daeMetaElementAttribute() argument
13 daeInt minO, daeInt maxO) : daeMetaCMPolicy( container, parent, ordinal, minO, maxO ) in daeMetaElementAttribute()
21 …:daeMetaElementArrayAttribute( daeMetaElement *container, daeMetaCMPolicy *parent, daeUInt ordinal, in daeMetaElementArrayAttribute() argument
22 … daeInt minO, daeInt maxO) : daeMetaElementAttribute( container, parent, ordinal, minO, maxO ) in daeMetaElementArrayAttribute()
51 daeMetaElementAttribute::setDocument( daeElement * parent, daeDocument* c ) in setDocument() argument
53 daeElementRef* er = (daeElementRef*)getWritableMemory( parent ); in setDocument()
60 daeMetaElementArrayAttribute::setDocument( daeElement * parent, daeDocument* c ) in setDocument() argument
62 daeElementRefArray* era = (daeElementRefArray*)getWritableMemory( parent ); in setDocument()
106 daeMetaElementAttribute::placeElement(daeElement* parent, daeElement* child, daeUInt &ordinal, daeI… in placeElement() argument
111 if ((parent == NULL)||(child == NULL)) in placeElement()
[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/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodereplacechild30.js92 var parent;
109 parent = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:html");
112 appendedChild = parent.appendChild(oldChild);
113 appendedChild = parent.appendChild(newElement);
115 appendedChild = parent.appendChild(newText);
117 appendedChild = parent.appendChild(newComment);
119 appendedChild = parent.appendChild(newPI);
121 appendedChild = parent.appendChild(newCdata);
123 appendedChild = parent.appendChild(newERef);
124 replaced = parent.replaceChild(newElement,oldChild);
[all …]
/external/webkit/Source/WebCore/platform/text/
DBidiContext.cpp30 …ed char level, Direction direction, bool override, BidiEmbeddingSource source, BidiContext* parent) in createUncached() argument
32 return adoptRef(new BidiContext(level, direction, override, source, parent)); in createUncached()
35 …ed char level, Direction direction, bool override, BidiEmbeddingSource source, BidiContext* parent) in create() argument
39 if (parent) in create()
40 return createUncached(level, direction, override, source, parent); in create()
62 …ne PassRefPtr<BidiContext> copyContextAndRebaselineLevel(BidiContext* context, BidiContext* parent) in copyContextAndRebaselineLevel() argument
65 unsigned char newLevel = parent ? parent->level() : 0; in copyContextAndRebaselineLevel()
68 else if (parent) in copyContextAndRebaselineLevel()
71 …turn BidiContext::create(newLevel, context->dir(), context->override(), context->source(), parent); in copyContextAndRebaselineLevel()
80 for (BidiContext* iter = this; iter; iter = iter->parent()) { in copyStackRemovingUnicodeEmbeddingContexts()
[all …]
/external/mesa3d/src/talloc/
Dhieralloc.c18 struct hieralloc_header * parent; member
53 assert(!header->nextSibling || header->nextSibling->parent == header->parent); in check_header()
55 assert(!header->prevSibling || header->prevSibling->parent == header->parent); in check_header()
82 static void add_to_parent(hieralloc_header_t * parent, hieralloc_header_t * header) in add_to_parent() argument
84 assert(NULL == header->parent); in add_to_parent()
88 if (parent->child) in add_to_parent()
96 parent->child->prevSibling = header; in add_to_parent()
98 header->nextSibling = parent->child; in add_to_parent()
100 header->parent = parent; in add_to_parent()
101 parent->child = header; in add_to_parent()
[all …]
/external/clang/lib/Sema/
DScope.cpp19 void Scope::Init(Scope *parent, unsigned flags) { in Init() argument
20 AnyParent = parent; in Init()
23 if (parent) { in Init()
24 Depth = parent->Depth + 1; in Init()
25 PrototypeDepth = parent->PrototypeDepth; in Init()
27 FnParent = parent->FnParent; in Init()
28 BreakParent = parent->BreakParent; in Init()
29 ContinueParent = parent->ContinueParent; in Init()
30 ControlParent = parent->ControlParent; in Init()
31 BlockParent = parent->BlockParent; in Init()
[all …]
/external/tcpdump/
Dmakemib184 function oidadd(new, parent, value) {
186 if (parent == "0" && value == 0)
189 print "/* oidadd" inn(FILENAME) ":", new, "in", parent, "as", value, "line", $0, "*/"
192 gsub(/[-&\/]/,"",parent)
194 if (oid[parent] == "") {
196 inn(FILENAME), parent, new, value
202 inn(FILENAME), parent, new, value, oid[new]
206 if (child[parent] != "") {
207 for (sib = child[parent]; sib != ""; sib = sibling[sib])
213 inn(FILENAME), new, parent, \
[all …]

12345678910>>...70