Home
last modified time | relevance | path

Searched refs:startNode (Results 1 – 25 of 59) sorted by relevance

123

/external/webkit/Source/WebCore/editing/
DBreakBlockquoteCommand.cpp106 Node* startNode = pos.deprecatedNode(); in doApply() local
109 if (startNode->isTextNode()) { in doApply()
110 Text* textNode = static_cast<Text*>(startNode); in doApply()
112 startNode = startNode->traverseNextNode(); in doApply()
113 ASSERT(startNode); in doApply()
117 Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset()); in doApply()
118 startNode = childAtOffset ? childAtOffset : startNode->traverseNextNode(); in doApply()
119 ASSERT(startNode); in doApply()
123 if (!startNode->isDescendantOf(topBlockquote)) { in doApply()
124 … setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)))); in doApply()
[all …]
DDeleteSelectionCommand.cpp433 Node* startNode = m_upstreamStart.deprecatedNode(); in handleGeneralDelete() local
436 …if (startNode == m_startBlock && startOffset == 0 && canHaveChildrenForEditing(startNode) && !star… in handleGeneralDelete()
438 startNode = startNode->traverseNextNode(); in handleGeneralDelete()
441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
442 Text *text = static_cast<Text *>(startNode); in handleGeneralDelete()
443 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete()
444 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete()
447 if (startOffset >= lastOffsetForEditing(startNode)) { in handleGeneralDelete()
448 startNode = startNode->traverseNextSibling(); in handleGeneralDelete()
453 if (!startNode) in handleGeneralDelete()
[all …]
DApplyStyleCommand.cpp346 Node* startNode = start.deprecatedNode(); in applyRelativeFontStyleChange() local
347 …if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Mo… in applyRelativeFontStyleChange()
348 startNode = startNode->traverseNextNode(); in applyRelativeFontStyleChange()
353 for (Node *node = startNode; node != beyondEnd; node = node->traverseNextNode()) in applyRelativeFontStyleChange()
360 for (Node* node = startNode; node != beyondEnd; node = node->traverseNextNode()) { in applyRelativeFontStyleChange()
518 static Node* highestEmbeddingAncestor(Node* startNode, Node* enclosingNode) in highestEmbeddingAncestor() argument
520 for (Node* n = startNode; n && n != enclosingNode; n = n->parentNode()) { in highestEmbeddingAncestor()
661 Node* startNode = start.deprecatedNode(); in fixRangeAndApplyInlineStyle() local
664 startNode = startNode->traverseNextNode(); in fixRangeAndApplyInlineStyle()
665 if (!startNode || comparePositions(end, firstPositionInOrBeforeNode(startNode)) < 0) in fixRangeAndApplyInlineStyle()
[all …]
DModifySelectionListLevel.cpp91 void ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, … in insertSiblingNodeRangeBefore() argument
93 Node* node = startNode; in insertSiblingNodeRangeBefore()
106 void ModifySelectionListLevelCommand::insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, N… in insertSiblingNodeRangeAfter() argument
108 Node* node = startNode; in insertSiblingNodeRangeAfter()
122 void ModifySelectionListLevelCommand::appendSiblingNodeRange(Node* startNode, Node* endNode, Elemen… in appendSiblingNodeRange() argument
124 Node* node = startNode; in appendSiblingNodeRange()
DModifySelectionListLevel.h40 void appendSiblingNodeRange(Node* startNode, Node* endNode, Element* newParent);
41 void insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, Node* refNode);
42 void insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode);
Dvisible_units.cpp366 Node *startNode; in startPositionForLine() local
375 startNode = startRenderer->node(); in startPositionForLine()
376 if (startNode) in startPositionForLine()
382 …VisiblePosition visPos = startNode->isTextNode() ? VisiblePosition(Position(startNode, static_cast… in startPositionForLine()
383 … : VisiblePosition(positionBeforeNode(startNode), DOWNSTREAM); in startPositionForLine()
746 Node* startNode = p.deprecatedNode(); in startOfParagraph() local
748 if (!startNode) in startOfParagraph()
751 if (isRenderedAsNonInlineTableImageOrHR(startNode)) in startOfParagraph()
752 return positionBeforeNode(startNode); in startOfParagraph()
754 Node* startBlock = enclosingBlock(startNode); in startOfParagraph()
[all …]
DFormatBlockCommand.cpp40 static Node* enclosingBlockToSplitTreeTo(Node* startNode);
147 Node* enclosingBlockToSplitTreeTo(Node* startNode) in enclosingBlockToSplitTreeTo() argument
149 Node* lastBlock = startNode; in enclosingBlockToSplitTreeTo()
150 for (Node* n = startNode; n; n = n->parentNode()) { in enclosingBlockToSplitTreeTo()
Dmarkup.cpp126 Node* serializeNodes(Node* startNode, Node* pastEnd);
320 Node* StyledMarkupAccumulator::serializeNodes(Node* startNode, Node* pastEnd) in serializeNodes() argument
325 for (Node* n = startNode; n != pastEnd; n = next) { in serializeNodes()
383 ASSERT(startNode->isDescendantOf(parent)); in serializeNodes()
561 Node* startNode = updatedRange->firstNode(); in createMarkup() local
572 startNode = visibleStart.next().deepEquivalent().deprecatedNode(); in createMarkup()
575 if (pastEnd && Range::compareBoundaryPoints(startNode, 0, pastEnd, 0, ec) >= 0) { in createMarkup()
592 Node* lastClosed = accumulator.serializeNodes(startNode, pastEnd); in createMarkup()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTreeRuleReturnScope.h37 ANTLRCommonTree *startNode; variable
40 @property (retain, getter=getStart, setter=setStart:) ANTLRCommonTree *startNode;
DANTLRTreeNodeStream.h48 - (NSString *) toStringFromNode:(id)startNode ToNode:(id)stopNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTreeRuleReturnScope.h37 ANTLRCommonTree *startNode; variable
40 @property (retain, getter=getStart, setter=setStart:) ANTLRCommonTree *startNode;
DANTLRTreeNodeStream.h48 - (NSString *) toStringFromNode:(id)startNode ToNode:(id)stopNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTreeRuleReturnScope.h37 ANTLRCommonTree *startNode; variable
40 @property (retain, getter=getStart, setter=setStart:) ANTLRCommonTree *startNode;
DANTLRTreeNodeStream.h48 - (NSString *) toStringFromNode:(id)startNode ToNode:(id)stopNode;
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTreeWalker2Result.java102 protected void startNode(int node) throws org.xml.sax.SAXException in startNode() method in TreeWalker2Result
115 super.startNode(node); in startNode()
146 super.startNode(node); in startNode()
/external/webkit/Source/WebCore/dom/
DPosition.cpp519 Node* startNode = deprecatedNode(); in upstream() local
520 if (!startNode) in upstream()
524 Node* boundary = enclosingVisualBoundary(startNode); in upstream()
528 bool startEditable = startNode->rendererIsEditable(); in upstream()
529 Node* lastNode = startNode; in upstream()
580 if (currentNode != startNode) { in upstream()
641 Node* startNode = deprecatedNode(); in downstream() local
642 if (!startNode) in downstream()
646 Node* boundary = enclosingVisualBoundary(startNode); in downstream()
650 bool startEditable = startNode->rendererIsEditable(); in downstream()
[all …]
/external/icu4c/common/
Drbbitblb.cpp457 RBBINode *startNode; in calcChainedFollowPos() local
459 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in calcChainedFollowPos()
460 if (startNode->fType != RBBINode::leafChar) { in calcChainedFollowPos()
464 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos()
472 setAdd(endNode->fFollowPos, startNode->fFollowPos); in calcChainedFollowPos()
516 RBBINode *startNode; in bofFixup() local
519 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in bofFixup()
520 if (startNode->fType != RBBINode::leafChar) { in bofFixup()
524 if (startNode->fVal == bofNode->fVal) { in bofFixup()
530 setAdd(bofNode->fFollowPos, startNode->fFollowPos); in bofFixup()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM2.java1569 final int startNode = _startNode; in next() local
1570 if (startNode == NULL) { in next()
1574 if (_includeSelf && (_currentNode + 1) == startNode) in next()
1582 if (startNode == ROOTNODE) { in next()
1660 final int startNode = _startNode; in next() local
1677 if (NULL == expType || _parent2(node) < startNode && startNode != node) { in next()
1687 else if (startNode == DTMDefaultBase.ROOTNODE) in next()
1708 if (NULL == expType || _parent2(node) < startNode && startNode != node) { in next()
2783 int startNode = identity; in getStringValue() local
2818 } while (_parent2(identity) >= startNode); in getStringValue()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMTreeWalker.java114 startNode(pos); in traverse()
167 startNode(pos); in traverse()
215 protected void startNode(int node) throws org.xml.sax.SAXException in startNode() method in DTMTreeWalker
/external/webkit/Source/WebCore/inspector/front-end/
Dutilities.js48 var startNode;
60 if (!startNode)
61 startNode = stayWithinNode;
69 startNode = node;
76 if (startNode)
82 if (!startNode) {
83 startNode = stayWithinNode;
87 startNode = this;
127 result.setStart(startNode, startOffset);
/external/apache-xml/src/main/java/org/apache/xml/utils/
DTreeWalker.java177 startNode(pos); in traverseFragment()
230 startNode(pos); in traverse()
289 protected void startNode(Node node) throws org.xml.sax.SAXException in startNode() method in TreeWalker
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DTreeWalker.java145 startNode(pos); in traverse()
199 startNode(pos); in traverse()
258 protected void startNode(Node node) throws org.xml.sax.SAXException in startNode() method in TreeWalker
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeNodeStream.h47 - (NSString *) toStringFromNode:(id)startNode ToNode:(id)stopNode;
/external/srec/tools/make_ve_grammar/
Dmake_ve_grammar.c99 nodeID startNode = 0; in main() local
205 fprintf(pFile_PCLG,"%d\t%d\thmm%d_#sil#\t-pau-\n", startNode, pauEndNode, i); in main()
/external/webkit/Source/WebKit/mac/WebView/
DWebHTMLRepresentation.h62 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(…

123