Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/external/webkit/WebCore/rendering/
DRenderFlexibleBox.cpp54 RenderBox* child = box->firstChildBox(); in FlexBoxIterator() local
55 while (child) { in FlexBoxIterator()
56 if (child->style()->boxOrdinalGroup() > lastOrdinal) in FlexBoxIterator()
57 lastOrdinal = child->style()->boxOrdinalGroup(); in FlexBoxIterator()
58 child = child->nextSiblingBox(); in FlexBoxIterator()
123 for (RenderBox* child = firstChildBox(); child; child = child->nextSiblingBox()) { in calcHorizontalPrefWidths() local
125 if (child->isPositioned() || child->style()->visibility() == COLLAPSE) in calcHorizontalPrefWidths()
131 Length ml = child->style()->marginLeft(); in calcHorizontalPrefWidths()
132 Length mr = child->style()->marginRight(); in calcHorizontalPrefWidths()
140 m_minPrefWidth += child->minPrefWidth() + margin; in calcHorizontalPrefWidths()
[all …]
DRenderRuby.cpp44 RenderObject* child = ruby->lastChild(); in lastRubyRun() local
45 if (child && ruby->isAfterContent(child)) in lastRubyRun()
46 child = child->previousSibling(); in lastRubyRun()
47 ASSERT(!child || child->isRubyRun()); in lastRubyRun()
48 return static_cast<RenderRubyRun*>(child); in lastRubyRun()
51 static inline RenderRubyRun* findRubyRunParent(RenderObject* child) in findRubyRunParent() argument
53 while (child && !child->isRubyRun()) in findRubyRunParent()
54 child = child->parent(); in findRubyRunParent()
55 return static_cast<RenderRubyRun*>(child); in findRubyRunParent()
69 bool RenderRubyAsInline::isChildAllowed(RenderObject* child, RenderStyle*) const in isChildAllowed() argument
[all …]
DRenderTable.cpp103 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
109 bool wrapInAnonymousSection = !child->isPositioned(); in addChild()
111 if (child->isRenderBlock() && child->style()->display() == TABLE_CAPTION) { in addChild()
121 m_caption = toRenderBlock(child); in addChild()
123 } else if (child->isTableCol()) { in addChild()
126 } else if (child->isTableSection()) { in addChild()
127 switch (child->style()->display()) { in addChild()
131 m_head = toRenderTableSection(child); in addChild()
135 m_firstBody = toRenderTableSection(child); in addChild()
142 m_foot = toRenderTableSection(child); in addChild()
[all …]
DRenderTableRow.cpp65 void RenderTableRow::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
71 if (!child->isTableCell()) { in addChild()
76 last->addChild(child); in addChild()
82 last->parent()->addChild(child, beforeChild); in addChild()
92 cell->addChild(child); in addChild()
100 RenderTableCell* cell = toRenderTableCell(child); in addChild()
120 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) { in layout() local
121 if (child->isTableCell()) { in layout()
122 RenderTableCell* cell = toRenderTableCell(child); in layout()
123 if (child->needsLayout()) { in layout()
[all …]
DRenderRubyBase.cpp48 bool RenderRubyBase::isChildAllowed(RenderObject* child, RenderStyle*) const in isChildAllowed() argument
50 return child->isInline(); in isChildAllowed()
58 for (RenderObject* child = firstChild(); child != beforeChild; child = child->nextSibling()) { in hasOnlyWrappedInlineChildren() local
59 … if (!child->isFloatingOrPositioned() && !(child->isAnonymousBlock() && child->childrenInline())) in hasOnlyWrappedInlineChildren()
106 for (RenderObject* child = firstChild(); child != fromBeforeChild; child = firstChild()) in moveInlineChildren() local
107 moveChildTo(toBlock, toBlock->children(), child); in moveInlineChildren()
117 … for (RenderObject* child = firstChild(); child != fromBeforeChild; child = firstChild()) { in moveBlockChildren() local
118 if (child->isAnonymousBlock()) { in moveBlockChildren()
119 RenderBlock* anonBlock = toRenderBlock(child); in moveBlockChildren()
126 ASSERT(child->isFloatingOrPositioned()); in moveBlockChildren()
[all …]
DRenderFrameSet.cpp128 RenderObject* child = firstChild(); in paint() local
129 if (!child) in paint()
144 child->paint(paintInfo, tx, ty); in paint()
150 child = child->nextSibling(); in paint()
151 if (!child) in paint()
413 RenderObject* child = firstChild(); in computeEdgeInfo() local
414 if (!child) in computeEdgeInfo()
422 if (child->isFrameSet()) in computeEdgeInfo()
423 edgeInfo = toRenderFrameSet(child)->edgeInfo(); in computeEdgeInfo()
425 edgeInfo = toRenderFrame(child)->edgeInfo(); in computeEdgeInfo()
[all …]
DRenderRubyRun.cpp84 RenderObject* child = firstChild(); in rubyText() local
85 return child && child->isRubyText() ? static_cast<RenderRubyText*>(child) : 0; in rubyText()
90 RenderObject* child = lastChild(); in rubyBase() local
91 return child && child->isRubyBase() ? static_cast<RenderRubyBase*>(child) : 0; in rubyBase()
113 bool RenderRubyRun::isChildAllowed(RenderObject* child, RenderStyle*) const in isChildAllowed() argument
115 return child->isRubyText() || child->isInline(); in isChildAllowed()
118 void RenderRubyRun::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
120 ASSERT(child); in addChild()
123 if (child->isRubyText()) { in addChild()
128 RenderBlock::addChild(child, firstChild()); in addChild()
[all …]
DRenderBlock.cpp238 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) { in styleDidChange() local
239 if (child->isAnonymousBlock()) { in styleDidChange()
243 child->setStyle(newStyle.release()); in styleDidChange()
405 …RenderBlock::moveChildTo(RenderObject* to, RenderObjectChildList* toChildList, RenderObject* child) in moveChildTo() argument
407 ASSERT(this == child->parent()); in moveChildTo()
408 toChildList->appendChildNode(to, children()->removeChildNode(this, child, false), false); in moveChildTo()
411 …nderObject* to, RenderObjectChildList* toChildList, RenderObject* beforeChild, RenderObject* child) in moveChildTo() argument
413 ASSERT(this == child->parent()); in moveChildTo()
415 …toChildList->insertChildNode(to, children()->removeChildNode(this, child, false), beforeChild, fal… in moveChildTo()
422 RenderObject* child = nextChild; in moveAllChildrenTo() local
[all …]
DRenderObjectChildList.cpp43 static void updateListMarkerNumbers(RenderObject* child) in updateListMarkerNumbers() argument
45 for (RenderObject* sibling = child; sibling; sibling = sibling->nextSibling()) { in updateListMarkerNumbers()
182 void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* child, RenderObject*… in insertChildNode() argument
185 appendChildNode(owner, child); in insertChildNode()
189 ASSERT(!child->parent()); in insertChildNode()
194 …ASSERT(!owner->isBlockFlow() || (!child->isTableSection() && !child->isTableRow() && !child->isTab… in insertChildNode()
197 setFirstChild(child); in insertChildNode()
200 child->setNextSibling(beforeChild); in insertChildNode()
201 beforeChild->setPreviousSibling(child); in insertChildNode()
203 prev->setNextSibling(child); in insertChildNode()
[all …]
DRenderEmbeddedObject.cpp165 for (Node* child = objectElement->firstChild(); child; ) { in updateWidget() local
166 if (child->hasTagName(embedTag)) { in updateWidget()
167 embed = static_cast<HTMLEmbedElement*>(child); in updateWidget()
171 if (child->hasTagName(objectTag)) in updateWidget()
172 child = child->nextSibling(); // Don't descend into nested OBJECT tags in updateWidget()
174child = child->traverseNextNode(objectElement); // Otherwise descend (EMBEDs may be inside COMMENT… in updateWidget()
197 Node* child = objectElement->firstChild(); in updateWidget() local
198 while (child && (url.isEmpty() || serviceType.isEmpty() || !embed)) { in updateWidget()
199 if (child->hasTagName(paramTag)) { in updateWidget()
200 HTMLParamElement* p = static_cast<HTMLParamElement*>(child); in updateWidget()
[all …]
DInlineFlowBox.cpp49 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) in ~InlineFlowBox() local
50 child->setHasBadParent(); in ~InlineFlowBox()
65 void InlineFlowBox::addToLine(InlineBox* child) in addToLine() argument
67 ASSERT(!child->parent()); in addToLine()
68 ASSERT(!child->nextOnLine()); in addToLine()
69 ASSERT(!child->prevOnLine()); in addToLine()
72 child->setParent(this); in addToLine()
74 m_firstChild = child; in addToLine()
75 m_lastChild = child; in addToLine()
77 m_lastChild->setNextOnLine(child); in addToLine()
[all …]
/external/webkit/WebCore/html/
DHTMLTableRowsCollection.cpp57 Node* child = 0; in rowAfter() local
62 for (child = previous->nextSibling(); child; child = child->nextSibling()) { in rowAfter()
63 if (child->hasTagName(trTag)) in rowAfter()
64 return static_cast<HTMLTableRowElement*>(child); in rowAfter()
70 child = table->firstChild(); in rowAfter()
72 child = previous->parent()->nextSibling(); in rowAfter()
73 for (; child; child = child->nextSibling()) { in rowAfter()
74 if (child->hasTagName(theadTag)) { in rowAfter()
75 … for (Node* grandchild = child->firstChild(); grandchild; grandchild = grandchild->nextSibling()) { in rowAfter()
84 child = table->firstChild(); in rowAfter()
[all …]
DHTMLTableElement.cpp69 for (Node* child = firstChild(); child; child = child->nextSibling()) { in caption() local
70 if (child->hasTagName(captionTag)) in caption()
71 return static_cast<HTMLTableCaptionElement*>(child); in caption()
84 for (Node* child = firstChild(); child; child = child->nextSibling()) { in tHead() local
85 if (child->hasTagName(theadTag)) in tHead()
86 return static_cast<HTMLTableSectionElement*>(child); in tHead()
95 Node* child; in setTHead() local
96 for (child = firstChild(); child; child = child->nextSibling()) in setTHead()
97 … if (child->isElementNode() && !child->hasTagName(captionTag) && !child->hasTagName(colgroupTag)) in setTHead()
100 insertBefore(newHead, child, ec); in setTHead()
[all …]
/external/webkit/WebCore/dom/
DContainerNode.cpp102 RefPtr<Node> child = isFragment ? newChild->firstChild() : newChild; in insertBefore() local
103 while (child) { in insertBefore()
104 RefPtr<Node> nextChild = isFragment ? child->nextSibling() : 0; in insertBefore()
107 if (Node* oldParent = child->parentNode()) in insertBefore()
108 oldParent->removeChild(child.get(), ec); in insertBefore()
123 if (child->parentNode()) in insertBefore()
126 ASSERT(!child->nextSibling()); in insertBefore()
127 ASSERT(!child->previousSibling()); in insertBefore()
133 next->setPreviousSibling(child.get()); in insertBefore()
137 prev->setNextSibling(child.get()); in insertBefore()
[all …]
/external/webkit/WebCore/inspector/front-end/
Dtreeoutline.js50 TreeOutline._appendChild = function(child) argument
52 if (!child)
57 lastChild.nextSibling = child;
58 child.previousSibling = lastChild;
60 child.previousSibling = null;
61 child.nextSibling = null;
64 this.children.push(child);
66 child.parent = this;
67 child.treeOutline = this.treeOutline;
68 child.treeOutline._rememberTreeElement(child);
[all …]
DBottomUpProfileDataGridTree.js50 _keepOnlyChild: function(/*ProfileDataGridNode*/ child) argument
55 this.appendChild(child);
71 var child = this.childrenByCallUID[aCallUID];
73 if (child)
74 this._merge(child, true);
85 _merge: function(/*ProfileDataGridNode*/ child, /*Boolean*/ shouldAbsorb) argument
87 this.selfTime -= child.selfTime;
89 WebInspector.ProfileDataGridNode.prototype._merge.call(this, child, shouldAbsorb); argument
101 var child = this.findChild(ancestor);
104 if (child) {
[all …]
DDataGrid.js429 appendChild: function(child) argument
431 this.insertChild(child, this.children.length);
434 insertChild: function(child, index) argument
436 if (!child)
438 if (child.parent === this)
441 if (child.parent)
442 child.parent.removeChild(child);
444 this.children.splice(index, 0, child);
447 child.parent = this;
448 child.dataGrid = this.dataGrid;
[all …]
/external/skia/src/views/
DSkView.cpp111 SkView* child; in draw() local
115 while ((child = iter.next()) != NULL) in draw()
116 child->draw(childCanvas); in draw()
201 SkView* child, *focus; in acceptFocus() local
202 while ((child = iter.next()) != NULL) in acceptFocus()
203 if ((focus = child->acceptFocus(dir)) != NULL) in acceptFocus()
209 SkView* child, *focus; in acceptFocus() local
210 while ((child = iter.next()) != NULL) in acceptFocus()
211 if ((focus = child->acceptFocus(dir)) != NULL) in acceptFocus()
232 SkView* child, *parent; in moveFocus() local
[all …]
DSkListWidget.cpp438 const SkDOM::Node* child; in onInflate() local
440 if ((child = dom.getFirstChild(node, "bindings")) != NULL) in onInflate()
446 SkListSource* listSrc = SkListSource::Factory(dom.findAttr(child, "data-fields")); in onInflate()
448 fSkinName.set(dom.findAttr(child, "skin-slots")); in onInflate()
453 int count = dom.countChildren(child, "bind"); in onInflate()
459 child = dom.getFirstChild(child, "bind"); in onInflate()
460 SkASSERT(child); in onInflate()
462 const char* fieldName = dom.findAttr(child, "field"); in onInflate()
463 const char* slotName = dom.findAttr(child, "slot"); in onInflate()
470 } while ((child = dom.getNextSibling(child, "bind")) != NULL); in onInflate()
[all …]
/external/webkit/WebCore/page/
DFrameTree.cpp38 for (Frame* child = firstChild(); child; child = child->tree()->nextSibling()) in ~FrameTree() local
39 child->setView(0); in ~FrameTree()
64 void FrameTree::appendChild(PassRefPtr<Frame> child) in appendChild() argument
66 ASSERT(child->page() == m_thisFrame->page()); in appendChild()
67 child->tree()->m_parent = m_thisFrame; in appendChild()
70 m_lastChild = child.get(); in appendChild()
73 child->tree()->m_previousSibling = oldLast; in appendChild()
74 oldLast->tree()->m_nextSibling = child; in appendChild()
76 m_firstChild = child; in appendChild()
83 void FrameTree::removeChild(Frame* child) in removeChild() argument
[all …]
/external/protobuf/gtest/test/
Dgtest_xml_test_utils.py99 for child_id, child in expected_children.iteritems():
103 self.AssertEquivalentNodes(child, actual_children[child_id])
126 for child in element.childNodes:
127 if child.nodeType == Node.ELEMENT_NODE:
128 self.assert_(child.tagName in self.identifying_attribute,
129 "Encountered unknown element <%s>" % child.tagName)
130 childID = child.getAttribute(self.identifying_attribute[child.tagName])
132 children[childID] = child
133 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
135 if (child.nodeType == Node.CDATA_SECTION_NODE or
[all …]
/external/gtest/test/
Dgtest_xml_test_utils.py89 for child_id, child in expected_children.iteritems():
92 self.AssertEquivalentNodes(child, actual_children[child_id])
115 for child in element.childNodes:
116 if child.nodeType == Node.ELEMENT_NODE:
117 self.assert_(child.tagName in self.identifying_attribute,
118 "Encountered unknown element <%s>" % child.tagName)
119 childID = child.getAttribute(self.identifying_attribute[child.tagName])
121 children[childID] = child
122 elif child.nodeType == Node.TEXT_NODE:
123 self.assert_(child.nodeValue.isspace())
[all …]
/external/webkit/WebCore/accessibility/
DAccessibilityARIAGrid.cpp62 void AccessibilityARIAGrid::addChild(AccessibilityObject* child, HashSet<AccessibilityObject*>& app… in addChild() argument
64 if (!child || !child->isTableRow() || child->ariaRoleAttribute() != RowRole) in addChild()
67 AccessibilityTableRow* row = static_cast<AccessibilityTableRow*>(child); in addChild()
100 for (RefPtr<AccessibilityObject> child = firstChild(); child; child = child->nextSibling()) { in addChildren() local
103 if (child->accessibilityIsIgnored()) { in addChildren()
104 if (!child->hasChildren()) in addChildren()
105 child->addChildren(); in addChildren()
107 AccessibilityChildrenVector children = child->children(); in addChildren()
112 addChild(child.get(), appendedRows, columnCount); in addChildren()
/external/bluetooth/glib/gio/tests/
Dlive-g-file.c125 GFile *child; in create_empty_file() local
130 child = g_file_get_child (parent, filename); in create_empty_file()
131 g_assert (child != NULL); in create_empty_file()
134 outs = g_file_replace (child, NULL, FALSE, create_flags, NULL, &error); in create_empty_file()
140 return child; in create_empty_file()
146 GFile *child; in create_empty_dir() local
150 child = g_file_get_child (parent, filename); in create_empty_dir()
151 g_assert (child != NULL); in create_empty_dir()
153 res = g_file_make_directory (child, NULL, &error); in create_empty_dir()
156 return child; in create_empty_dir()
[all …]
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimeglob.c58 XdgGlobHashNode *child; member
161 if (glob_hash_node->child) in _xdg_glob_hash_node_dump()
162 _xdg_glob_hash_node_dump (glob_hash_node->child, depth + 1); in _xdg_glob_hash_node_dump()
237 XdgGlobHashNode *child; in _xdg_glob_hash_insert_ucs4() local
240 child = node->child; in _xdg_glob_hash_insert_ucs4()
241 while (child && child->character == 0) in _xdg_glob_hash_insert_ucs4()
243 if (strcmp (child->mime_type, mime_type) == 0) in _xdg_glob_hash_insert_ucs4()
248 child = child->next; in _xdg_glob_hash_insert_ucs4()
253 child = _xdg_glob_hash_node_new (); in _xdg_glob_hash_insert_ucs4()
254 child->character = 0; in _xdg_glob_hash_insert_ucs4()
[all …]

12345678910>>...21