/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | CreateLinkCommand.cpp | 52 RefPtr<Text> textNode = Text::create(document(), m_url); local 53 appendNode(textNode.get(), anchorElement.get());
|
H A D | BreakBlockquoteCommand.cpp | 111 Text* textNode = toText(startNode); local 112 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { 116 splitTextNode(textNode, pos.deprecatedEditingOffset());
|
H A D | InsertLineBreakCommand.cpp | 142 Text* textNode = toText(pos.deprecatedNode()); local 143 splitTextNode(textNode, pos.deprecatedEditingOffset()); 144 insertNodeBefore(nodeToInsert, textNode); 145 Position endingPosition = firstPositionInNode(textNode); 150 Position positionBeforeTextNode(positionInParentBeforeNode(textNode)); 153 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 154 // Deleting insignificant whitespace will remove textNode if it contains nothing but insignificant whitespace. 155 if (textNode->inDocument()) 156 insertTextIntoNode(textNode, [all...] |
H A D | InsertTextCommand.cpp | 60 RefPtr<Node> textNode = document()->createEditingTextNode(""); local 61 insertNodeAtTabSpanPosition(textNode.get(), pos); 62 return firstPositionInNode(textNode.get()); 68 RefPtr<Node> textNode = document()->createEditingTextNode(""); local 69 insertNodeAt(textNode.get(), pos); 70 return firstPositionInNode(textNode.get()); 112 RefPtr<Text> textNode = start.containerText(); local 113 if (!textNode) 116 unsigned count = std::min(text.length(), textNode->length() - start.offsetInContainerNode()); 120 replaceTextInNode(textNode, star 200 RefPtr<Text> textNode = startPosition.containerText(); local 243 RefPtr<Text> textNode = toText(node); local 255 RefPtr<Text> textNode = toText(node); local [all...] |
H A D | InsertParagraphSeparatorCommand.cpp | 334 Text* textNode = toText(leadingWhitespace.deprecatedNode()); local 335 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 336 replaceTextInNodePreservingMarkers(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 342 RefPtr<Text> textNode = toText(insertionPosition.containerNode()); local 343 bool atEnd = static_cast<unsigned>(insertionPosition.offsetInContainerNode()) >= textNode->length(); 345 splitTextNode(textNode, insertionPosition.offsetInContainerNode()); 346 positionAfterSplit = firstPositionInNode(textNode.get()); 347 insertionPosition.moveToPosition(textNode->previousSibling(), insertionPosition.offsetInContainerNode());
|
H A D | ApplyBlockElementCommand.cpp | 159 Node* textNode = position.containerNode(); local 161 if (!textNode || !textNode->isTextNode() || offset < 0 || offset >= textNode->maxCharacterOffset()) 165 String textAtPosition = toText(textNode)->substringData(offset, 1, es);
|
H A D | VisiblePosition.cpp | 592 Text* textNode = pos.containerText(); local 593 unsigned length = textNode->length(); 597 return textNode->data().characterStartingAt(offset);
|
H A D | DeleteSelectionCommand.cpp | 574 Text* textNode = toText(m_leadingWhitespace.deprecatedNode()); local 575 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 576 replaceTextInNodePreservingMarkers(textNode, m_leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 579 Text* textNode = toText(m_trailingWhitespace.deprecatedNode()); local 580 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace()); 581 replaceTextInNodePreservingMarkers(textNode, m_trailingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
|
H A D | CompositeEditCommand.cpp | 504 RefPtr<Text> textNode = start.containerText(); 505 replaceTextInNode(textNode, start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text); 507 return Position(textNode.release(), start.offsetInContainerNode() + text.length()); 614 Text* textNode = toText(node); 615 if (textNode->length() == 0) 618 RenderObject* renderer = textNode->renderer(); 646 RefPtr<Text> textNode = prpTextNode; local 648 String text = textNode->data(); 664 VisiblePosition visibleUpstreamPos(Position(textNode, upstream)); 665 VisiblePosition visibleDownstreamPos(Position(textNode, downstrea 717 deleteInsignificantText(PassRefPtr<Text> textNode, unsigned start, unsigned end) argument 815 Text* textNode = nodes[i].get(); local 1078 Text* textNode = toText(node); local 1369 Text* textNode = toText(caretPos.deprecatedNode()); local [all...] |
H A D | ReplaceSelectionCommand.cpp | 1477 Text* textNode = toText(fragment.firstChild()); local 1481 Position end = replaceSelectedTextInNode(textNode->data());
|
H A D | TextIterator.cpp | 996 void TextIterator::emitCharacter(UChar c, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOffset) argument 1001 // NOTE: textNode is often not a text node, so the range will specify child nodes of positionNode 1002 m_positionNode = textNode; 1017 void TextIterator::emitText(Node* textNode, RenderObject* renderObject, int textStartOffset, int textEndOffset) argument 1026 m_positionNode = textNode; 1038 void TextIterator::emitText(Node* textNode, int textStartOffset, int textEndOffset) argument 1040 emitText(textNode, m_node->renderer(), textStartOffset, textEndOffset);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | NodeRenderingContext.cpp | 260 Text* textNode = toText(m_node); local 268 m_style = textNode->document()->styleResolver()->defaultStyleForElement(); 272 if (!textNode->textRendererIsNeeded(*this)) 275 RenderText* newRenderer = textNode->createTextRenderer(m_style.get()); 286 textNode->setRenderer(newRenderer);
|
H A D | Attr.cpp | 83 RefPtr<Text> textNode = document()->createTextNode(value().string()); local 87 textNode->setParentOrShadowHostNode(this); 88 treeScope()->adoptIfNeeded(textNode.get()); 89 setFirstChild(textNode.get()); 90 setLastChild(textNode.get());
|
H A D | Position.cpp | 114 Position::Position(PassRefPtr<Text> textNode, unsigned offset) argument 115 : m_anchorNode(textNode)
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | DateTimeFieldElement.cpp | 210 Text* const textNode = toText(firstChild()); local 214 if (textNode->wholeText() == newVisibleValue) 217 textNode->replaceWholeText(newVisibleValue);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | TextPrompt.js | 592 var textNode = document.createTextNode(text); variable 593 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement); 597 finalSelectionRange.setStart(textNode, text.length); 598 finalSelectionRange.setEnd(textNode, text.length);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | DOMHelper.java | 142 * @param textNode A text node from the source tree. 148 public boolean shouldStripSourceNode(Node textNode) argument 152 // return (null == m_envSupport) ? false : m_envSupport.shouldStripSourceNode(textNode);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | SelectorChecker.cpp | 455 Text* textNode = toText(n); local 456 if (!textNode->data().isEmpty()) {
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | DOMEditor.cpp | 257 ReplaceWholeTextAction(Text* textNode, const String& text) argument 259 , m_textNode(textNode) 390 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ExceptionState& es) argument 392 return m_history->perform(adoptPtr(new ReplaceWholeTextAction(textNode, text)), es); 451 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ErrorString* errorString) argument 454 bool result = replaceWholeText(textNode, text, es);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | PrerenderingTest.cpp | 240 WebNode textNode = consoleListItem.firstChild(); local 241 ASSERT(textNode.nodeName() == "#text"); 243 return textNode.nodeValue().utf8().data();
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLConstructionSite.cpp | 569 CharacterData* textNode = static_cast<CharacterData*>(previousChild); local 570 currentPosition = textNode->parserAppendData(characters, 0, lengthLimit); 574 RefPtr<Text> textNode = Text::createWithLengthLimit(task.parent->document(), shouldUseAtomicString ? AtomicString(characters).string() : characters, currentPosition, lengthLimit); local 576 if (!textNode->length()) { 578 textNode = Text::create(task.parent->document(), shouldUseAtomicString ? AtomicString(substring).string() : substring); 581 currentPosition += textNode->length(); 583 task.child = textNode.release();
|
/external/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxmlparser.cpp | 1192 TiXmlText* textNode = new TiXmlText( "" ); local 1194 if ( !textNode ) 1201 p = textNode->Parse( p, data, encoding ); 1207 p = textNode->Parse( pWithWhiteSpace, data, encoding ); 1210 if ( !textNode->Blank() ) 1211 LinkEndChild( textNode ); 1213 delete textNode;
|
/external/tinyxml/ |
H A D | tinyxmlparser.cpp | 1147 TiXmlText* textNode = new TiXmlText( "" ); local 1149 if ( !textNode ) 1157 p = textNode->Parse( p, data, encoding ); 1163 p = textNode->Parse( pWithWhiteSpace, data, encoding ); 1166 if ( !textNode->Blank() ) 1167 LinkEndChild( textNode ); 1169 delete textNode;
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleResolver.cpp | 1062 PassRefPtr<RenderStyle> StyleResolver::styleForText(Text* textNode) argument 1064 ASSERT(textNode); 1067 Node* parentNode = NodeRenderingTraversal::parent(textNode, &parentDetails);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLElement.cpp | 336 RefPtr<Text> textNode = toText(node.get()); 338 textNode->appendData(textNext->data()); 575 RefPtr<Text> textNode = document()->createTextNode(text); local 576 insertAdjacent(where, textNode.get(), es);
|