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

/macosx-10.9.5/WebCore-7537.78.1/html/
H A DHTMLTitleElement.cpp102 int numChildren = childNodeCount();
H A DHTMLScriptElement.cpp84 int numChildren = childNodeCount();
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DContainerNode.h89 unsigned childNodeCount() const;
217 inline unsigned Node::childNodeCount() const function in class:WebCore::Node
221 return toContainerNode(this)->childNodeCount();
H A DPosition.h279 return node->offsetInCharacters() ? node->maxCharacterOffset() : static_cast<int>(node->childNodeCount());
282 // firstPositionInNode and lastPositionInNode return parent-anchored positions, lastPositionInNode construction is O(n) due to childNodeCount()
H A DContainerNode.cpp615 removedChildren.reserveInitialCapacity(childNodeCount());
971 unsigned ContainerNode::childNodeCount() const function in class:WebCore::ContainerNode
H A DRange.cpp666 return node->childNodeCount();
1705 return m_start.container()->childNodeCount();
1714 return m_end.container()->childNodeCount();
H A DNode.h440 unsigned childNodeCount() const;
H A DPosition.cpp236 && (m_anchorType == PositionIsAfterAnchor || m_anchorType == PositionIsAfterChildren || static_cast<unsigned>(m_offset) == m_anchorNode->childNodeCount())
/macosx-10.9.5/WebCore-7537.78.1/page/
H A DDOMSelection.cpp343 if (offset < 0 || offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->childNodeCount())) {
486 setBaseAndExtent(n, 0, n, n->childNodeCount(), ec);
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DInPageSearchManager.cpp351 searchRange->setEnd(shadowTreeRoot, shadowTreeRoot->childNodeCount(), ec);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DDOMAgent.js61 this._childNodeCount = payload.childNodeCount;
1445 * @param {number} childNodeCount
1447 childNodeCountUpdated: function(nodeId, childNodeCount)
1449 this._domAgent._childNodeCountUpdated(nodeId, childNodeCount);
H A DElementsTreeOutline.js1075 const childNodeCount = node.children.length;
1078 for (var i = this.expandedChildCount, limit = Math.min(this.expandedChildrenLimit, childNodeCount); i < limit; ++i)
1082 if (childNodeCount > this.expandedChildCount) {
1097 this.expandAllButtonElement.textContent = WebInspector.UIString("Show All Nodes (%d More)", childNodeCount - expandedChildCount);
/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DApplyStyleCommand.cpp783 if (node->childNodeCount()) {
841 if (node->childNodeCount())
1013 if ((node->renderer()->isBlockFlow() || node->childNodeCount()) && node->isHTMLElement()) {
1329 int endOffset = nextChild ? nextChild->nodeIndex() : nextElement->childNodeCount();
1437 if (container->isHTMLElement() && (container->hasTagName(spanTag) || (styleContainerIsNotSpan && container->childNodeCount())))
H A Dhtmlediting.cpp349 return node->childNodeCount();
351 // NOTE: This should preempt the childNodeCount for, e.g., select nodes
520 if (node->childNodeCount())
531 if (node->childNodeCount())
H A Dmarkup.cpp383 if (!n->childNodeCount()) {
826 if (node->childNodeCount() == 1 && (node->firstChild()->isTextNode() || (node->firstChild()->firstChild())))
829 return (node->childNodeCount() == 2 && isTabSpanTextNode(node->firstChild()->firstChild()) && node->firstChild()->nextSibling()->isTextNode());
H A DTextIterator.cpp1129 if (startOffset >= 0 && startOffset < static_cast<int>(startNode->childNodeCount())) {
1135 if (endOffset > 0 && endOffset <= static_cast<int>(endNode->childNodeCount())) {
H A DEditor.cpp2855 searchRange->setEnd(shadowTreeRoot.get(), shadowTreeRoot->childNodeCount());
2873 searchRange->setEnd(shadowTreeRoot.get(), shadowTreeRoot->childNodeCount());
2966 searchRange->setEnd(shadowTreeRoot, shadowTreeRoot->childNodeCount(), IGNORE_EXCEPTION);
H A DReplaceSelectionCommand.cpp1416 while (listElement->hasChildNodes() && isListElement(listElement->firstChild()) && listElement->childNodeCount() == 1)
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderReplaced.cpp536 int end = node()->hasChildNodes() ? node()->childNodeCount() : 1;
H A DRenderObject.cpp2994 return node() ? max(1U, node()->childNodeCount()) : 1;
/macosx-10.9.5/WebCore-7537.78.1/html/shadow/
H A DMediaControlElements.cpp322 for (unsigned i = 0; i < childNodeCount(); ++i) {
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/
H A DWebPage.cpp3283 if (found && (!node->parentNode() || node->parentNode()->childNodeCount() != 1))
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebHTMLView.mm6029 attributedString = [WebHTMLConverter editingAttributedStringFromRange:Range::create(coreDocument, coreDocument, 0, coreDocument, coreDocument->childNodeCount()).get()];

Completed in 341 milliseconds