Home
last modified time | relevance | path

Searched refs:toText (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/dom/
DRangeTest.cpp52 Text* oldText = toText(document().body()->firstChild()); in TEST_F()
60 Text* newText = toText(oldText->nextSibling()); in TEST_F()
95 Text* oldText = toText(outer->childNodes()->item(2)); in TEST_F()
105 Text* newText = toText(oldText->nextSibling()); in TEST_F()
DText.cpp72 RefPtrWillBeRawPtr<Text> nextText = toText(nextSibling); in mergeNextSiblingNodesIfPossible()
141 t = toText(n); in earliestLogicallyAdjacentTextNode()
156 t = toText(n); in latestLogicallyAdjacentTextNode()
175 const String& data = toText(n)->data(); in wholeText()
185 result.append(toText(n)->data()); in wholeText()
DCharacterData.cpp75 toText(this)->updateTextRenderer(oldLength, 0); in parserAppendData()
178 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior); in setDataAndUpdate()
DRenderTreeBuilder.cpp152 Text* textNode = toText(m_node); in createRendererForTextIfNeeded()
/external/chromium_org/v8/src/
Dmirror-debugger.js440 Mirror.prototype.toText = function() { method in Mirror
507 UndefinedMirror.prototype.toText = function() { method in UndefinedMirror
523 NullMirror.prototype.toText = function() { method in NullMirror
540 BooleanMirror.prototype.toText = function() { method in BooleanMirror
557 NumberMirror.prototype.toText = function() { method in NumberMirror
586 StringMirror.prototype.toText = function() { method in StringMirror
608 SymbolMirror.prototype.toText = function() { method in SymbolMirror
821 ObjectMirror.prototype.toText = function() { method in ObjectMirror
1021 FunctionMirror.prototype.toText = function() { method in FunctionMirror
1128 DateMirror.prototype.toText = function() { method in DateMirror
[all …]
/external/chromium_org/v8/test/mjsunit/
Dmirror-string.js51 assertEquals(s, mirror.toText());
54 mirror.toText().substring(0, kMaxProtocolStringLength));
Dmirror-undefined.js46 assertEquals('undefined', mirror.toText());
Dmirror-null.js46 assertEquals('null', mirror.toText());
Dmirror-boolean.js48 assertEquals(b ? 'true' : 'false', mirror.toText());
Dmirror-number.js48 assertEquals(String(n), mirror.toText());
Dmirror-date.js49 assertEquals(iso8601, mirror.toText());
Dmirror-function.js70 assertEquals(f.toString(), mirror.toText());
Dmirror-regexp.js79 assertEquals('/' + r.source + '/', mirror.toText());
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyBlockElementCommand.cpp168 String textAtPosition = toText(textNode)->substringData(offset, 1, exceptionState); in isNewLineAtPosition()
264 start = Position(toText(text->previousSibling()), start.offsetInContainerNode()); in endOfNextParagrahSplittingTextNodesIfNeeded()
268 end = Position(toText(text->previousSibling()), end.offsetInContainerNode()); in endOfNextParagrahSplittingTextNodesIfNeeded()
274 …&& static_cast<unsigned>(m_endOfLastParagraph.offsetInContainerNode()) <= toText(text->previousSib… in endOfNextParagrahSplittingTextNodesIfNeeded()
275 …m_endOfLastParagraph = Position(toText(text->previousSibling()), m_endOfLastParagraph.offsetInCont… in endOfNextParagrahSplittingTextNodesIfNeeded()
DDeleteSelectionCommand.cpp461 Text* text = toText(startNode); in handleGeneralDelete()
479 Text* text = toText(startNode); in handleGeneralDelete()
499 Text* text = toText(node); in handleGeneralDelete()
506 Text* text = toText(m_upstreamEnd.deprecatedNode()); in handleGeneralDelete()
540 Text* text = toText(m_downstreamEnd.deprecatedNode()); in handleGeneralDelete()
572 Text* textNode = toText(m_leadingWhitespace.deprecatedNode()); in fixupWhitespace()
577 Text* textNode = toText(m_trailingWhitespace.deprecatedNode()); in fixupWhitespace()
DReplaceSelectionCommand.cpp680 …if (lastLeafInserted && lastLeafInserted->isTextNode() && !nodeHasVisibleRenderText(toText(*lastLe… in removeUnrenderedTextNodesAtEnds()
690 …if (firstNodeInserted && firstNodeInserted->isTextNode() && !nodeHasVisibleRenderText(toText(*firs… in removeUnrenderedTextNodesAtEnds()
1294 int endOffset = endNode && endNode->isTextNode() ? toText(endNode)->length() : 0; in addSpacesForSmartReplace()
1304 …insertTextIntoNode(toText(endNode), endOffset, collapseWhiteSpace ? nonBreakingSpaceString() : " "… in addSpacesForSmartReplace()
1328 …insertTextIntoNode(toText(startNode), startOffset, collapseWhiteSpace ? nonBreakingSpaceString() :… in addSpacesForSmartReplace()
1378 text = toText(position.containerNode()); in mergeTextNodesAroundPosition()
1382 text = toText(before); in mergeTextNodesAroundPosition()
1386 text = toText(after); in mergeTextNodesAroundPosition()
1393 RefPtrWillBeRawPtr<Text> previous = toText(text->previousSibling()); in mergeTextNodesAroundPosition()
1413 RefPtrWillBeRawPtr<Text> next = toText(text->nextSibling()); in mergeTextNodesAroundPosition()
[all …]
DInsertParagraphSeparatorCommand.cpp349 Text* textNode = toText(leadingWhitespace.deprecatedNode()); in doApply()
357 RefPtrWillBeRawPtr<Text> textNode = toText(insertionPosition.containerNode()); in doApply()
420 … insertTextIntoNode(toText(positionAfterSplit.containerNode()), 0, nonBreakingSpaceString()); in doApply()
DCompositeEditCommand.cpp346 splitTextNode(toText(refChild), offset); in insertNodeAt()
547 splitTextNodeContainingElement(toText(pos.containerNode()), pos.offsetInContainerNode()); in positionOutsideTabSpan()
605 Text* textNode = toText(node); in canRebalance()
625 String text = toText(node)->data(); in rebalanceWhitespaceAt()
632 …rebalanceWhitespaceOnTextSubstring(toText(node), position.offsetInContainerNode(), position.offset… in rebalanceWhitespaceAt()
674 Text* textNode = toText(node); in prepareWhitespaceAtPositionForSplit()
805 nodes.append(toText(node)); in deleteInsignificantText()
883 deleteTextFromNode(toText(p.anchorNode()), p.offsetInContainerNode(), 1); in removePlaceholderAt()
1093 Text* textNode = toText(node); in cleanupAfterDeletion()
1389 Text* textNode = toText(caretPos.deprecatedNode()); in breakOutOfEmptyMailBlockquotedParagraph()
DSurroundingTextTest.cpp47 selection.setBase(Position(toText(element->firstChild()), start)); in select()
48 selection.setExtent(Position(toText(element->firstChild()), end)); in select()
DInsertTextCommand.cpp240 RefPtrWillBeRawPtr<Text> textNode = toText(node); in insertTab()
252 RefPtrWillBeRawPtr<Text> textNode = toText(node); in insertTab()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextFragment.cpp65 RefPtr<StringImpl> result = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString()); in originalText()
120 StringImpl* original = ((e && e->isTextNode()) ? toText(e)->dataImpl() : contentString()); in previousCharacter()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseButtonInputType.cpp53 toText(element().userAgentShadowRoot()->firstChild())->setData(element().valueWithDefault()); in valueAttributeChanged()
/external/chromium_org/v8/test/mjsunit/es6/
Dmirror-symbols.js25 assertEquals('Symbol(' + description_text + ')', mirror.toText());
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
DShadowRoot.cpp153 toText(child)->recalcTextStyle(change, lastTextNode); in recalcStyle()
154 lastTextNode = toText(child); in recalcStyle()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTitleElement.cpp77 result.append(toText(n)->data()); in text()

123