/external/chromium_org/third_party/WebKit/Source/core/editing/ |
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 | 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 | CreateLinkCommand.cpp | 52 RefPtr<Text> textNode = Text::create(document(), m_url); local 53 appendNode(textNode.get(), anchorElement.get());
|
H A D | InsertParagraphSeparatorCommand.cpp | 349 Text* textNode = toText(leadingWhitespace.deprecatedNode()); local 350 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 351 replaceTextInNodePreservingMarkers(textNode, leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 357 RefPtr<Text> textNode = toText(insertionPosition.containerNode()); local 358 bool atEnd = static_cast<unsigned>(insertionPosition.offsetInContainerNode()) >= textNode->length(); 360 splitTextNode(textNode, insertionPosition.offsetInContainerNode()); 361 positionAfterSplit = firstPositionInNode(textNode.get()); 362 insertionPosition.moveToPosition(textNode->previousSibling(), insertionPosition.offsetInContainerNode());
|
H A D | CompositeEditCommand.cpp | 524 RefPtr<Text> textNode = start.containerText(); 525 replaceTextInNode(textNode, start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text); 527 return Position(textNode.release(), start.offsetInContainerNode() + text.length()); 634 Text* textNode = toText(node); 635 if (textNode->length() == 0) 638 RenderObject* renderer = textNode->renderer(); 666 RefPtr<Text> textNode = prpTextNode; local 668 String text = textNode->data(); 684 VisiblePosition visibleUpstreamPos(Position(textNode, upstream)); 685 VisiblePosition visibleDownstreamPos(Position(textNode, downstrea 743 deleteInsignificantText(PassRefPtr<Text> textNode, unsigned start, unsigned end) argument 841 Text* textNode = nodes[i].get(); local 1109 Text* textNode = toText(node); local 1401 Text* textNode = toText(caretPos.deprecatedNode()); local [all...] |
H A D | BreakBlockquoteCommand.cpp | 112 Text* textNode = toText(startNode); local 113 if ((unsigned)pos.deprecatedEditingOffset() >= textNode->length()) { 117 splitTextNode(textNode, pos.deprecatedEditingOffset());
|
H A D | ApplyBlockElementCommand.cpp | 158 Node* textNode = position.containerNode(); local 160 if (!textNode || !textNode->isTextNode() || offset < 0 || offset >= textNode->maxCharacterOffset()) 164 String textAtPosition = toText(textNode)->substringData(offset, 1, exceptionState);
|
H A D | TextIterator.h | 143 void emitCharacter(UChar, Node* textNode, Node* offsetBaseNode, int textStartOffset, int textEndOffset); 144 void emitText(Node* textNode, RenderObject* renderObject, int textStartOffset, int textEndOffset); 145 void emitText(Node* textNode, int textStartOffset, int textEndOffset);
|
H A D | DeleteSelectionCommand.cpp | 576 Text* textNode = toText(m_leadingWhitespace.deprecatedNode()); local 577 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); 578 replaceTextInNodePreservingMarkers(textNode, m_leadingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString()); 581 Text* textNode = toText(m_trailingWhitespace.deprecatedNode()); local 582 ASSERT(!textNode->renderer() ||textNode->renderer()->style()->collapseWhiteSpace()); 583 replaceTextInNodePreservingMarkers(textNode, m_trailingWhitespace.deprecatedEditingOffset(), 1, nonBreakingSpaceString());
|
H A D | markup.cpp | 250 const Text* textNode = toText(node); local 252 unsigned endOffset = textNode->length(); 774 RefPtr<Node> textNode = document.createTextNode(stringWithRebalancedWhitespace(s, first, i + 1 == numEntries)); local 775 paragraph->appendChild(textNode.release()); 1066 RefPtr<Text> textNode = Text::create(containerNode->document(), text); local 1069 containerNode->replaceChild(textNode.release(), containerNode->firstChild(), exceptionState); 1074 containerNode->appendChild(textNode.release(), exceptionState); 1084 RefPtr<Text> textNode = toText(node.get()); 1086 textNode->appendData(textNext->data());
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
H A D | util.js | 67 var textNode = parentNode.ownerDocument.createTextNode(text); 68 parentNode.appendChild(textNode); 69 return textNode;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | Attr.cpp | 82 RefPtr<Text> textNode = document().createTextNode(value().string()); local 86 textNode->setParentOrShadowHostNode(this); 87 treeScope().adoptIfNeeded(*textNode); 88 setFirstChild(textNode.get()); 89 setLastChild(textNode.get());
|
H A D | NodeRenderingContext.cpp | 249 Text* textNode = toText(m_node); local 257 m_style = textNode->document().ensureStyleResolver().defaultStyleForElement(); 261 if (!textNode->textRendererIsNeeded(*this)) 264 RenderText* newRenderer = textNode->createTextRenderer(m_style.get()); 275 textNode->setRenderer(newRenderer);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
H A D | xmltools.py | 181 textNode = element.firstChild 182 if textNode == None: 184 if textNode.nodeType != textNode.TEXT_NODE: 186 if not re.match(regEx, textNode.data): 187 raise SyntaxError("Bad Text Value for '%s': '%s' " % (element.tagName, textNode.data)) 188 return str(textNode.data) #de-unicode it; this is needed for bsddb, for example
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
H A D | greasemonkey_api.js | 20 var textNode = document.createTextNode(css); 21 style.appendChild(textNode);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | DateTimeFieldElement.cpp | 214 Text* const textNode = toText(firstChild()); local 218 if (textNode->wholeText() == newVisibleValue) 221 textNode->replaceWholeText(newVisibleValue);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | DOMEditor.cpp | 258 ReplaceWholeTextAction(Text* textNode, const String& text) argument 260 , m_textNode(textNode) 391 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ExceptionState& exceptionState) argument 393 return m_history->perform(adoptPtr(new ReplaceWholeTextAction(textNode, text)), exceptionState); 452 bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ErrorString* errorString) argument 455 bool result = replaceWholeText(textNode, text, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | ElementsTreeOutline.js | 581 var textNode = event.target.enclosingNodeOrSelfWithClass("webkit-html-text-node"); variable 582 if (textNode && textNode.classList.contains("bogus")) 583 textNode = null; 586 if (textNode) { 588 treeElement._populateTextContextMenu(contextMenu, textNode); 594 treeElement._populateNodeContextMenu(contextMenu, textNode); 1336 var textNode = eventTarget.enclosingNodeOrSelfWithClass("webkit-html-text-node"); 1337 if (textNode) 1338 return this._startEditingTextNode(textNode); [all...] |
/external/chromium/chrome/browser/resources/net_internals/ |
H A D | util.js | 60 var textNode = parentNode.ownerDocument.createTextNode(text); 61 parentNode.appendChild(textNode); 62 return textNode;
|
/external/chromium-trace/trace-viewer/src/tracing/analysis/ |
H A D | analysis_results.js | 49 parent.appendChild(textNode); 50 return textNode;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | TouchAdjustment.cpp | 153 Text* textNode = toText(node); 154 RenderText* textRenderer = toRenderText(textNode->renderer()); 158 String textValue = textNode->data(); 168 appendQuadsToSubtargetList(quads, textNode, subtargets); 199 appendQuadsToSubtargetList(quads, textNode, subtargets);
|
/external/chromium_org/third_party/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/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/web/tests/ |
H A D | PrerenderingTest.cpp | 229 WebNode textNode = consoleListItem.firstChild(); local 230 ASSERT(textNode.nodeName() == "#text"); 232 return textNode.nodeValue().utf8().data();
|