/external/webkit/WebCore/editing/ |
D | BreakBlockquoteCommand.cpp | 60 Node* startNode = pos.node(); in doApply() local 63 for (Node *node = startNode->parentNode(); node; node = node->parentNode()) { in doApply() 86 if (startNode->isTextNode()) { in doApply() 87 Text* textNode = static_cast<Text*>(startNode); in doApply() 89 startNode = startNode->traverseNextNode(); in doApply() 90 ASSERT(startNode); in doApply() 94 startNode = startNode->traverseNextNode(); in doApply() 95 ASSERT(startNode); in doApply() 99 if (!startNode->isDescendantOf(topBlockquote)) { in doApply() 100 setEndingSelection(Selection(VisiblePosition(Position(startNode, 0)))); in doApply() [all …]
|
D | InsertParagraphSeparatorCommand.cpp | 156 Node *startNode = pos.node(); in doApply() local 234 startNode = pos.node(); in doApply() 238 if (startNode != startBlock) { in doApply() 239 for (Element* n = startNode->parentElement(); n && n != startBlock; n = n->parentElement()) in doApply() 255 if (startNode->isTextNode()) { in doApply() 256 Text *textNode = static_cast<Text *>(startNode); in doApply() 260 pos = Position(startNode, 0); in doApply() 289 if (startNode != startBlock) { in doApply() 290 Node *n = startNode; in doApply() 291 if (pos.offset() >= caretMaxOffset(startNode)) in doApply() [all …]
|
D | DeleteSelectionCommand.cpp | 402 Node* startNode = m_upstreamStart.node(); in handleGeneralDelete() local 405 …if (startNode == m_startBlock && startOffset == 0 && canHaveChildrenForEditing(startNode) && !star… in handleGeneralDelete() 407 startNode = startNode->traverseNextNode(); in handleGeneralDelete() 410 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete() 411 Text *text = static_cast<Text *>(startNode); in handleGeneralDelete() 412 if (text->length() > (unsigned)caretMaxOffset(startNode)) in handleGeneralDelete() 413 … deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); in handleGeneralDelete() 416 if (startOffset >= maxDeepOffset(startNode)) { in handleGeneralDelete() 417 startNode = startNode->traverseNextSibling(); in handleGeneralDelete() 422 if (!startNode) in handleGeneralDelete() [all …]
|
D | visible_units.cpp | 299 Node *startNode; in startPositionForLine() local 308 startNode = startRenderer->element(); in startPositionForLine() 309 if (startNode) in startPositionForLine() 321 VisiblePosition visPos = VisiblePosition(startNode, startOffset, DOWNSTREAM); in startPositionForLine() 674 Node *startNode = p.node(); in startOfParagraph() local 676 if (!startNode) in startOfParagraph() 679 if (startNode->renderer() in startOfParagraph() 680 && ((startNode->renderer()->isTable() && !startNode->renderer()->isInline()) in startOfParagraph() 681 || startNode->renderer()->isHR()) in startOfParagraph() 682 && p.offset() == maxDeepOffset(startNode)) in startOfParagraph() [all …]
|
D | ApplyStyleCommand.cpp | 539 Node *startNode = start.node(); in applyRelativeFontStyleChange() local 540 …if (startNode->isTextNode() && start.offset() >= caretMaxOffset(startNode)) // Move out of text no… in applyRelativeFontStyleChange() 541 startNode = startNode->traverseNextNode(); in applyRelativeFontStyleChange() 546 for (Node *node = startNode; node != beyondEnd; node = node->traverseNextNode()) in applyRelativeFontStyleChange() 553 for (Node* node = startNode; node != beyondEnd; node = node->traverseNextNode()) { in applyRelativeFontStyleChange() 1322 Node *startNode = start.node() == end.node() ? prevNode : start.node(); in splitTextAtEndIfNeeded() local 1323 ASSERT(startNode); in splitTextAtEndIfNeeded() 1324 … updateStartEnd(Position(startNode, start.offset()), Position(prevNode, caretMaxOffset(prevNode))); in splitTextAtEndIfNeeded() 1351 Node *startNode = start.node() == end.node() ? prevNode : start.node(); in splitTextElementAtEndIfNeeded() local 1352 ASSERT(startNode); in splitTextElementAtEndIfNeeded() [all …]
|
D | ModifySelectionListLevel.cpp | 91 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()
|
D | ModifySelectionListLevel.h | 40 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);
|
D | TextIterator.cpp | 780 Node* startNode = r->startContainer(); in SimplifiedBackwardsTextIterator() local 781 if (!startNode) in SimplifiedBackwardsTextIterator() 787 if (!startNode->offsetInCharacters()) { in SimplifiedBackwardsTextIterator() 788 if (startOffset >= 0 && startOffset < static_cast<int>(startNode->childNodeCount())) { in SimplifiedBackwardsTextIterator() 789 startNode = startNode->childNode(startOffset); in SimplifiedBackwardsTextIterator() 805 m_startNode = startNode; in SimplifiedBackwardsTextIterator() 818 if (startOffset == 0 || !startNode->firstChild()) { in SimplifiedBackwardsTextIterator() 819 m_pastStartNode = startNode->previousSibling(); in SimplifiedBackwardsTextIterator() 820 while (!m_pastStartNode && startNode->parentNode()) { in SimplifiedBackwardsTextIterator() 821 startNode = startNode->parentNode(); in SimplifiedBackwardsTextIterator() [all …]
|
D | InsertListCommand.cpp | 216 Node* startNode = start.deepEquivalent().node(); in doApply() local 220 …if (previousList && (!previousList->hasTagName(listTag) || startNode->isDescendantOf(previousList)… in doApply() 222 …if (nextList && (!nextList->hasTagName(listTag) || startNode->isDescendantOf(nextList) || nextCell… in doApply()
|
D | markup.cpp | 590 static void appendMarkup(Vector<UChar>& result, Node* startNode, bool onlyIncludeChildren, Vector<N… in appendMarkup() argument 598 nodes->append(startNode); in appendMarkup() 600 appendStartMarkup(result,startNode, 0, DoNotAnnotateForInterchange, false, &namespaceHash); in appendMarkup() 603 if (!(startNode->document()->isHTMLDocument() && doesHTMLForbidEndTag(startNode))) in appendMarkup() 604 for (Node* current = startNode->firstChild(); current; current = current->nextSibling()) in appendMarkup() 609 appendEndMarkup(result, startNode); in appendMarkup() 748 Node* startNode = updatedRange->firstNode(); in createMarkup() local 759 startNode = visibleStart.next().deepEquivalent().node(); in createMarkup() 763 for (Node* n = startNode; n != pastEnd; n = next) { in createMarkup() 827 ASSERT(startNode->isDescendantOf(parent)); in createMarkup()
|
D | Editor.cpp | 423 Node* startNode = range->editingStartPosition().node(); in fontForSelection() local 424 if (startNode) { in fontForSelection() 428 for (Node* n = startNode; n && n != pastEnd; n = n->traverseNextNode()) { in fontForSelection() 555 Node* startNode; in hasBidiSelection() local 557 startNode = m_frame->selection()->selection().start().downstream().node(); in hasBidiSelection() 559 if (enclosingBlock(startNode) != enclosingBlock(endNode)) in hasBidiSelection() 562 startNode = m_frame->selection()->selection().visibleStart().deepEquivalent().node(); in hasBidiSelection() 564 RenderObject* renderer = startNode->renderer(); in hasBidiSelection() 584 Node* startNode = enclosingNodeWithTag(m_frame->selection()->selection().start(), ulTag); in selectionUnorderedListState() local 586 if (startNode && endNode && startNode == endNode) in selectionUnorderedListState() [all …]
|
D | TypingCommand.cpp | 139 Node* startNode = selectionForInsertion.start().node(); in insertText() local 141 if (startNode && startNode->rootEditableElement() && !insertedTextIsComposition) { in insertText() 145 startNode->rootEditableElement()->dispatchEvent(evt, ec); in insertText()
|
D | SelectionController.cpp | 1141 Node* startNode = start().node(); in isInPasswordField() local 1142 if (!startNode) in isInPasswordField() 1145 startNode = startNode->shadowAncestorNode(); in isInPasswordField() 1146 if (!startNode) in isInPasswordField() 1149 if (!startNode->hasTagName(inputTag)) in isInPasswordField() 1152 return static_cast<HTMLInputElement*>(startNode)->inputType() == HTMLInputElement::PASSWORD; in isInPasswordField()
|
D | ReplaceSelectionCommand.cpp | 950 … Node* startNode = positionAtStartOfInsertedContent().deepEquivalent().downstream().node(); in doApply() local 951 if (startNode->isTextNode()) { in doApply() 952 Text* text = static_cast<Text*>(startNode); in doApply() 958 insertNodeBefore(node, startNode); in doApply()
|
/external/webkit/WebCore/dom/ |
D | Position.cpp | 317 Node* startNode = node(); in upstream() local 318 if (!startNode) in upstream() 322 Node* boundary = enclosingVisualBoundary(startNode); in upstream() 325 bool startEditable = startNode->isContentEditable(); in upstream() 326 Node* lastNode = startNode; in upstream() 368 if (currentNode != startNode) { in upstream() 429 Node* startNode = node(); in downstream() local 430 if (!startNode) in downstream() 434 Node* boundary = enclosingVisualBoundary(startNode); in downstream() 437 bool startEditable = startNode->isContentEditable(); in downstream() [all …]
|
/external/icu4c/common/ |
D | rbbitblb.cpp | 439 RBBINode *startNode; in calcChainedFollowPos() local 441 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in calcChainedFollowPos() 442 if (startNode->fType != RBBINode::leafChar) { in calcChainedFollowPos() 446 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos() 454 setAdd(endNode->fFollowPos, startNode->fFollowPos); in calcChainedFollowPos() 498 RBBINode *startNode; in bofFixup() local 501 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in bofFixup() 502 if (startNode->fType != RBBINode::leafChar) { in bofFixup() 506 if (startNode->fVal == bofNode->fVal) { in bofFixup() 512 setAdd(bofNode->fFollowPos, startNode->fFollowPos); in bofFixup()
|
/external/webkit/WebCore/inspector/front-end/ |
D | utilities.js | 112 var startNode; 124 if (!startNode) 125 startNode = stayWithinNode; 133 startNode = node; 140 if (startNode) 146 if (!startNode) { 147 startNode = stayWithinNode; 151 startNode = this; 191 result.setStart(startNode, startOffset);
|
/external/srec/tools/make_ve_grammar/ |
D | make_ve_grammar.c | 99 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/WebKit/win/Interfaces/ |
D | IWebHTMLRepresentation.idl | 62 …- (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:… 64 …HRESULT attributedStringFromDOMNodes([in] IDOMNode* startNode, [in] int startOffset, [in] IDOMNode…
|
/external/webkit/WebKit/mac/WebView/ |
D | WebHTMLRepresentation.h | 55 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(…
|
D | WebHTMLRepresentation.mm | 260 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(… 262 …tedString _web_attributedStringFromRange:Range::create([startNode _node]->document(), [startNode _…
|
D | WebFrame.mm | 676 Node *startNode = [[range startContainer] _node]; 678 if (startNode && startNode->renderer()) { 679 RenderLayer *layer = startNode->renderer()->enclosingLayer();
|
/external/webkit/WebKit/win/ |
D | WebHTMLRepresentation.h | 61 /* [in] */ IDOMNode* startNode,
|
/external/webkit/WebKit/android/jni/ |
D | WebViewCore.cpp | 1377 WebCore::Node* startNode = node; in getSelection() local 1389 if (node == startNode) { in getSelection()
|
/external/webkit/WebCore/ |
D | ChangeLog-2005-08-23 | 21793 Check for nil startNode, not just nil renderer. 35433 (DOM::RangeImpl::startNode): Added check for nil start container and use offsetInCharacters. 38908 * khtml/xml/dom2_rangeimpl.h: Make startNode and pastEndNode public. 38913 (NodeImpl::recursive_toHTMLWithOptions): Rewrite loop, using startNode and pastEndNode, 44095 * khtml/xml/dom2_rangeimpl.h: Added private startNode() and pastEndNode() functions. 44097 … (DOM::RangeImpl::toString): Rewrote to use startNode(), pastEndNode(), and traverseNextNode(). 44101 … (DOM::RangeImpl::startNode): Added. Started with code extracted from checkDeleteExtract, but then 57974 … to get at a child node. We don't want to set startNode or endNode to nil in any case. If the end
|