text 13 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $text = "Test"; text 16 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $text = "\xD2\xE5\xF1\xF2"; text 19 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $text = "Test \xC4\xE4\x9A\xDF"; text 22 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $text = "Тест"; text 25 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $text = "Invalid encoding"; text 29 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php echo $charset . ": " . $text; text 1 LayoutTests/jquery/resources/test/data/test.php html text<br/> text 5 LayoutTests/jquery/resources/test/data/with_fries_over_jsonp.php $text = json_encode(file_get_contents(dirname(__FILE__)."/with_fries.xml")); text 6 LayoutTests/jquery/resources/test/data/with_fries_over_jsonp.php echo "$callback($text)"; text 76 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ScriptValue text = xmlHttpRequest->responseText(exceptionState); text 79 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp if (text.hasNoValue()) { text 83 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp v8SetReturnValue(info, text.v8Value()); text 122 Source/core/accessibility/AXInlineTextBox.cpp return m_inlineTextBox->text(); text 149 Source/core/accessibility/AXListBoxOption.cpp return toHTMLOptionElement(m_optionElement)->text(); text 109 Source/core/accessibility/AXMenuListOption.cpp return toHTMLOptionElement(m_element)->text(); text 992 Source/core/accessibility/AXNodeObject.cpp String staticText = text(); text 1016 Source/core/accessibility/AXNodeObject.cpp return text(); text 1098 Source/core/accessibility/AXNodeObject.cpp builder.append(textOrder[0].text); text 145 Source/core/accessibility/AXNodeObject.h virtual String text() const OVERRIDE; text 212 Source/core/accessibility/AXObject.h String text; text 217 Source/core/accessibility/AXObject.h : text(t) text 222 Source/core/accessibility/AXObject.h : text(t) text 402 Source/core/accessibility/AXObject.h virtual String text() const { return String(); } text 577 Source/core/accessibility/AXObject.h unsigned getLengthForTextRange() const { return text().length(); } text 646 Source/core/accessibility/AXRenderObject.cpp return renderText->text().impl()->containsOnlyWhitespace(); text 798 Source/core/accessibility/AXRenderObject.cpp return AXNodeObject::text(); text 809 Source/core/accessibility/AXRenderObject.cpp return text().length(); text 883 Source/core/accessibility/AXRenderObject.cpp String staticText = text(); text 903 Source/core/accessibility/AXRenderObject.cpp return toRenderMenuList(m_renderer)->text(); text 907 Source/core/accessibility/AXRenderObject.cpp return toRenderListMarker(m_renderer)->text(); text 918 Source/core/accessibility/AXRenderObject.cpp return text(); text 116 Source/core/accessibility/AXRenderObject.h virtual String text() const OVERRIDE; text 360 Source/core/clipboard/Clipboard.cpp void Clipboard::writePlainText(const String& text) text 365 Source/core/clipboard/Clipboard.cpp String str = text; text 69 Source/core/clipboard/Pasteboard.cpp void Pasteboard::writePlainText(const String& text, SmartReplaceOption) text 73 Source/core/clipboard/Pasteboard.cpp String plainText(text); text 77 Source/core/clipboard/Pasteboard.cpp blink::Platform::current()->clipboard()->writePlainText(text); text 130 Source/core/clipboard/Pasteboard.cpp String text = plainText; text 132 Source/core/clipboard/Pasteboard.cpp replaceNewlinesWithWindowsStyleNewlines(text); text 134 Source/core/clipboard/Pasteboard.cpp replaceNBSPWithSpace(text); text 136 Source/core/clipboard/Pasteboard.cpp blink::Platform::current()->clipboard()->writeHTML(markup, documentURL, text, canSmartCopyOrDelete); text 43 Source/core/css/CSSBorderImageSliceValue.cpp String text = m_slices->cssText(); text 47 Source/core/css/CSSBorderImageSliceValue.cpp return text + " fill"; text 48 Source/core/css/CSSBorderImageSliceValue.cpp return text; text 1345 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(static_cast<const TextContentData*>(contentData)->text(), CSSPrimitiveValue::CSS_STRING)); text 215 Source/core/css/CSSFontFace.cpp bool CSSFontFace::UnicodeRangeSet::intersectsWith(const String& text) const text 217 Source/core/css/CSSFontFace.cpp if (text.isEmpty()) text 221 Source/core/css/CSSFontFace.cpp if (text.is8Bit() && m_ranges[0].from() >= 0x100) text 225 Source/core/css/CSSFontFace.cpp while (index < text.length()) { text 226 Source/core/css/CSSFontFace.cpp UChar32 c = text.characterStartingAt(index); text 42 Source/core/css/CSSLineBoxContainValue.cpp StringBuilder text; text 45 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("block"); text 47 Source/core/css/CSSLineBoxContainValue.cpp if (!text.isEmpty()) text 48 Source/core/css/CSSLineBoxContainValue.cpp text.append(' '); text 49 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("inline"); text 52 Source/core/css/CSSLineBoxContainValue.cpp if (!text.isEmpty()) text 53 Source/core/css/CSSLineBoxContainValue.cpp text.append(' '); text 54 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("font"); text 57 Source/core/css/CSSLineBoxContainValue.cpp if (!text.isEmpty()) text 58 Source/core/css/CSSLineBoxContainValue.cpp text.append(' '); text 59 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("glyphs"); text 62 Source/core/css/CSSLineBoxContainValue.cpp if (!text.isEmpty()) text 63 Source/core/css/CSSLineBoxContainValue.cpp text.append(' '); text 64 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("replaced"); text 67 Source/core/css/CSSLineBoxContainValue.cpp if (!text.isEmpty()) text 68 Source/core/css/CSSLineBoxContainValue.cpp text.append(' '); text 69 Source/core/css/CSSLineBoxContainValue.cpp text.appendLiteral("inline-box"); text 72 Source/core/css/CSSLineBoxContainValue.cpp return text.toString(); text 56 Source/core/css/CSSPageRule.cpp StringBuilder text; text 57 Source/core/css/CSSPageRule.cpp text.appendLiteral("@page"); text 62 Source/core/css/CSSPageRule.cpp text.append(' '); text 63 Source/core/css/CSSPageRule.cpp text.append(pageSpecification); text 66 Source/core/css/CSSPageRule.cpp return text.toString(); text 962 Source/core/css/CSSPrimitiveValue.cpp String text; text 969 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, ""); text 972 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "%"); text 975 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "em"); text 978 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "ex"); text 981 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "rem"); text 984 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "ch"); text 987 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "px"); text 990 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "cm"); text 993 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "dppx"); text 996 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "dpi"); text 999 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "dpcm"); text 1002 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "mm"); text 1005 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "in"); text 1008 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "pt"); text 1011 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "pc"); text 1014 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "deg"); text 1017 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "rad"); text 1020 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "grad"); text 1023 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "ms"); text 1026 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "s"); text 1029 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "hz"); text 1032 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "khz"); text 1035 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "turn"); text 1042 Source/core/css/CSSPrimitiveValue.cpp text = formattingFlag == AlwaysQuoteCSSString ? quoteCSSString(m_value.string) : quoteCSSStringIfNeeded(m_value.string); text 1045 Source/core/css/CSSPrimitiveValue.cpp text = "url(" + quoteCSSURLIfNeeded(m_value.string) + ")"; text 1048 Source/core/css/CSSPrimitiveValue.cpp text = valueName(m_value.valueID); text 1051 Source/core/css/CSSPrimitiveValue.cpp text = propertyName(m_value.propertyID); text 1060 Source/core/css/CSSPrimitiveValue.cpp text = result.toString(); text 1064 Source/core/css/CSSPrimitiveValue.cpp text = "counter(" + String(m_value.string) + ')'; text 1086 Source/core/css/CSSPrimitiveValue.cpp text = result.toString(); text 1090 Source/core/css/CSSPrimitiveValue.cpp text = getRectValue()->cssText(); text 1093 Source/core/css/CSSPrimitiveValue.cpp text = getQuadValue()->cssText(); text 1101 Source/core/css/CSSPrimitiveValue.cpp text = color.serializedAsCSSComponentValue(); text 1105 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "fr"); text 1108 Source/core/css/CSSPrimitiveValue.cpp text = getPairValue()->cssText(); text 1112 Source/core/css/CSSPrimitiveValue.cpp text = String(&c, 1U); text 1116 Source/core/css/CSSPrimitiveValue.cpp text = quoteCSSStringIfNeeded(m_value.string); text 1119 Source/core/css/CSSPrimitiveValue.cpp text = m_value.calc->cssText(); text 1122 Source/core/css/CSSPrimitiveValue.cpp text = m_value.shape->cssText(); text 1125 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "vw"); text 1128 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "vh"); text 1131 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "vmin"); text 1134 Source/core/css/CSSPrimitiveValue.cpp text = formatNumber(m_value.num, "vmax"); text 1139 Source/core/css/CSSPrimitiveValue.cpp cssTextCache().set(this, text); text 1141 Source/core/css/CSSPrimitiveValue.cpp return text; text 191 Source/core/css/CSSSegmentedFontFace.cpp bool CSSSegmentedFontFace::checkFont(const String& text) const text 194 Source/core/css/CSSSegmentedFontFace.cpp if ((*it)->loadStatus() != FontFace::Loaded && (*it)->cssFontFace()->ranges().intersectsWith(text)) text 200 Source/core/css/CSSSegmentedFontFace.cpp void CSSSegmentedFontFace::match(const String& text, Vector<RefPtr<FontFace> >& faces) const text 203 Source/core/css/CSSSegmentedFontFace.cpp if ((*it)->cssFontFace()->ranges().intersectsWith(text)) text 48 Source/core/css/CSSShadowValue.cpp StringBuilder text; text 51 Source/core/css/CSSShadowValue.cpp text.append(color->cssText()); text 53 Source/core/css/CSSShadowValue.cpp if (!text.isEmpty()) text 54 Source/core/css/CSSShadowValue.cpp text.append(' '); text 55 Source/core/css/CSSShadowValue.cpp text.append(x->cssText()); text 58 Source/core/css/CSSShadowValue.cpp if (!text.isEmpty()) text 59 Source/core/css/CSSShadowValue.cpp text.append(' '); text 60 Source/core/css/CSSShadowValue.cpp text.append(y->cssText()); text 63 Source/core/css/CSSShadowValue.cpp if (!text.isEmpty()) text 64 Source/core/css/CSSShadowValue.cpp text.append(' '); text 65 Source/core/css/CSSShadowValue.cpp text.append(blur->cssText()); text 68 Source/core/css/CSSShadowValue.cpp if (!text.isEmpty()) text 69 Source/core/css/CSSShadowValue.cpp text.append(' '); text 70 Source/core/css/CSSShadowValue.cpp text.append(spread->cssText()); text 73 Source/core/css/CSSShadowValue.cpp if (!text.isEmpty()) text 74 Source/core/css/CSSShadowValue.cpp text.append(' '); text 75 Source/core/css/CSSShadowValue.cpp text.append(style->cssText()); text 78 Source/core/css/CSSShadowValue.cpp return text.toString(); text 86 Source/core/css/CSSStyleRule.cpp String text = generateSelectorText(); text 87 Source/core/css/CSSStyleRule.cpp selectorTextCache().set(this, text); text 89 Source/core/css/CSSStyleRule.cpp return text; text 354 Source/core/css/CSSStyleSheet.cpp StringBuilder text; text 355 Source/core/css/CSSStyleSheet.cpp text.append(selector); text 356 Source/core/css/CSSStyleSheet.cpp text.appendLiteral(" { "); text 357 Source/core/css/CSSStyleSheet.cpp text.append(style); text 359 Source/core/css/CSSStyleSheet.cpp text.append(' '); text 360 Source/core/css/CSSStyleSheet.cpp text.append('}'); text 361 Source/core/css/CSSStyleSheet.cpp insertRule(text.toString(), index, exceptionState); text 70 Source/core/css/CSSValue.cpp static PassRefPtrWillBeRawPtr<TextCloneCSSValue> create(ClassType classType, const String& text) text 72 Source/core/css/CSSValue.cpp return adoptRefWillBeRefCountedGarbageCollected(new TextCloneCSSValue(classType, text)); text 80 Source/core/css/CSSValue.cpp TextCloneCSSValue(ClassType classType, const String& text) text 82 Source/core/css/CSSValue.cpp , m_cssText(text) text 437 Source/core/css/FontFaceSet.cpp ScriptPromise FontFaceSet::load(const String& fontString, const String& text) text 455 Source/core/css/FontFaceSet.cpp segmentedFontFace->match(nullToSpace(text), faces); text 464 Source/core/css/FontFaceSet.cpp bool FontFaceSet::check(const String& fontString, const String& text, ExceptionState& exceptionState) text 478 Source/core/css/FontFaceSet.cpp if (face && !face->checkFont(nullToSpace(text))) text 69 Source/core/css/FontFaceSet.h bool check(const String& font, const String& text, ExceptionState&); text 70 Source/core/css/FontFaceSet.h ScriptPromise load(const String& font, const String& text); text 158 Source/core/css/MediaList.cpp StringBuilder text; text 163 Source/core/css/MediaList.cpp text.appendLiteral(", "); text 166 Source/core/css/MediaList.cpp text.append(m_queries[i]->cssText()); text 168 Source/core/css/MediaList.cpp return text.toString(); text 155 Source/core/css/PropertySetCSSStyleDeclaration.cpp void AbstractPropertySetCSSStyleDeclaration::setCSSText(const String& text, ExceptionState& exceptionState) text 161 Source/core/css/PropertySetCSSStyleDeclaration.cpp propertySet().parseDeclaration(text, contextStyleSheet()); text 661 Source/core/css/StylePropertySerializer.cpp String text = value->cssText(); text 662 Source/core/css/StylePropertySerializer.cpp if (text.isNull()) text 665 Source/core/css/StylePropertySerializer.cpp res = text; text 666 Source/core/css/StylePropertySerializer.cpp else if (res != text) text 54 Source/core/dom/CharacterData.h CharacterData(TreeScope& treeScope, const String& text, ConstructionType type) text 56 Source/core/dom/CharacterData.h , m_data(!text.isNull() ? text : emptyString()) text 29 Source/core/dom/Comment.cpp inline Comment::Comment(Document& document, const String& text) text 30 Source/core/dom/Comment.cpp : CharacterData(document, text, CreateOther) text 35 Source/core/dom/Comment.cpp PassRefPtr<Comment> Comment::create(Document& document, const String& text) text 37 Source/core/dom/Comment.cpp return adoptRef(new Comment(document, text)); text 770 Source/core/dom/ContainerNode.cpp RenderText* text = toRenderText(o); text 771 Source/core/dom/ContainerNode.cpp IntRect linesBox = text->linesBoundingBox(); text 872 Source/core/dom/Document.cpp PassRefPtr<Text> Document::createEditingTextNode(const String& text) text 874 Source/core/dom/Document.cpp return Text::createEditingText(*this, text); text 1377 Source/core/dom/Document.cpp setTitleElement(title->text(), title); text 2553 Source/core/dom/Document.cpp String text = beforeUnloadEvent->returnValue(); text 2554 Source/core/dom/Document.cpp if (chrome.runBeforeUnloadConfirmPanel(text, m_frame)) { text 2648 Source/core/dom/Document.cpp void Document::write(const SegmentedString& text, Document* ownerDocument) text 2669 Source/core/dom/Document.cpp m_parser->insert(text); text 2672 Source/core/dom/Document.cpp void Document::write(const String& text, Document* ownerDocument) text 2674 Source/core/dom/Document.cpp write(SegmentedString(text), ownerDocument); text 2677 Source/core/dom/Document.cpp void Document::writeln(const String& text, Document* ownerDocument) text 2679 Source/core/dom/Document.cpp write(text, ownerDocument); text 3677 Source/core/dom/Document.cpp void Document::didInsertText(Node* text, unsigned offset, unsigned length) text 3682 Source/core/dom/Document.cpp (*it)->didInsertText(text, offset, length); text 3686 Source/core/dom/Document.cpp m_markers->shiftMarkers(text, offset, length); text 3689 Source/core/dom/Document.cpp void Document::didRemoveText(Node* text, unsigned offset, unsigned length) text 3694 Source/core/dom/Document.cpp (*it)->didRemoveText(text, offset, length); text 3698 Source/core/dom/Document.cpp m_markers->removeMarkers(text, offset, length); text 3699 Source/core/dom/Document.cpp m_markers->shiftMarkers(text, offset + length, 0 - length); text 547 Source/core/dom/Document.h void write(const SegmentedString& text, Document* ownerDocument = 0); text 548 Source/core/dom/Document.h void write(const String& text, Document* ownerDocument = 0); text 549 Source/core/dom/Document.h void writeln(const String& text, Document* ownerDocument = 0); text 2347 Source/core/dom/Element.cpp void Element::insertAdjacentText(const String& where, const String& text, ExceptionState& exceptionState) text 2349 Source/core/dom/Element.cpp RefPtr<Text> textNode = document().createTextNode(text); text 2395 Source/core/dom/Element.cpp Text* text = toText(child); text 2397 Source/core/dom/Element.cpp firstTextNode = text; text 2400 Source/core/dom/Element.cpp unsigned length = text->data().length(); text 395 Source/core/dom/Element.h void insertAdjacentText(const String& where, const String& text, ExceptionState&); text 1483 Source/core/dom/Node.cpp void Node::setTextContent(const String& text) text 1490 Source/core/dom/Node.cpp setNodeValue(text); text 1498 Source/core/dom/Node.cpp if (container->hasOneTextChild() && toText(container->firstChild())->data() == text) text 1504 Source/core/dom/Node.cpp if (!text.isEmpty()) text 1505 Source/core/dom/Node.cpp container->appendChild(document().createTextNode(text), ASSERT_NO_EXCEPTION); text 1709 Source/core/dom/Range.cpp static inline void boundaryTextInserted(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length) text 1711 Source/core/dom/Range.cpp if (boundary.container() != text) text 1719 Source/core/dom/Range.cpp void Range::didInsertText(Node* text, unsigned offset, unsigned length) text 1721 Source/core/dom/Range.cpp ASSERT(text); text 1722 Source/core/dom/Range.cpp ASSERT(text->document() == m_ownerDocument); text 1723 Source/core/dom/Range.cpp boundaryTextInserted(m_start, text, offset, length); text 1724 Source/core/dom/Range.cpp boundaryTextInserted(m_end, text, offset, length); text 1727 Source/core/dom/Range.cpp static inline void boundaryTextRemoved(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length) text 1729 Source/core/dom/Range.cpp if (boundary.container() != text) text 1740 Source/core/dom/Range.cpp void Range::didRemoveText(Node* text, unsigned offset, unsigned length) text 1742 Source/core/dom/Range.cpp ASSERT(text); text 1743 Source/core/dom/Range.cpp ASSERT(text->document() == m_ownerDocument); text 1744 Source/core/dom/Range.cpp boundaryTextRemoved(m_start, text, offset, length); text 1745 Source/core/dom/Range.cpp boundaryTextRemoved(m_end, text, offset, length); text 92 Source/core/dom/Range.h String text() const; text 140 Source/core/dom/StyleElement.cpp void StyleElement::createSheet(Element* e, const String& text) text 150 Source/core/dom/StyleElement.cpp bool passesContentSecurityPolicyChecks = document.contentSecurityPolicy()->allowStyleHash(text) || document.contentSecurityPolicy()->allowStyleNonce(e->fastGetAttribute(HTMLNames::nonceAttr)) || document.contentSecurityPolicy()->allowInlineStyle(e->document().url(), m_startPosition.m_line); text 159 Source/core/dom/StyleElement.cpp m_sheet = document.styleEngine()->createSheet(e, text, startPosition, m_createdByParser); text 59 Source/core/dom/StyleElement.h void createSheet(Element*, const String& text = String()); text 583 Source/core/dom/StyleEngine.cpp PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& text, TextPosition startPosition, bool createdByParser) text 590 Source/core/dom/StyleEngine.cpp AtomicString textContent(text); text 594 Source/core/dom/StyleEngine.cpp styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser); text 608 Source/core/dom/StyleEngine.cpp styleSheet = StyleEngine::parseSheet(e, text, startPosition, createdByParser); text 616 Source/core/dom/StyleEngine.cpp PassRefPtrWillBeRawPtr<CSSStyleSheet> StyleEngine::parseSheet(Element* e, const String& text, TextPosition startPosition, bool createdByParser) text 620 Source/core/dom/StyleEngine.cpp styleSheet->contents()->parseStringAtPosition(text, startPosition, createdByParser); text 188 Source/core/dom/StyleEngine.h PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& text, TextPosition startPosition, bool createdByParser); text 211 Source/core/dom/StyleEngine.h static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const String& text, TextPosition startPosition, bool createdByParser); text 291 Source/core/dom/Text.cpp static bool isSVGText(Text* text) text 293 Source/core/dom/Text.cpp Node* parentOrShadowHostNode = text->parentOrShadowHostNode(); text 249 Source/core/editing/ApplyBlockElementCommand.cpp RefPtr<Text> text = position.containerText(); text 250 Source/core/editing/ApplyBlockElementCommand.cpp if (!style->preserveNewline() || !position.offsetInContainerNode() || !isNewLineAtPosition(firstPositionInNode(text.get()))) text 256 Source/core/editing/ApplyBlockElementCommand.cpp splitTextNode(text, 1); text 258 Source/core/editing/ApplyBlockElementCommand.cpp if (text == start.containerNode() && text->previousSibling() && text->previousSibling()->isTextNode()) { text 260 Source/core/editing/ApplyBlockElementCommand.cpp start = Position(toText(text->previousSibling()), start.offsetInContainerNode()); text 262 Source/core/editing/ApplyBlockElementCommand.cpp if (text == end.containerNode() && text->previousSibling() && text->previousSibling()->isTextNode()) { text 264 Source/core/editing/ApplyBlockElementCommand.cpp end = Position(toText(text->previousSibling()), end.offsetInContainerNode()); text 266 Source/core/editing/ApplyBlockElementCommand.cpp if (text == m_endOfLastParagraph.containerNode()) { text 269 Source/core/editing/ApplyBlockElementCommand.cpp if (text->previousSibling()->isTextNode() text 270 Source/core/editing/ApplyBlockElementCommand.cpp && static_cast<unsigned>(m_endOfLastParagraph.offsetInContainerNode()) <= toText(text->previousSibling())->length()) text 271 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(toText(text->previousSibling()), m_endOfLastParagraph.offsetInContainerNode()); text 273 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(text.get(), m_endOfLastParagraph.offsetInContainerNode() - 1); text 276 Source/core/editing/ApplyBlockElementCommand.cpp return VisiblePosition(Position(text.get(), position.offsetInContainerNode() - 1)); text 1185 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Text> text = start.containerText(); text 1186 Source/core/editing/ApplyStyleCommand.cpp splitTextNode(text, start.offsetInContainerNode()); text 1187 Source/core/editing/ApplyStyleCommand.cpp updateStartEnd(firstPositionInNode(text.get()), newEnd); text 1195 Source/core/editing/ApplyStyleCommand.cpp Text* text = toText(end.deprecatedNode()); text 1196 Source/core/editing/ApplyStyleCommand.cpp splitTextNode(text, end.offsetInContainerNode()); text 1198 Source/core/editing/ApplyStyleCommand.cpp Node* prevNode = text->previousSibling(); text 453 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::splitTextNodeContainingElement(PassRefPtr<Text> text, unsigned offset) text 455 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(SplitTextNodeContainingElementCommand::create(text, offset)); text 458 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::insertTextIntoNode(PassRefPtr<Text> node, unsigned offset, const String& text) text 460 Source/core/editing/CompositeEditCommand.cpp if (!text.isEmpty()) text 461 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(InsertIntoTextNodeCommand::create(node, offset, text)); text 477 Source/core/editing/CompositeEditCommand.cpp Position CompositeEditCommand::replaceSelectedTextInNode(const String& text) text 485 Source/core/editing/CompositeEditCommand.cpp replaceTextInNode(textNode, start.offsetInContainerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), text); text 487 Source/core/editing/CompositeEditCommand.cpp return Position(textNode.release(), start.offsetInContainerNode() + text.length()); text 574 Source/core/editing/CompositeEditCommand.cpp static inline bool containsOnlyWhitespace(const String& text) text 576 Source/core/editing/CompositeEditCommand.cpp for (unsigned i = 0; i < text.length(); ++i) { text 577 Source/core/editing/CompositeEditCommand.cpp if (!isWhitespace(text[i])) text 584 Source/core/editing/CompositeEditCommand.cpp bool CompositeEditCommand::shouldRebalanceLeadingWhitespaceFor(const String& text) const text 586 Source/core/editing/CompositeEditCommand.cpp return containsOnlyWhitespace(text); text 615 Source/core/editing/CompositeEditCommand.cpp String text = toText(node)->data(); text 616 Source/core/editing/CompositeEditCommand.cpp if (!isWhitespace(text[offset])) { text 618 Source/core/editing/CompositeEditCommand.cpp if (offset < 0 || !isWhitespace(text[offset])) text 629 Source/core/editing/CompositeEditCommand.cpp String text = textNode->data(); text 630 Source/core/editing/CompositeEditCommand.cpp ASSERT(!text.isEmpty()); text 634 Source/core/editing/CompositeEditCommand.cpp while (upstream > 0 && isWhitespace(text[upstream - 1])) text 638 Source/core/editing/CompositeEditCommand.cpp while ((unsigned)downstream < text.length() && isWhitespace(text[downstream])) text 648 Source/core/editing/CompositeEditCommand.cpp String string = text.substring(upstream, length); text 653 Source/core/editing/CompositeEditCommand.cpp isEndOfParagraph(visibleDownstreamPos) || (unsigned)downstream == text.length()); text 107 Source/core/editing/CompositeEditCommand.h void insertTextIntoNode(PassRefPtr<Text>, unsigned offset, const String& text); text 457 Source/core/editing/DeleteSelectionCommand.cpp Text* text = toText(startNode); text 458 Source/core/editing/DeleteSelectionCommand.cpp if (text->length() > (unsigned)caretMaxOffset(startNode)) text 459 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode)); text 475 Source/core/editing/DeleteSelectionCommand.cpp Text* text = toText(startNode); text 476 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); text 495 Source/core/editing/DeleteSelectionCommand.cpp Text* text = toText(node); text 496 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, startOffset, text->length() - startOffset); text 502 Source/core/editing/DeleteSelectionCommand.cpp Text* text = toText(m_upstreamEnd.deprecatedNode()); text 503 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, 0, m_upstreamEnd.deprecatedEditingOffset()); text 536 Source/core/editing/DeleteSelectionCommand.cpp Text* text = toText(m_downstreamEnd.deprecatedNode()); text 538 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, 0, m_downstreamEnd.deprecatedEditingOffset()); text 226 Source/core/editing/EditingBehavior.cpp if (event.keyEvent()->text().length() != 1) text 245 Source/core/editing/EditingBehavior.cpp UChar ch = event.keyEvent()->text()[0U]; text 384 Source/core/editing/Editor.cpp String text = pasteboard->plainText(); text 385 Source/core/editing/Editor.cpp pasteAsPlainText(text, canSmartReplaceWithPasteboard(pasteboard)); text 406 Source/core/editing/Editor.cpp String text = pasteboard->plainText(); text 407 Source/core/editing/Editor.cpp if (!text.isEmpty()) { text 409 Source/core/editing/Editor.cpp fragment = createFragmentFromText(range.get(), text); text 507 Source/core/editing/Editor.cpp void Editor::replaceSelectionWithText(const String& text, bool selectReplacement, bool smartReplace) text 509 Source/core/editing/Editor.cpp replaceSelectionWithFragment(createFragmentFromText(selectedRange().get(), text), selectReplacement, smartReplace, true); text 774 Source/core/editing/Editor.cpp bool Editor::insertText(const String& text, Event* triggeringEvent) text 776 Source/core/editing/Editor.cpp return m_frame.eventHandler().handleTextInputEvent(text, triggeringEvent); text 779 Source/core/editing/Editor.cpp bool Editor::insertTextWithoutSendingTextEvent(const String& text, bool selectInsertedText, TextEvent* triggeringEvent) text 781 Source/core/editing/Editor.cpp if (text.isEmpty()) text 788 Source/core/editing/Editor.cpp spellChecker().updateMarkersForWordsAffectedByEditing(isSpaceOrNewline(text[0])); text 802 Source/core/editing/Editor.cpp TypingCommand::insertText(*document.get(), text, selection, options, triggeringEvent && triggeringEvent->isComposition() ? TypingCommand::TextCompositionConfirm : TypingCommand::TextCompositionNone); text 1002 Source/core/editing/Editor.cpp String text = plainText(range.get()); text 1003 Source/core/editing/Editor.cpp if (text.length() != 2) text 1005 Source/core/editing/Editor.cpp String transposed = text.right(1) + text.left(1); text 1020 Source/core/editing/Editor.cpp String text = plainText(range); text 1022 Source/core/editing/Editor.cpp killRing().prepend(text); text 1024 Source/core/editing/Editor.cpp killRing().append(text); text 70 Source/core/editing/EditorKeyBindings.cpp return insertText(evt->keyEvent()->text(), evt); text 91 Source/core/editing/InputMethodController.cpp bool InputMethodController::insertTextForConfirmedComposition(const String& text) text 93 Source/core/editing/InputMethodController.cpp return m_frame.eventHandler().handleTextInputEvent(text, 0, TextEventInputComposition); text 116 Source/core/editing/InputMethodController.cpp bool InputMethodController::confirmComposition(const String& text) text 118 Source/core/editing/InputMethodController.cpp return finishComposition(text, ConfirmComposition); text 121 Source/core/editing/InputMethodController.cpp bool InputMethodController::confirmCompositionOrInsertText(const String& text, ConfirmCompositionBehavior confirmBehavior) text 124 Source/core/editing/InputMethodController.cpp if (!text.length()) text 126 Source/core/editing/InputMethodController.cpp editor().insertText(text, 0); text 130 Source/core/editing/InputMethodController.cpp if (text.length()) { text 131 Source/core/editing/InputMethodController.cpp confirmComposition(text); text 174 Source/core/editing/InputMethodController.cpp bool InputMethodController::finishComposition(const String& text, FinishCompositionMode mode) text 184 Source/core/editing/InputMethodController.cpp ASSERT(text == emptyString()); text 203 Source/core/editing/InputMethodController.cpp RefPtrWillBeRawPtr<CompositionEvent> event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines); text 209 Source/core/editing/InputMethodController.cpp if (text.isEmpty() && mode != CancelComposition) { text 217 Source/core/editing/InputMethodController.cpp insertTextForConfirmedComposition(text); text 227 Source/core/editing/InputMethodController.cpp void InputMethodController::setComposition(const String& text, const Vector<CompositionUnderline>& underlines, unsigned selectionStart, unsigned selectionEnd) text 261 Source/core/editing/InputMethodController.cpp if (!text.isEmpty()) { text 263 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines); text 266 Source/core/editing/InputMethodController.cpp if (!text.isEmpty()) text 267 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines); text 269 Source/core/editing/InputMethodController.cpp event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines); text 277 Source/core/editing/InputMethodController.cpp if (text.isEmpty()) { text 285 Source/core/editing/InputMethodController.cpp if (!text.isEmpty()) { text 287 Source/core/editing/InputMethodController.cpp TypingCommand::insertText(*m_frame.document(), text, TypingCommand::SelectInsertedText | TypingCommand::PreventSpellChecking, TypingCommand::TextCompositionUpdate); text 297 Source/core/editing/InputMethodController.cpp if (baseNode && baseNode == extentNode && baseNode->isTextNode() && baseOffset + text.length() == extentOffset) { text 61 Source/core/editing/InputMethodController.h bool confirmComposition(const String& text); text 64 Source/core/editing/InputMethodController.h bool confirmCompositionOrInsertText(const String& text, ConfirmCompositionBehavior); text 108 Source/core/editing/InputMethodController.h bool insertTextForConfirmedComposition(const String& text); text 37 Source/core/editing/InsertIntoTextNodeCommand.cpp InsertIntoTextNodeCommand::InsertIntoTextNodeCommand(PassRefPtr<Text> node, unsigned offset, const String& text) text 41 Source/core/editing/InsertIntoTextNodeCommand.cpp , m_text(text) text 37 Source/core/editing/InsertIntoTextNodeCommand.h static PassRefPtr<InsertIntoTextNodeCommand> create(PassRefPtr<Text> node, unsigned offset, const String& text) text 39 Source/core/editing/InsertIntoTextNodeCommand.h return adoptRef(new InsertIntoTextNodeCommand(node, offset, text)); text 43 Source/core/editing/InsertIntoTextNodeCommand.h InsertIntoTextNodeCommand(PassRefPtr<Text> node, unsigned offset, const String& text); text 39 Source/core/editing/InsertTextCommand.cpp InsertTextCommand::InsertTextCommand(Document& document, const String& text, bool selectInsertedText, RebalanceType rebalanceType) text 41 Source/core/editing/InsertTextCommand.cpp , m_text(text) text 80 Source/core/editing/InsertTextCommand.cpp bool InsertTextCommand::performTrivialReplace(const String& text, bool selectInsertedText) text 85 Source/core/editing/InsertTextCommand.cpp if (text.contains('\t') || text.contains(' ') || text.contains('\n')) text 89 Source/core/editing/InsertTextCommand.cpp Position endPosition = replaceSelectedTextInNode(text); text 100 Source/core/editing/InsertTextCommand.cpp bool InsertTextCommand::performOverwrite(const String& text, bool selectInsertedText) text 107 Source/core/editing/InsertTextCommand.cpp unsigned count = std::min(text.length(), textNode->length() - start.offsetInContainerNode()); text 111 Source/core/editing/InsertTextCommand.cpp replaceTextInNode(textNode, start.offsetInContainerNode(), count, text); text 113 Source/core/editing/InsertTextCommand.cpp Position endPosition = Position(textNode.release(), start.offsetInContainerNode() + text.length()); text 40 Source/core/editing/InsertTextCommand.h static PassRefPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false, text 43 Source/core/editing/InsertTextCommand.h return adoptRef(new InsertTextCommand(document, text, selectInsertedText, rebalanceType)); text 47 Source/core/editing/InsertTextCommand.h InsertTextCommand(Document&, const String& text, bool selectInsertedText, RebalanceType); text 56 Source/core/editing/MarkupAccumulator.cpp static inline void appendCharactersReplacingEntitiesInternal(StringBuilder& result, CharType* text, unsigned length, const EntityDescription entityMaps[], unsigned entityMapsCount, EntityMask entityMask) text 61 Source/core/editing/MarkupAccumulator.cpp if (text[i] == entityMaps[entityIndex].entity && entityMaps[entityIndex].mask & entityMask) { text 62 Source/core/editing/MarkupAccumulator.cpp result.append(text + positionAfterLastEntity, i - positionAfterLastEntity); text 70 Source/core/editing/MarkupAccumulator.cpp result.append(text + positionAfterLastEntity, length - positionAfterLastEntity); text 290 Source/core/editing/MarkupAccumulator.cpp EntityMask MarkupAccumulator::entityMaskForText(const Text& text) const text 292 Source/core/editing/MarkupAccumulator.cpp if (!serializeAsHTMLDocument(text)) text 296 Source/core/editing/MarkupAccumulator.cpp if (text.parentElement()) text 297 Source/core/editing/MarkupAccumulator.cpp parentName = &(text.parentElement())->tagQName(); text 304 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendText(StringBuilder& result, Text& text) text 306 Source/core/editing/MarkupAccumulator.cpp const String& str = text.data(); text 311 Source/core/editing/MarkupAccumulator.cpp if (text == m_range->endContainer()) text 313 Source/core/editing/MarkupAccumulator.cpp if (text == m_range->startContainer()) { text 318 Source/core/editing/MarkupAccumulator.cpp appendCharactersReplacingEntities(result, str, start, length, entityMaskForText(text)); text 169 Source/core/editing/ReplaceSelectionCommand.cpp String text = plainText(range.get(), static_cast<TextIteratorBehavior>(TextIteratorEmitsOriginalText | TextIteratorIgnoresStyleVisibility)); text 176 Source/core/editing/ReplaceSelectionCommand.cpp RefPtrWillBeRawPtr<BeforeTextInsertedEvent> evt = BeforeTextInsertedEvent::create(text); text 178 Source/core/editing/ReplaceSelectionCommand.cpp if (text != evt->text() || !editableRoot->rendererIsRichlyEditable()) { text 181 Source/core/editing/ReplaceSelectionCommand.cpp m_fragment = createFragmentFromText(selection.toNormalizedRange().get(), evt->text()); text 659 Source/core/editing/ReplaceSelectionCommand.cpp static inline bool nodeHasVisibleRenderText(Text& text) text 661 Source/core/editing/ReplaceSelectionCommand.cpp return text.renderer() && toRenderText(text.renderer())->renderedTextLength() > 0; text 1357 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Text> text = nullptr; text 1359 Source/core/editing/ReplaceSelectionCommand.cpp text = toText(position.containerNode()); text 1363 Source/core/editing/ReplaceSelectionCommand.cpp text = toText(before); text 1367 Source/core/editing/ReplaceSelectionCommand.cpp text = toText(after); text 1370 Source/core/editing/ReplaceSelectionCommand.cpp if (!text) text 1373 Source/core/editing/ReplaceSelectionCommand.cpp if (text->previousSibling() && text->previousSibling()->isTextNode()) { text 1374 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Text> previous = toText(text->previousSibling()); text 1375 Source/core/editing/ReplaceSelectionCommand.cpp insertTextIntoNode(text, 0, previous->data()); text 1383 Source/core/editing/ReplaceSelectionCommand.cpp if (positionOnlyToBeUpdated.containerNode() == text) text 1386 Source/core/editing/ReplaceSelectionCommand.cpp positionOnlyToBeUpdated.moveToPosition(text, positionOnlyToBeUpdated.offsetInContainerNode()); text 1393 Source/core/editing/ReplaceSelectionCommand.cpp if (text->nextSibling() && text->nextSibling()->isTextNode()) { text 1394 Source/core/editing/ReplaceSelectionCommand.cpp RefPtr<Text> next = toText(text->nextSibling()); text 1395 Source/core/editing/ReplaceSelectionCommand.cpp unsigned originalLength = text->length(); text 1396 Source/core/editing/ReplaceSelectionCommand.cpp insertTextIntoNode(text, originalLength, next->data()); text 1402 Source/core/editing/ReplaceSelectionCommand.cpp positionOnlyToBeUpdated.moveToPosition(text, originalLength + positionOnlyToBeUpdated.offsetInContainerNode()); text 42 Source/core/editing/SpellCheckRequester.cpp const String& text, text 52 Source/core/editing/SpellCheckRequester.cpp , m_requestData(unrequestedTextCheckingSequence, text, mask, processType, documentMarkersInRange, documentMarkerOffsets) text 67 Source/core/editing/SpellCheckRequester.cpp String text = checkingRange->text(); text 68 Source/core/editing/SpellCheckRequester.cpp if (!text.length()) text 79 Source/core/editing/SpellCheckRequester.cpp return adoptRef(new SpellCheckRequest(checkingRange, paragraphRange, text, textCheckingOptions, processType, hashes, offsets, requestNumber)); text 522 Source/core/editing/SpellChecker.cpp checkTextOfParagraph(textChecker(), sentenceToCheck.text(), resolveTextCheckingTypeMask(textCheckingOptions), results); text 550 Source/core/editing/SpellChecker.cpp if (selectionOffset > 0 && (static_cast<unsigned>(selectionOffset) > paragraph.text().length() || paragraph.textCharAt(selectionOffset - 1) == newlineCharacter)) text 552 Source/core/editing/SpellChecker.cpp if (selectionOffset > 0 && static_cast<unsigned>(selectionOffset) <= paragraph.text().length() && isAmbiguousBoundaryCharacter(paragraph.textCharAt(selectionOffset - 1))) text 38 Source/core/editing/SplitTextNodeCommand.cpp SplitTextNodeCommand::SplitTextNodeCommand(PassRefPtr<Text> text, int offset) text 39 Source/core/editing/SplitTextNodeCommand.cpp : SimpleEditCommand(text->document()) text 40 Source/core/editing/SplitTextNodeCommand.cpp , m_text2(text) text 36 Source/core/editing/SplitTextNodeContainingElementCommand.cpp SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand(PassRefPtr<Text> text, int offset) text 37 Source/core/editing/SplitTextNodeContainingElementCommand.cpp : CompositeEditCommand(text->document()), m_text(text), m_offset(offset) text 57 Source/core/editing/SurroundingText.cpp if (!forwardRange || !Range::create(*document, position, forwardRange->startPosition())->text().length()) { text 72 Source/core/editing/SurroundingText.cpp m_positionOffsetInContent = Range::create(*document, backwardsRange->endPosition(), position)->text().length(); text 103 Source/core/editing/SurroundingText.cpp return m_contentRange->text(); text 46 Source/core/editing/TextCheckingHelper.cpp static void findBadGrammars(TextCheckerClient& client, const UChar* text, int start, int length, Vector<TextCheckingResult>& results) text 55 Source/core/editing/TextCheckingHelper.cpp client.checkGrammarOfString(String(text + checkLocation, checkLength), badGrammarDetails, &badGrammarLocation, &badGrammarLength); text 72 Source/core/editing/TextCheckingHelper.cpp static void findMisspellings(TextCheckerClient& client, const UChar* text, int start, int length, Vector<TextCheckingResult>& results) text 74 Source/core/editing/TextCheckingHelper.cpp TextBreakIterator* iterator = wordBreakIterator(text + start, length); text 85 Source/core/editing/TextCheckingHelper.cpp client.checkSpellingOfString(String(text + start + wordStart, wordLength), &misspellingLocation, &misspellingLength); text 93 Source/core/editing/TextCheckingHelper.cpp misspelling.replacement = client.getAutoCorrectSuggestionForMisspelledWord(String(text + misspelling.location, misspelling.length)); text 533 Source/core/editing/TextCheckingHelper.cpp void checkTextOfParagraph(TextCheckerClient& client, const String& text, TextCheckingTypeMask checkingTypes, Vector<TextCheckingResult>& results) text 536 Source/core/editing/TextCheckingHelper.cpp text.appendTo(characters); text 537 Source/core/editing/TextCheckingHelper.cpp unsigned length = text.length(); text 50 Source/core/editing/TextCheckingHelper.h const String& text() const; text 52 Source/core/editing/TextCheckingHelper.h String textSubstring(unsigned pos, unsigned len = INT_MAX) const { return text().substring(pos, len); } text 53 Source/core/editing/TextCheckingHelper.h UChar textCharAt(int index) const { return text()[static_cast<unsigned>(index)]; } text 56 Source/core/editing/TextCheckingHelper.h bool isTextEmpty() const { return text().isEmpty(); } text 57 Source/core/editing/TextInsertionBaseCommand.cpp String dispatchBeforeTextInsertedEvent(const String& text, const VisibleSelection& selectionForInsertion, bool insertionIsForUpdatingComposition) text 60 Source/core/editing/TextInsertionBaseCommand.cpp return text; text 62 Source/core/editing/TextInsertionBaseCommand.cpp String newText = text; text 66 Source/core/editing/TextInsertionBaseCommand.cpp RefPtrWillBeRawPtr<BeforeTextInsertedEvent> evt = BeforeTextInsertedEvent::create(text); text 68 Source/core/editing/TextInsertionBaseCommand.cpp newText = evt->text(); text 82 Source/core/editing/TextInsertionBaseCommand.cpp return event->text().length(); text 46 Source/core/editing/TextInsertionBaseCommand.h String dispatchBeforeTextInsertedEvent(const String& text, const VisibleSelection& selectionForInsertion, bool insertionIsForUpdatingComposition); text 589 Source/core/editing/TextIterator.cpp String str = renderer->text(); text 601 Source/core/editing/TextIterator.cpp String firstLetter = m_firstLetterText->text(); text 660 Source/core/editing/TextIterator.cpp String str = renderer->text(); text 951 Source/core/editing/TextIterator.cpp const String& text = renderer->text(); text 952 Source/core/editing/TextIterator.cpp int length = text.length(); text 954 Source/core/editing/TextIterator.cpp if (!renderer->style()->isCollapsibleWhiteSpace(text[i])) text 1129 Source/core/editing/TextIterator.cpp m_text = m_emitsOriginalText ? renderer->originalText() : renderer->text(); text 1357 Source/core/editing/TextIterator.cpp String text = renderer->text(); text 1358 Source/core/editing/TextIterator.cpp if (!renderer->firstTextBox() && text.length() > 0) text 1366 Source/core/editing/TextIterator.cpp ASSERT(0 <= m_positionStartOffset - offsetInNode && m_positionStartOffset - offsetInNode <= static_cast<int>(text.length())); text 1367 Source/core/editing/TextIterator.cpp ASSERT(1 <= m_positionEndOffset - offsetInNode && m_positionEndOffset - offsetInNode <= static_cast<int>(text.length())); text 1372 Source/core/editing/TextIterator.cpp m_textContainer = text; text 1374 Source/core/editing/TextIterator.cpp RELEASE_ASSERT(static_cast<unsigned>(m_textOffset + m_textLength) <= text.length()); text 1376 Source/core/editing/TextIterator.cpp m_lastCharacter = text[m_positionEndOffset - 1]; text 54 Source/core/editing/TypingCommand.cpp TypingCommandLineOperation(TypingCommand* typingCommand, bool selectInsertedText, const String& text) text 57 Source/core/editing/TypingCommand.cpp , m_text(text) text 158 Source/core/editing/TypingCommand.cpp void TypingCommand::insertText(Document& document, const String& text, Options options, TextCompositionType composition) text 163 Source/core/editing/TypingCommand.cpp if (!text.isEmpty()) text 164 Source/core/editing/TypingCommand.cpp document.frame()->spellChecker().updateMarkersForWordsAffectedByEditing(isSpaceOrNewline(text[0])); text 166 Source/core/editing/TypingCommand.cpp insertText(document, text, frame->selection().selection(), options, composition); text 170 Source/core/editing/TypingCommand.cpp void TypingCommand::insertText(Document& document, const String& text, const VisibleSelection& selectionForInsertion, Options options, TextCompositionType compositionType) text 177 Source/core/editing/TypingCommand.cpp String newText = dispatchBeforeTextInsertedEvent(text, selectionForInsertion, compositionType == TextCompositionUpdate); text 328 Source/core/editing/TypingCommand.cpp void TypingCommand::insertText(const String &text, bool selectInsertedText) text 335 Source/core/editing/TypingCommand.cpp TypingCommandLineOperation operation(this, selectInsertedText, text); text 336 Source/core/editing/TypingCommand.cpp forEachLineInString(text, operation); text 339 Source/core/editing/TypingCommand.cpp void TypingCommand::insertTextRunWithoutNewlines(const String &text, bool selectInsertedText) text 341 Source/core/editing/TypingCommand.cpp RefPtr<InsertTextCommand> command = InsertTextCommand::create(document(), text, selectInsertedText, text 70 Source/core/editing/TypingCommand.h void insertText(const String &text, bool selectInsertedText); text 71 Source/core/editing/TypingCommand.h void insertTextRunWithoutNewlines(const String &text, bool selectInsertedText); text 81 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) text 83 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone)); text 86 Source/core/editing/TypingCommand.h static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType) text 88 Source/core/editing/TypingCommand.h return adoptRef(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType)); text 91 Source/core/editing/TypingCommand.h TypingCommand(Document&, ETypingCommand, const String& text, Options, TextGranularity, TextCompositionType); text 300 Source/core/editing/VisibleUnits.cpp previousBox->textRenderer().text().appendTo(string, previousBox->start(), previousBoxLength); text 303 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); text 319 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); text 322 Source/core/editing/VisibleUnits.cpp nextBox->textRenderer().text().appendTo(string, nextBox->start(), nextBox->len()); text 389 Source/core/editing/VisibleUnits.cpp iter = wordBreakIterator(textBox->textRenderer().text(), textBox->start(), textBox->len()); text 1129 Source/core/editing/VisibleUnits.cpp RenderText* text = toRenderText(r); text 1130 Source/core/editing/VisibleUnits.cpp int i = text->textLength(); text 1135 Source/core/editing/VisibleUnits.cpp if ((*text)[i] == '\n') text 1210 Source/core/editing/VisibleUnits.cpp RenderText* text = toRenderText(r); text 1213 Source/core/editing/VisibleUnits.cpp if ((*text)[i] == '\n') text 214 Source/core/editing/markup.cpp void StyledMarkupAccumulator::appendText(StringBuilder& out, Text& text) text 216 Source/core/editing/markup.cpp const bool parentIsTextarea = text.parentElement() && text.parentElement()->tagQName() == textareaTag; text 217 Source/core/editing/markup.cpp const bool wrappingSpan = shouldApplyWrappingStyle(text) && !parentIsTextarea; text 226 Source/core/editing/markup.cpp appendStyleNodeOpenTag(out, wrappingStyle->style(), text.document()); text 230 Source/core/editing/markup.cpp MarkupAccumulator::appendText(out, text); text 232 Source/core/editing/markup.cpp const bool useRenderedText = !enclosingNodeWithTag(firstPositionInNode(&text), selectTag); text 233 Source/core/editing/markup.cpp String content = useRenderedText ? renderedText(text, m_range) : stringValueForRange(text, m_range); text 236 Source/core/editing/markup.cpp out.append(convertHTMLTextToInterchangeFormat(buffer.toString(), text)); text 817 Source/core/editing/markup.cpp PassRefPtr<DocumentFragment> createFragmentFromText(Range* context, const String& text) text 825 Source/core/editing/markup.cpp if (text.isEmpty()) text 828 Source/core/editing/markup.cpp String string = text; text 1025 Source/core/editing/markup.cpp void replaceChildrenWithText(ContainerNode* container, const String& text, ExceptionState& exceptionState) text 1043 Source/core/editing/markup.cpp toText(containerNode->firstChild())->setData(text); text 1048 Source/core/editing/markup.cpp RefPtr<Text> textNode = Text::create(containerNode->document(), text); text 50 Source/core/editing/markup.h PassRefPtr<DocumentFragment> createFragmentFromText(Range* context, const String& text); text 31 Source/core/events/BeforeTextInsertedEvent.cpp BeforeTextInsertedEvent::BeforeTextInsertedEvent(const String& text) text 32 Source/core/events/BeforeTextInsertedEvent.cpp : Event(EventTypeNames::webkitBeforeTextInserted, false, true), m_text(text) text 37 Source/core/events/BeforeTextInsertedEvent.h static PassRefPtrWillBeRawPtr<BeforeTextInsertedEvent> create(const String& text) text 39 Source/core/events/BeforeTextInsertedEvent.h return adoptRefWillBeNoop(new BeforeTextInsertedEvent(text)); text 45 Source/core/events/BeforeTextInsertedEvent.h const String& text() const { return m_text; } text 198 Source/core/events/KeyboardEvent.cpp String text = m_keyEvent->text(); text 199 Source/core/events/KeyboardEvent.cpp return static_cast<int>(text.characterStartingAt(0)); text 25 Source/core/frame/csp/CSPDirective.h const String& text() const { return m_text; } text 34 Source/core/frame/csp/CSPDirectiveList.cpp String message = "Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: \"" + directives->operativeDirective(directives->m_scriptSrc.get())->text() + "\".\n"; text 130 Source/core/frame/csp/CSPDirectiveList.cpp reportViolationWithState(directive->text(), ContentSecurityPolicy::ScriptSrc, consoleMessage + "\"" + directive->text() + "\"." + suffix + "\n", KURL(), state); text 132 Source/core/frame/csp/CSPDirectiveList.cpp m_policy->reportBlockedScriptExecutionToInspector(directive->text()); text 143 Source/core/frame/csp/CSPDirectiveList.cpp String message = consoleMessage + "\'" + directive->text() + "\'."; text 147 Source/core/frame/csp/CSPDirectiveList.cpp reportViolation(directive->text(), ContentSecurityPolicy::PluginTypes, message + "\n", KURL()); text 166 Source/core/frame/csp/CSPDirectiveList.cpp reportViolationWithLocation(directive->text(), isScript ? ContentSecurityPolicy::ScriptSrc : ContentSecurityPolicy::StyleSrc, consoleMessage + "\"" + directive->text() + "\"." + suffix + "\n", KURL(), contextURL, contextLine); text 170 Source/core/frame/csp/CSPDirectiveList.cpp m_policy->reportBlockedScriptExecutionToInspector(directive->text()); text 209 Source/core/frame/csp/CSPDirectiveList.cpp reportViolation(directive->text(), effectiveDirective, prefix + url.elidedString() + "' because it violates the following Content Security Policy directive: \"" + directive->text() + "\"." + suffix + "\n", url); text 218 Source/core/frame/csp/CSPDirectiveList.cpp reportViolation(directive->text(), "frame-ancestors", "Refused to display '" + frame->document()->url().elidedString() + " in a frame because an ancestor violates the following Content Security Policy directive: \"" + directive->text() + "\".", frame->document()->url()); text 75 Source/core/html/HTMLAnchorElement.h String text(); text 303 Source/core/html/HTMLDocument.cpp void HTMLDocument::write(DOMWindow* callingWindow, const Vector<String>& text) text 307 Source/core/html/HTMLDocument.cpp for (size_t i = 0; i < text.size(); ++i) text 308 Source/core/html/HTMLDocument.cpp builder.append(text[i]); text 312 Source/core/html/HTMLDocument.cpp void HTMLDocument::writeln(DOMWindow* callingWindow, const Vector<String>& text) text 316 Source/core/html/HTMLDocument.cpp for (size_t i = 0; i < text.size(); ++i) text 317 Source/core/html/HTMLDocument.cpp builder.append(text[i]); text 76 Source/core/html/HTMLDocument.h void write(DOMWindow*, const Vector<String>& text); text 77 Source/core/html/HTMLDocument.h void writeln(DOMWindow*, const Vector<String>& text); text 327 Source/core/html/HTMLElement.cpp PassRefPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionState& exceptionState) text 330 Source/core/html/HTMLElement.cpp unsigned i, length = text.length(); text 336 Source/core/html/HTMLElement.cpp c = text[i]; text 341 Source/core/html/HTMLElement.cpp fragment->appendChild(Text::create(document(), text.substring(start, i - start)), exceptionState); text 350 Source/core/html/HTMLElement.cpp if (c == '\r' && i + 1 < length && text[i + 1] == '\n') text 360 Source/core/html/HTMLElement.cpp void HTMLElement::setInnerText(const String& text, ExceptionState& exceptionState) text 376 Source/core/html/HTMLElement.cpp if (!text.contains('\n') && !text.contains('\r')) { text 377 Source/core/html/HTMLElement.cpp if (text.isEmpty()) { text 381 Source/core/html/HTMLElement.cpp replaceChildrenWithText(this, text, exceptionState); text 390 Source/core/html/HTMLElement.cpp if (!text.contains('\r')) { text 391 Source/core/html/HTMLElement.cpp replaceChildrenWithText(this, text, exceptionState); text 394 Source/core/html/HTMLElement.cpp String textWithConsistentLineBreaks = text; text 402 Source/core/html/HTMLElement.cpp RefPtr<DocumentFragment> fragment = textToFragment(text, exceptionState); text 407 Source/core/html/HTMLElement.cpp void HTMLElement::setOuterText(const String &text, ExceptionState& exceptionState) text 432 Source/core/html/HTMLElement.cpp if (text.contains('\r') || text.contains('\n')) text 433 Source/core/html/HTMLElement.cpp newChild = textToFragment(text, exceptionState); text 435 Source/core/html/HTMLElement.cpp newChild = Text::create(document(), text); text 67 Source/core/html/HTMLOptionElement.cpp RefPtr<Text> text = Text::create(document, data.isNull() ? "" : data); text 69 Source/core/html/HTMLOptionElement.cpp element->appendChild(text.release(), exceptionState); text 110 Source/core/html/HTMLOptionElement.cpp String text; text 114 Source/core/html/HTMLOptionElement.cpp text = fastGetAttribute(labelAttr); text 119 Source/core/html/HTMLOptionElement.cpp if (text.isEmpty()) text 120 Source/core/html/HTMLOptionElement.cpp text = collectOptionInnerText(); text 122 Source/core/html/HTMLOptionElement.cpp return text.stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>); text 125 Source/core/html/HTMLOptionElement.cpp void HTMLOptionElement::setText(const String &text, ExceptionState& exceptionState) text 139 Source/core/html/HTMLOptionElement.cpp toText(child)->setData(text); text 142 Source/core/html/HTMLOptionElement.cpp appendChild(Text::create(document(), text), exceptionState); text 315 Source/core/html/HTMLOptionElement.cpp return " " + text(); text 316 Source/core/html/HTMLOptionElement.cpp return text(); text 346 Source/core/html/HTMLOptionElement.cpp StringBuilder text; text 349 Source/core/html/HTMLOptionElement.cpp text.append(node->nodeValue()); text 356 Source/core/html/HTMLOptionElement.cpp return text.toString(); text 42 Source/core/html/HTMLOptionElement.h String text() const; text 38 Source/core/html/HTMLScriptElement.h String text() { return textFromChildren(); } text 64 Source/core/html/HTMLTextAreaElement.cpp static unsigned numberOfLineBreaks(const String& text) text 66 Source/core/html/HTMLTextAreaElement.cpp unsigned length = text.length(); text 69 Source/core/html/HTMLTextAreaElement.cpp if (text[i] == '\n') text 75 Source/core/html/HTMLTextAreaElement.cpp static inline unsigned computeLengthForSubmission(const String& text) text 77 Source/core/html/HTMLTextAreaElement.cpp return text.length() + numberOfLineBreaks(text); text 211 Source/core/html/HTMLTextAreaElement.cpp const String& text = (m_wrap == HardWrap) ? valueWithHardLineBreaks() : value(); text 212 Source/core/html/HTMLTextAreaElement.cpp encoding.appendData(name(), text); text 298 Source/core/html/HTMLTextAreaElement.cpp if (currentLength + computeLengthForSubmission(event->text()) < unsignedMaxLength) text 310 Source/core/html/HTMLTextAreaElement.cpp event->setText(sanitizeUserInputValue(event->text(), appendableLength)); text 215 Source/core/html/HTMLTextFormControlElement.cpp String text = innerTextValue(); text 216 Source/core/html/HTMLTextFormControlElement.cpp unsigned textLength = text.length(); text 225 Source/core/html/HTMLTextFormControlElement.cpp text.replace(start, end - start, replacement); text 227 Source/core/html/HTMLTextFormControlElement.cpp text.insert(replacement, start); text 229 Source/core/html/HTMLTextFormControlElement.cpp setInnerTextValue(text); text 87 Source/core/html/HTMLTextFormControlElement.h void setTextAsOfLastFormControlChangeEvent(const String& text) { m_textAsOfLastFormControlChangeEvent = text; } text 56 Source/core/html/HTMLTitleElement.cpp document().setTitleElement(text(), this); text 71 Source/core/html/HTMLTitleElement.cpp document().setTitleElement(text(), this); text 33 Source/core/html/HTMLTitleElement.h String text() const; text 226 Source/core/html/HTMLViewSourceDocument.cpp void HTMLViewSourceDocument::addText(const String& text, const AtomicString& className) text 228 Source/core/html/HTMLViewSourceDocument.cpp if (text.isEmpty()) text 233 Source/core/html/HTMLViewSourceDocument.cpp text.split('\n', true, lines); text 258 Source/core/html/HTMLViewSourceDocument.cpp String text = source.substring(start, end - start); text 265 Source/core/html/HTMLViewSourceDocument.cpp addText(text, className); text 60 Source/core/html/HTMLViewSourceDocument.h void addText(const String& text, const AtomicString& className); text 2108 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::fillText(const String& text, float x, float y) text 2110 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawTextInternal(text, x, y, true); text 2113 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::fillText(const String& text, float x, float y, float maxWidth) text 2115 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawTextInternal(text, x, y, true, maxWidth, true); text 2118 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::strokeText(const String& text, float x, float y) text 2120 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawTextInternal(text, x, y, false); text 2123 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::strokeText(const String& text, float x, float y, float maxWidth) text 2125 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawTextInternal(text, x, y, false, maxWidth, true); text 2128 Source/core/html/canvas/CanvasRenderingContext2D.cpp PassRefPtr<TextMetrics> CanvasRenderingContext2D::measureText(const String& text) text 2139 Source/core/html/canvas/CanvasRenderingContext2D.cpp const TextRun textRun(text); text 2169 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void replaceCharacterInString(String& text, WTF::CharacterMatchFunctionPtr matchFunction, const String& replacement) text 2173 Source/core/html/canvas/CanvasRenderingContext2D.cpp while ((index = text.find(matchFunction, index)) != kNotFound) { text 2174 Source/core/html/canvas/CanvasRenderingContext2D.cpp text.replace(index, 1, replacement); text 2179 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth, bool useMaxWidth) text 2214 Source/core/html/canvas/CanvasRenderingContext2D.cpp String normalizedText = text; text 218 Source/core/html/canvas/CanvasRenderingContext2D.h void fillText(const String& text, float x, float y); text 219 Source/core/html/canvas/CanvasRenderingContext2D.h void fillText(const String& text, float x, float y, float maxWidth); text 220 Source/core/html/canvas/CanvasRenderingContext2D.h void strokeText(const String& text, float x, float y); text 221 Source/core/html/canvas/CanvasRenderingContext2D.h void strokeText(const String& text, float x, float y, float maxWidth); text 222 Source/core/html/canvas/CanvasRenderingContext2D.h PassRefPtr<TextMetrics> measureText(const String& text); text 321 Source/core/html/canvas/CanvasRenderingContext2D.h void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool useMaxWidth = false); text 5413 Source/core/html/canvas/WebGLRenderingContextBase.cpp String WebGLRenderingContextBase::ensureNotNull(const String& text) const text 5415 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (text.isNull()) text 5417 Source/core/html/canvas/WebGLRenderingContextBase.cpp return text; text 131 Source/core/html/forms/InputType.cpp return InputTypeNames::text; text 133 Source/core/html/forms/InputType.cpp return it == factoryMap()->end() ? InputTypeNames::text : it->key; text 439 Source/core/html/forms/TextFieldInputType.cpp String eventText = event->text(); text 61 Source/core/html/forms/TextInputType.cpp return InputTypeNames::text; text 107 Source/core/html/forms/TypeAhead.cpp String text = m_dataSource->optionAtIndex(index); text 108 Source/core/html/forms/TypeAhead.cpp if (stripLeadingWhiteSpace(text).foldCase().startsWith(prefixWithCaseFolded)) text 101 Source/core/html/ime/InputMethodContext.cpp Text* text = inputMethodController().compositionNode(); text 102 Source/core/html/ime/InputMethodContext.cpp return text ? text->wholeText() : emptyString(); text 400 Source/core/html/shadow/DateTimeEditElement.cpp void DateTimeEditBuilder::visitLiteral(const String& text) text 403 Source/core/html/shadow/DateTimeEditElement.cpp ASSERT(text.length()); text 406 Source/core/html/shadow/DateTimeEditElement.cpp if (m_parameters.locale.isRTL() && text.length()) { text 407 Source/core/html/shadow/DateTimeEditElement.cpp Direction dir = direction(text[0]); text 411 Source/core/html/shadow/DateTimeEditElement.cpp element->appendChild(Text::create(m_editElement.document(), text)); text 204 Source/core/html/track/vtt/VTTCue.cpp VTTCue::VTTCue(Document& document, double startTime, double endTime, const String& text) text 206 Source/core/html/track/vtt/VTTCue.cpp , m_text(text) text 232 Source/core/html/track/vtt/VTTCue.cpp return String::format("%p id=%s interval=%f-->%f cue=%s)", this, id().utf8().data(), startTime(), endTime(), text().utf8().data()); text 403 Source/core/html/track/vtt/VTTCue.cpp void VTTCue::setText(const String& text) text 405 Source/core/html/track/vtt/VTTCue.cpp if (m_text == text) text 412 Source/core/html/track/vtt/VTTCue.cpp m_text = text; text 63 Source/core/html/track/vtt/VTTCue.h static PassRefPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text) text 65 Source/core/html/track/vtt/VTTCue.h return adoptRef(new VTTCue(document, startTime, endTime, text)); text 88 Source/core/html/track/vtt/VTTCue.h const String& text() const { return m_text; } text 141 Source/core/html/track/vtt/VTTCue.h VTTCue(Document&, double startTime, double endTime, const String& text); text 46 Source/core/inspector/ContentSearchUtils.cpp static String createSearchRegexSource(const String& text) text 51 Source/core/inspector/ContentSearchUtils.cpp for (unsigned i = 0; i < text.length(); i++) { text 52 Source/core/inspector/ContentSearchUtils.cpp if (specials.find(text[i]) != kNotFound) text 54 Source/core/inspector/ContentSearchUtils.cpp result.append(text[i]); text 60 Source/core/inspector/ContentSearchUtils.cpp static Vector<pair<int, String> > getScriptRegexpMatchesByLines(const ScriptRegexp* regex, const String& text) text 63 Source/core/inspector/ContentSearchUtils.cpp if (text.isEmpty()) text 66 Source/core/inspector/ContentSearchUtils.cpp OwnPtr<Vector<unsigned> > endings(lineEndings(text)); text 71 Source/core/inspector/ContentSearchUtils.cpp String line = text.substring(start, lineEnd - start); text 117 Source/core/inspector/ContentSearchUtils.cpp PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex) text 122 Source/core/inspector/ContentSearchUtils.cpp Vector<pair<int, String> > matches = getScriptRegexpMatchesByLines(regex.get(), text); text 51 Source/core/inspector/ContentSearchUtils.h PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex); text 259 Source/core/inspector/DOMEditor.cpp ReplaceWholeTextAction(Text* textNode, const String& text) text 262 Source/core/inspector/DOMEditor.cpp , m_text(text) text 391 Source/core/inspector/DOMEditor.cpp bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ExceptionState& exceptionState) text 393 Source/core/inspector/DOMEditor.cpp return m_history->perform(adoptRef(new ReplaceWholeTextAction(textNode, text)), exceptionState); text 452 Source/core/inspector/DOMEditor.cpp bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ErrorString* errorString) text 455 Source/core/inspector/DOMEditor.cpp bool result = replaceWholeText(textNode, text, exceptionState); text 57 Source/core/inspector/DOMEditor.h bool replaceWholeText(Text*, const String& text, ExceptionState&); text 66 Source/core/inspector/DOMEditor.h bool replaceWholeText(Text*, const String& text, ErrorString*); text 174 Source/core/inspector/InspectorCSSAgent.cpp SetStyleSheetTextAction(InspectorStyleSheetBase* styleSheet, const String& text) text 177 Source/core/inspector/InspectorCSSAgent.cpp , m_text(text) text 220 Source/core/inspector/InspectorCSSAgent.cpp SetPropertyTextAction(InspectorStyleSheetBase* styleSheet, const InspectorCSSId& cssId, unsigned propertyIndex, const String& text, bool overwrite) text 225 Source/core/inspector/InspectorCSSAgent.cpp , m_text(text) text 829 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::setStyleSheetText(ErrorString* errorString, const String& styleSheetId, const String& text) text 838 Source/core/inspector/InspectorCSSAgent.cpp m_domAgent->history()->perform(adoptRef(new SetStyleSheetTextAction(inspectorStyleSheet, text)), exceptionState); text 883 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::setPropertyText(ErrorString* errorString, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result) text 900 Source/core/inspector/InspectorCSSAgent.cpp bool success = m_domAgent->history()->perform(adoptRef(new SetPropertyTextAction(inspectorStyleSheet, compoundId, propertyIndex, text, overwrite)), exceptionState); text 130 Source/core/inspector/InspectorCSSAgent.h virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, const String& text) OVERRIDE; text 132 Source/core/inspector/InspectorCSSAgent.h virtual void setPropertyText(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result) OVERRIDE; text 716 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::setAttributesAsText(ErrorString* errorString, int elementId, const String& text, const String* const name) text 722 Source/core/inspector/InspectorDOMAgent.cpp String markup = "<span " + text + "></span>"; text 988 Source/core/inspector/InspectorDOMAgent.cpp String text = node->nodeValue(); text 989 Source/core/inspector/InspectorDOMAgent.cpp if (text.findIgnoringCase(whitespaceTrimmedQuery) != kNotFound) text 121 Source/core/inspector/InspectorDOMAgent.h virtual void setAttributesAsText(ErrorString*, int elementId, const String& text, const String* name) OVERRIDE; text 158 Source/core/inspector/InspectorFrontendHost.cpp void InspectorFrontendHost::copyText(const String& text) text 160 Source/core/inspector/InspectorFrontendHost.cpp Pasteboard::generalPasteboard()->writePlainText(text, Pasteboard::CannotSmartReplace); text 61 Source/core/inspector/InspectorFrontendHost.h void copyText(const String& text); text 102 Source/core/inspector/InspectorInputAgent.cpp void InspectorInputAgent::dispatchKeyEvent(ErrorString* error, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const int* macCharCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) text 120 Source/core/inspector/InspectorInputAgent.cpp text ? *text : "", text 56 Source/core/inspector/InspectorInputAgent.h virtual void dispatchKeyEvent(ErrorString*, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const int* macCharCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) OVERRIDE; text 387 Source/core/inspector/InspectorStyleSheet.cpp void ParsedStyleSheet::setText(const String& text) text 390 Source/core/inspector/InspectorStyleSheet.cpp m_text = text; text 421 Source/core/inspector/InspectorStyleSheet.cpp StyleSheetHandler handler(text(), m_pageStyleSheet->ownerDocument(), newStyleSheet.get(), result.get()); text 422 Source/core/inspector/InspectorStyleSheet.cpp BisonCSSParser(parserContextForDocument(m_pageStyleSheet->ownerDocument())).parseSheet(newStyleSheet.get(), text(), TextPosition::minimumPosition(), &handler); text 596 Source/core/inspector/InspectorStyleSheet.cpp String text; text 597 Source/core/inspector/InspectorStyleSheet.cpp bool success = styleText(&text); text 606 Source/core/inspector/InspectorStyleSheet.cpp InspectorStyleTextEditor editor(&allProperties, text, newLineAndWhitespaceDelimiters()); text 777 Source/core/inspector/InspectorStyleSheet.cpp String text; text 778 Source/core/inspector/InspectorStyleSheet.cpp bool success = styleText(&text); text 796 Source/core/inspector/InspectorStyleSheet.cpp UChar ch = text[i]; text 837 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheetBase::setPropertyText(const InspectorCSSId& id, unsigned propertyIndex, const String& text, bool overwrite, ExceptionState& exceptionState) text 844 Source/core/inspector/InspectorStyleSheet.cpp return inspectorStyle->setPropertyText(propertyIndex, text, overwrite, exceptionState); text 847 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheetBase::getStyleText(const InspectorCSSId& id, String* text) text 852 Source/core/inspector/InspectorStyleSheet.cpp return inspectorStyle->styleText(text); text 892 Source/core/inspector/InspectorStyleSheet.cpp String text; text 893 Source/core/inspector/InspectorStyleSheet.cpp if (!getText(&text)) text 895 Source/core/inspector/InspectorStyleSheet.cpp return WTF::lineEndings(text); text 982 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheet::setText(const String& text, ExceptionState& exceptionState) text 984 Source/core/inspector/InspectorStyleSheet.cpp m_parsedStyleSheet->setText(text); text 998 Source/core/inspector/InspectorStyleSheet.cpp m_pageStyleSheet->contents()->parseString(text); text 1038 Source/core/inspector/InspectorStyleSheet.cpp String sheetText = m_parsedStyleSheet->text(); text 1059 Source/core/inspector/InspectorStyleSheet.cpp String text; text 1060 Source/core/inspector/InspectorStyleSheet.cpp bool success = getText(&text); text 1066 Source/core/inspector/InspectorStyleSheet.cpp styleSheetText.append(text); text 1123 Source/core/inspector/InspectorStyleSheet.cpp String sheetText = m_parsedStyleSheet->text(); text 1201 Source/core/inspector/InspectorStyleSheet.cpp selectors = selectorsFromSource(sourceData.get(), m_parsedStyleSheet->text()); text 1251 Source/core/inspector/InspectorStyleSheet.cpp *result = m_parsedStyleSheet->text(); text 1405 Source/core/inspector/InspectorStyleSheet.cpp String text; text 1406 Source/core/inspector/InspectorStyleSheet.cpp bool success = originalStyleSheetText(&text); text 1408 Source/core/inspector/InspectorStyleSheet.cpp m_parsedStyleSheet->setText(text); text 1447 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheet::setStyleText(const InspectorCSSId& id, const String& text) text 1457 Source/core/inspector/InspectorStyleSheet.cpp bool success = styleSheetTextWithChangedStyle(style, text, &patchedStyleSheetText); text 1462 Source/core/inspector/InspectorStyleSheet.cpp style->setCSSText(text, exceptionState); text 1483 Source/core/inspector/InspectorStyleSheet.cpp String text = m_parsedStyleSheet->text(); text 1484 Source/core/inspector/InspectorStyleSheet.cpp ASSERT_WITH_SECURITY_IMPLICATION(bodyEnd <= text.length()); // bodyEnd is exclusive text 1486 Source/core/inspector/InspectorStyleSheet.cpp text.replace(bodyStart, bodyEnd - bodyStart, newStyleText); text 1487 Source/core/inspector/InspectorStyleSheet.cpp *result = text; text 1554 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheetForInlineStyle::setText(const String& text, ExceptionState& exceptionState) text 1556 Source/core/inspector/InspectorStyleSheet.cpp bool success = setStyleText(InspectorCSSId(id(), 0), text); text 1574 Source/core/inspector/InspectorStyleSheet.cpp bool InspectorStyleSheetForInlineStyle::setStyleText(const InspectorCSSId& id, const String& text) text 1584 Source/core/inspector/InspectorStyleSheet.cpp m_element->setAttribute("style", AtomicString(text), exceptionState); text 1587 Source/core/inspector/InspectorStyleSheet.cpp m_styleText = text; text 144 Source/core/inspector/InspectorStyleSheet.h bool setPropertyText(unsigned index, const String& text, bool overwrite, ExceptionState&); text 183 Source/core/inspector/InspectorStyleSheet.h bool setPropertyText(const InspectorCSSId&, unsigned propertyIndex, const String& text, bool overwrite, ExceptionState&); text 441 Source/core/page/DragController.cpp String text = m_page->dragCaretController().isContentRichlyEditable() ? "" : dragData->asPlainText(); text 443 Source/core/page/DragController.cpp return target->dispatchEvent(TextEvent::createForDrop(innerFrame->domWindow(), text), IGNORE_EXCEPTION); text 519 Source/core/page/DragController.cpp String text = dragData->asPlainText(); text 520 Source/core/page/DragController.cpp if (text.isEmpty()) text 525 Source/core/page/DragController.cpp ReplaceSelectionCommand::create(*m_documentUnderMouse.get(), createFragmentFromText(range.get(), text), ReplaceSelectionCommand::SelectReplacement | ReplaceSelectionCommand::MatchStyle | ReplaceSelectionCommand::PreventNesting)->apply(); text 3070 Source/core/page/EventHandler.cpp if (keyEvent.text().length() != 1) text 3072 Source/core/page/EventHandler.cpp UChar character = keyEvent.text()[0]; text 3158 Source/core/page/EventHandler.cpp if (keyPressEvent.text().isEmpty()) text 3395 Source/core/page/EventHandler.cpp bool EventHandler::handleTextInputEvent(const String& text, Event* underlyingEvent, TextEventInputType inputType) text 3412 Source/core/page/EventHandler.cpp RefPtrWillBeRawPtr<TextEvent> event = TextEvent::create(m_frame->domWindow(), text, inputType); text 166 Source/core/page/EventHandler.h bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, TextEventInputType = TextEventInputKeyboard); text 129 Source/core/page/PageSerializer.cpp void SerializerMarkupAccumulator::appendText(StringBuilder& out, Text& text) text 131 Source/core/page/PageSerializer.cpp Element* parent = text.parentElement(); text 133 Source/core/page/PageSerializer.cpp MarkupAccumulator::appendText(out, text); text 212 Source/core/page/PageSerializer.cpp String text = accumulator.serializeNodes(document, IncludeNode); text 213 Source/core/page/PageSerializer.cpp CString frameHTML = textEncoding.normalizeAndEncode(text, WTF::EntitiesForUnencodables); text 290 Source/core/page/PageSerializer.cpp CString text = textEncoding.normalizeAndEncode(textString, WTF::EntitiesForUnencodables); text 291 Source/core/page/PageSerializer.cpp m_resources->append(SerializedResource(url, String("text/css"), SharedBuffer::create(text.data(), text.length()))); text 132 Source/core/rendering/AbstractInlineTextBox.cpp String text = this->text(); text 133 Source/core/rendering/AbstractInlineTextBox.cpp int len = text.length(); text 134 Source/core/rendering/AbstractInlineTextBox.cpp TextBreakIterator* iterator = wordBreakIterator(text, 0, len); text 158 Source/core/rendering/AbstractInlineTextBox.cpp String result = m_renderText->text().substring(start, len).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace); text 83 Source/core/rendering/AbstractInlineTextBox.h String text() const; text 162 Source/core/rendering/FastTextAutosizer.cpp if (renderer->isText() && toRenderText(renderer)->text().impl()->stripWhiteSpace()->length() > 3) text 595 Source/core/rendering/FastTextAutosizer.cpp length += toRenderText(descendant)->text().stripWhiteSpace().length() * descendant->style()->specifiedFontSize(); text 383 Source/core/rendering/InlineFlowBox.cpp InlineTextBox* text = toInlineTextBox(curr); text 384 Source/core/rendering/InlineFlowBox.cpp RenderText& rt = toRenderText(text->renderer()); text 386 Source/core/rendering/InlineFlowBox.cpp if (needsWordSpacing && isSpaceOrNewline(rt.characterAt(text->start()))) text 388 Source/core/rendering/InlineFlowBox.cpp needsWordSpacing = !isSpaceOrNewline(rt.characterAt(text->end())); text 390 Source/core/rendering/InlineFlowBox.cpp text->setLogicalLeft(logicalLeft); text 393 Source/core/rendering/InlineFlowBox.cpp logicalLeft += text->logicalWidth(); text 955 Source/core/rendering/InlineFlowBox.cpp InlineTextBox* text = toInlineTextBox(curr); text 956 Source/core/rendering/InlineFlowBox.cpp RenderText& rt = toRenderText(text->renderer()); text 959 Source/core/rendering/InlineFlowBox.cpp LayoutRect textBoxOverflow(enclosingLayoutRect(text->logicalFrameRect())); text 960 Source/core/rendering/InlineFlowBox.cpp addTextBoxVisualOverflow(text, textBoxDataMap, textBoxOverflow); text 369 Source/core/rendering/InlineTextBox.cpp return renderer().isBR() || (renderer().style()->preserveNewline() && len() == 1 && (*textRenderer().text().impl())[start()] == '\n'); text 655 Source/core/rendering/InlineTextBox.cpp string = textRenderer().text().createView(); text 848 Source/core/rendering/InlineTextBox.cpp StringView string = textRenderer().text().createView(); text 1431 Source/core/rendering/InlineTextBox.cpp RenderText& text = toRenderText(renderer()); text 1432 Source/core/rendering/InlineTextBox.cpp RenderStyle* style = text.style(isFirstLineStyle()); text 1447 Source/core/rendering/InlineTextBox.cpp RenderText& text = toRenderText(renderer()); text 1448 Source/core/rendering/InlineTextBox.cpp RenderStyle* styleToUse = text.style(isFirstLineStyle()); text 1504 Source/core/rendering/InlineTextBox.cpp ASSERT(textRenderer().text()); text 1506 Source/core/rendering/InlineTextBox.cpp StringView string = textRenderer().text().createView(); text 1558 Source/core/rendering/InlineTextBox.cpp String value = obj.text(); text 4064 Source/core/rendering/RenderBlock.cpp String text = rendererTextForFirstLetter(currentChild); text 4065 Source/core/rendering/RenderBlock.cpp if (!currentLength || currentLength < text.length()) text 4114 Source/core/rendering/RenderBlock.cpp return textRenderer->text(); text 4122 Source/core/rendering/RenderBlock.cpp String text = rendererTextForFirstLetter(renderer); text 4125 Source/core/rendering/RenderBlock.cpp if (text.isEmpty() text 4126 Source/core/rendering/RenderBlock.cpp || (m_searchState == SearchLeadingPunctuation && isSpaceForFirstLetter(text[0])) text 4127 Source/core/rendering/RenderBlock.cpp || (m_firstLetterFound && !isPunctuationForFirstLetter(text[0]))) text 4132 Source/core/rendering/RenderBlock.cpp unsigned textLength = text.length(); text 4138 Source/core/rendering/RenderBlock.cpp advancePositionWhile<isSpaceForFirstLetter>(text, length); text 4144 Source/core/rendering/RenderBlock.cpp advancePositionWhile<isPunctuationForFirstLetter>(text, length); text 4151 Source/core/rendering/RenderBlock.cpp if (isSpaceForFirstLetter(text[length])) text 4161 Source/core/rendering/RenderBlock.cpp UChar c = text[scanLength]; text 4177 Source/core/rendering/RenderBlock.cpp void advancePositionWhile(const String& text, unsigned& position) text 4179 Source/core/rendering/RenderBlock.cpp unsigned textLength = text.length(); text 4180 Source/core/rendering/RenderBlock.cpp while (position < textLength && characterPredicate(text[position])) text 2732 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) text 2734 Source/core/rendering/RenderBlockFlow.cpp if (text->is8Bit()) text 2735 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters8(), text->textLength(), style, direction, expansion); text 2736 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters16(), text->textLength(), style, direction, expansion); text 2739 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) text 2741 Source/core/rendering/RenderBlockFlow.cpp ASSERT(offset + length <= text->textLength()); text 2742 Source/core/rendering/RenderBlockFlow.cpp if (text->is8Bit()) text 2743 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters8() + offset, length, style, direction, expansion); text 2744 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters16() + offset, length, style, direction, expansion); text 2765 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextRun::ExpansionBehavior expansion) text 2767 Source/core/rendering/RenderBlockFlow.cpp ASSERT(offset + length <= text->textLength()); text 2768 Source/core/rendering/RenderBlockFlow.cpp TextRun run = text->is8Bit() text 2769 Source/core/rendering/RenderBlockFlow.cpp ? constructTextRunInternal(context, font, text->characters8() + offset, length, style, LTR, expansion) text 2770 Source/core/rendering/RenderBlockFlow.cpp : constructTextRunInternal(context, font, text->characters16() + offset, length, style, LTR, expansion); text 281 Source/core/rendering/RenderBlockLineLayout.cpp InlineTextBox* text = toInlineTextBox(box); text 282 Source/core/rendering/RenderBlockLineLayout.cpp text->setStart(r->m_start); text 283 Source/core/rendering/RenderBlockLineLayout.cpp text->setLen(r->m_stop - r->m_start); text 284 Source/core/rendering/RenderBlockLineLayout.cpp text->setDirOverride(r->dirOverride(visuallyOrdered)); text 286 Source/core/rendering/RenderBlockLineLayout.cpp text->setHasHyphen(true); text 51 Source/core/rendering/RenderCombineText.cpp void RenderCombineText::setTextInternal(PassRefPtr<StringImpl> text) text 53 Source/core/rendering/RenderCombineText.cpp RenderText::setTextInternal(text); text 84 Source/core/rendering/RenderCombineText.cpp string = text().createView(start, length); text 139 Source/core/rendering/RenderCombineText.cpp m_renderingText = text(); text 402 Source/core/rendering/RenderCounter.cpp String text = listMarkerText(m_counter.listStyle(), value); text 408 Source/core/rendering/RenderCounter.cpp text = listMarkerText(m_counter.listStyle(), child->countInParent()) text 409 Source/core/rendering/RenderCounter.cpp + m_counter.separator() + text; text 414 Source/core/rendering/RenderCounter.cpp return text.impl(); text 130 Source/core/rendering/RenderListBox.cpp String text; text 133 Source/core/rendering/RenderListBox.cpp text = toHTMLOptionElement(*element).textIndentedToRespectGroupLabel(); text 135 Source/core/rendering/RenderListBox.cpp text = toHTMLOptGroupElement(*element).groupLabelText(); text 142 Source/core/rendering/RenderListBox.cpp if (!text.isEmpty()) { text 143 Source/core/rendering/RenderListBox.cpp applyTextTransform(style(), text, ' '); text 146 Source/core/rendering/RenderListBox.cpp TextDirection direction = determineDirectionality(text, hasStrongDirectionality); text 147 Source/core/rendering/RenderListBox.cpp TextRun textRun = constructTextRun(this, itemFont, text, style(), TextRun::AllowTrailingExpansion); text 442 Source/core/rendering/RenderListItem.cpp return m_marker->text(); text 454 Source/core/rendering/RenderListItem.cpp const String& markerText = m_marker->text(); text 42 Source/core/rendering/RenderListMarker.h const String& text() const { return m_text; } text 174 Source/core/rendering/RenderMenuList.cpp String text = toHTMLOptionElement(element)->textIndentedToRespectGroupLabel(); text 175 Source/core/rendering/RenderMenuList.cpp applyTextTransform(style(), text, ' '); text 181 Source/core/rendering/RenderMenuList.cpp if (!text.isEmpty()) text 182 Source/core/rendering/RenderMenuList.cpp optionWidth += style()->font().width(text); text 184 Source/core/rendering/RenderMenuList.cpp } else if (!text.isEmpty()) text 185 Source/core/rendering/RenderMenuList.cpp maxOptionWidth = max(maxOptionWidth, style()->font().width(text)); text 221 Source/core/rendering/RenderMenuList.cpp String text = emptyString(); text 225 Source/core/rendering/RenderMenuList.cpp text = toHTMLOptionElement(element)->textIndentedToRespectGroupLabel(); text 230 Source/core/rendering/RenderMenuList.cpp setText(text.stripWhiteSpace()); text 264 Source/core/rendering/RenderMenuList.cpp return m_buttonText ? m_buttonText->text() : String(); text 52 Source/core/rendering/RenderMenuList.h String text() const; text 260 Source/core/rendering/RenderQuote.cpp String text = computeText(); text 261 Source/core/rendering/RenderQuote.cpp if (m_text == text) text 264 Source/core/rendering/RenderQuote.cpp m_text = text; text 60 Source/core/rendering/RenderText.cpp String text; text 91 Source/core/rendering/RenderText.cpp m_renderText->setText(m_renderText->text().impl(), true /* forcing setting text as it may be masked later */); text 207 Source/core/rendering/RenderText.cpp if (!text().containsOnlyWhitespace()) text 314 Source/core/rendering/RenderText.cpp String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace); text 315 Source/core/rendering/RenderText.cpp plainTextBuilder.append(text); text 316 Source/core/rendering/RenderText.cpp if (textBox->nextTextBox() && textBox->nextTextBox()->start() > textBox->end() && text.length() && !text.right(1).containsOnlyWhitespace()) text 738 Source/core/rendering/RenderText.cpp StringImpl& text = *m_text.impl(); text 740 Source/core/rendering/RenderText.cpp char c = text[i]; text 795 Source/core/rendering/RenderText.cpp if (!len || (stripFrontSpaces && text().impl()->containsOnlyWhitespace())) { text 816 Source/core/rendering/RenderText.cpp StringImpl& text = *m_text.impl(); text 817 Source/core/rendering/RenderText.cpp if (text[0] == ' ' || (text[0] == '\n' && !style()->preserveNewline()) || text[0] == '\t') { text 841 Source/core/rendering/RenderText.cpp while (i + linelen < len && text[i + linelen] != '\n') text 937 Source/core/rendering/RenderText.cpp TextRun textRun(text()); text 1174 Source/core/rendering/RenderText.cpp StringImpl& text = *m_text.impl(); text 1177 Source/core/rendering/RenderText.cpp currPos < from + len && (text[currPos] == '\n' || text[currPos] == ' ' || text[currPos] == '\t'); text 1232 Source/core/rendering/RenderText.cpp void RenderText::setTextWithOffset(PassRefPtr<StringImpl> text, unsigned offset, unsigned len, bool force) text 1234 Source/core/rendering/RenderText.cpp if (!force && equal(m_text.impl(), text.get())) text 1238 Source/core/rendering/RenderText.cpp unsigned newLen = text->length(); text 1307 Source/core/rendering/RenderText.cpp setText(text, force || dirtiedLines); text 1322 Source/core/rendering/RenderText.cpp return toRenderText(o)->text().isEmpty(); text 1334 Source/core/rendering/RenderText.cpp if (StringImpl* previousString = toRenderText(previousText)->text().impl()) text 1344 Source/core/rendering/RenderText.cpp void applyTextTransform(const RenderStyle* style, String& text, UChar previousCharacter) text 1353 Source/core/rendering/RenderText.cpp makeCapitalized(&text, previousCharacter); text 1356 Source/core/rendering/RenderText.cpp text = text.upper(style->locale()); text 1359 Source/core/rendering/RenderText.cpp text = text.lower(style->locale()); text 1364 Source/core/rendering/RenderText.cpp void RenderText::setTextInternal(PassRefPtr<StringImpl> text) text 1366 Source/core/rendering/RenderText.cpp ASSERT(text); text 1367 Source/core/rendering/RenderText.cpp m_text = text; text 1417 Source/core/rendering/RenderText.cpp void RenderText::setText(PassRefPtr<StringImpl> text, bool force) text 1419 Source/core/rendering/RenderText.cpp ASSERT(text); text 1421 Source/core/rendering/RenderText.cpp if (!force && equal(m_text.impl(), text.get())) text 1424 Source/core/rendering/RenderText.cpp setTextInternal(text); text 1743 Source/core/rendering/RenderText.cpp StringImpl& text = *m_text.impl(); text 1747 Source/core/rendering/RenderText.cpp if (U16_IS_TRAIL(text[--current])) text 1752 Source/core/rendering/RenderText.cpp UChar32 character = text.characterStartingAt(current); text 1761 Source/core/rendering/RenderText.cpp U16_FWD_1_UNSAFE(text, current); text 1781 Source/core/rendering/RenderText.cpp character = text.characterStartingAt(current); text 1794 Source/core/rendering/RenderText.cpp while (current > 0 && ((character = text.characterStartingAt(current - 1)) >= HANGUL_CHOSEONG_START) && (character <= HANGUL_SYLLABLE_END) && ((character <= HANGUL_JONGSEONG_END) || (character >= HANGUL_SYLLABLE_START))) { text 58 Source/core/rendering/RenderText.h const String& text() const { return m_text; } text 88 Source/core/rendering/RenderTextFragment.cpp void RenderTextFragment::setText(PassRefPtr<StringImpl> text, bool force) text 90 Source/core/rendering/RenderTextFragment.cpp RenderText::setText(text, force); text 192 Source/core/rendering/RenderTreeAsText.cpp const RenderText& text = *toRenderText(&o); text 193 Source/core/rendering/RenderTreeAsText.cpp IntRect linesBox = text.linesBoundingBox(); text 194 Source/core/rendering/RenderTreeAsText.cpp r = IntRect(text.firstRunX(), text.firstRunY(), linesBox.width(), linesBox.height()); text 195 Source/core/rendering/RenderTreeAsText.cpp if (adjustForTableCells && !text.firstTextBox()) text 327 Source/core/rendering/RenderTreeAsText.cpp String text = toRenderListMarker(&o)->text(); text 328 Source/core/rendering/RenderTreeAsText.cpp if (!text.isEmpty()) { text 329 Source/core/rendering/RenderTreeAsText.cpp if (text.length() != 1) text 330 Source/core/rendering/RenderTreeAsText.cpp text = quoteAndEscapeNonPrintables(text); text 332 Source/core/rendering/RenderTreeAsText.cpp switch (text[0]) { text 334 Source/core/rendering/RenderTreeAsText.cpp text = "bullet"; text 337 Source/core/rendering/RenderTreeAsText.cpp text = "black square"; text 340 Source/core/rendering/RenderTreeAsText.cpp text = "white bullet"; text 343 Source/core/rendering/RenderTreeAsText.cpp text = quoteAndEscapeNonPrintables(text); text 346 Source/core/rendering/RenderTreeAsText.cpp ts << ": " << text; text 423 Source/core/rendering/RenderTreeAsText.cpp << quoteAndEscapeNonPrintables(String(o.text()).substring(run.start(), run.len())); text 470 Source/core/rendering/RenderTreeAsText.cpp const RenderText& text = *toRenderText(&o); text 471 Source/core/rendering/RenderTreeAsText.cpp for (InlineTextBox* box = text.firstTextBox(); box; box = box->nextTextBox()) { text 473 Source/core/rendering/RenderTreeAsText.cpp writeTextRun(ts, text, *box); text 738 Source/core/rendering/RenderTreeAsText.cpp String str(toRenderText(child)->text()); text 656 Source/core/rendering/TextAutosizer.cpp if (renderer->isText() && toRenderText(renderer)->text().impl()->stripWhiteSpace()->length() > 3) text 522 Source/core/rendering/line/BreakingContextInlineHeaders.h ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0) text 525 Source/core/rendering/line/BreakingContextInlineHeaders.h if (isFixedPitch || (!from && len == text->textLength()) || text->style()->hasTextCombine()) text 526 Source/core/rendering/line/BreakingContextInlineHeaders.h return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); text 528 Source/core/rendering/line/BreakingContextInlineHeaders.h TextRun run = RenderBlockFlow::constructTextRun(text, font, text, from, len, text->style()); text 529 Source/core/rendering/line/BreakingContextInlineHeaders.h run.setCharacterScanForCodePath(!text->canUseSimpleFontCodePath()); text 530 Source/core/rendering/line/BreakingContextInlineHeaders.h run.setTabSize(!collapseWhiteSpace, text->style()->tabSize()); text 594 Source/core/rendering/line/BreakingContextInlineHeaders.h m_renderTextInfo.m_lineBreakIterator.resetStringAndReleaseIterator(renderText->text(), style->locale()); text 40 Source/core/rendering/style/ContentData.cpp PassOwnPtr<ContentData> ContentData::create(const String& text) text 42 Source/core/rendering/style/ContentData.cpp return adoptPtr(new TextContentData(text)); text 104 Source/core/rendering/style/ContentData.h const String& text() const { return m_text; } text 105 Source/core/rendering/style/ContentData.h void setText(const String& text) { m_text = text; } text 114 Source/core/rendering/style/ContentData.h return static_cast<const TextContentData&>(data).text() == text(); text 118 Source/core/rendering/style/ContentData.h TextContentData(const String& text) text 119 Source/core/rendering/style/ContentData.h : m_text(text) text 123 Source/core/rendering/style/ContentData.h virtual PassOwnPtr<ContentData> cloneInternal() const OVERRIDE { return create(text()); } text 761 Source/core/rendering/style/RenderStyle.cpp textContent->setText(textContent->text() + string); text 43 Source/core/rendering/style/SVGRenderStyle.cpp text = defaultStyle->text; text 58 Source/core/rendering/style/SVGRenderStyle.cpp text.init(); text 70 Source/core/rendering/style/SVGRenderStyle.cpp text = other.text; text 88 Source/core/rendering/style/SVGRenderStyle.cpp && text == other.text text 101 Source/core/rendering/style/SVGRenderStyle.cpp || text != other->text text 113 Source/core/rendering/style/SVGRenderStyle.cpp text = svgInheritParent->text; text 132 Source/core/rendering/style/SVGRenderStyle.cpp if (text != other->text) text 225 Source/core/rendering/style/SVGRenderStyle.h if (!(text->kerning == obj)) text 226 Source/core/rendering/style/SVGRenderStyle.h text.access()->kerning = obj; text 333 Source/core/rendering/style/SVGRenderStyle.h PassRefPtr<SVGLength> kerning() const { return text->kerning; } text 430 Source/core/rendering/style/SVGRenderStyle.h DataRef<StyleTextData> text; text 68 Source/core/rendering/svg/RenderSVGInlineText.cpp void RenderSVGInlineText::setTextInternal(PassRefPtr<StringImpl> text) text 70 Source/core/rendering/svg/RenderSVGInlineText.cpp RenderText::setTextInternal(text); text 103 Source/core/rendering/svg/RenderSVGText.cpp static inline void collectLayoutAttributes(RenderObject* text, Vector<SVGTextLayoutAttributes*>& attributes) text 105 Source/core/rendering/svg/RenderSVGText.cpp for (RenderObject* descendant = text; descendant; descendant = descendant->nextInPreOrder(text)) { text 119 Source/core/rendering/svg/RenderSVGText.cpp RenderSVGInlineText* text = toRenderSVGInlineText(current); text 120 Source/core/rendering/svg/RenderSVGText.cpp if (locateElement != text) { text 122 Source/core/rendering/svg/RenderSVGText.cpp next = text->layoutAttributes(); text 126 Source/core/rendering/svg/RenderSVGText.cpp previous = text->layoutAttributes(); text 207 Source/core/rendering/svg/RenderSVGText.cpp static inline void checkLayoutAttributesConsistency(RenderSVGText* text, Vector<SVGTextLayoutAttributes*>& expectedLayoutAttributes) text 211 Source/core/rendering/svg/RenderSVGText.cpp collectLayoutAttributes(text, newLayoutAttributes); text 239 Source/core/rendering/svg/RenderSVGText.cpp RenderSVGInlineText* text = toRenderSVGInlineText(child); text 243 Source/core/rendering/svg/RenderSVGText.cpp findPreviousAndNextAttributes(this, text, previous, next); text 250 Source/core/rendering/svg/RenderSVGText.cpp size_t position = m_layoutAttributes.find(text->layoutAttributes()); text 285 Source/core/rendering/svg/RenderSVGText.cpp void RenderSVGText::subtreeTextDidChange(RenderSVGInlineText* text) text 287 Source/core/rendering/svg/RenderSVGText.cpp ASSERT(text); text 303 Source/core/rendering/svg/RenderSVGText.cpp for (RenderObject* descendant = text; descendant; descendant = descendant->nextInPreOrder(text)) { text 314 Source/core/rendering/svg/RenderSVGText.cpp RenderSVGInlineText* text = toRenderSVGInlineText(descendant); text 315 Source/core/rendering/svg/RenderSVGText.cpp text->updateScaledFont(); text 317 Source/core/rendering/svg/RenderSVGText.cpp builder->rebuildMetricsForTextRenderer(text); text 429 Source/core/rendering/svg/SVGInlineTextBox.cpp RenderText* text = &textRenderer(); text 433 Source/core/rendering/svg/SVGInlineTextBox.cpp RELEASE_ASSERT(!text->needsLayout()); text 444 Source/core/rendering/svg/SVGInlineTextBox.cpp if (text->is8Bit()) text 445 Source/core/rendering/svg/SVGInlineTextBox.cpp run.setText(text->characters8() + fragment.characterOffset, fragment.length); text 447 Source/core/rendering/svg/SVGInlineTextBox.cpp run.setText(text->characters16() + fragment.characterOffset, fragment.length); text 451 Source/core/rendering/svg/SVGInlineTextBox.cpp run.setRenderingContext(SVGTextRunRenderingContext::create(text)); text 459 Source/core/rendering/svg/SVGInlineTextBox.cpp run.setCharactersLength(text->textLength() - fragment.characterOffset); text 384 Source/core/rendering/svg/SVGRenderTreeAsText.cpp static void writeRenderSVGTextBox(TextStream& ts, const RenderSVGText& text) text 386 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGRootInlineBox* box = toSVGRootInlineBox(text.firstRootBox()); text 390 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " " << enclosingIntRect(FloatRect(text.location(), FloatSize(box->logicalWidth(), box->logicalHeight()))); text 395 Source/core/rendering/svg/SVGRenderTreeAsText.cpp if (text.parent() && (text.parent()->style()->visitedDependentColor(CSSPropertyColor) != text.style()->visitedDependentColor(CSSPropertyColor))) text 396 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "color", text.resolveColor(CSSPropertyColor).nameForRenderTreeAsText()); text 408 Source/core/rendering/svg/SVGRenderTreeAsText.cpp String text = textBox->textRenderer().text(); text 451 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << ": " << quoteAndEscapeNonPrintables(text.substring(fragment.characterOffset, fragment.length)) << "\n"; text 455 Source/core/rendering/svg/SVGRenderTreeAsText.cpp static inline void writeSVGInlineTextBoxes(TextStream& ts, const RenderText& text, int indent) text 457 Source/core/rendering/svg/SVGRenderTreeAsText.cpp for (InlineTextBox* box = text.firstTextBox(); box; box = box->nextTextBox()) { text 596 Source/core/rendering/svg/SVGRenderTreeAsText.cpp void writeSVGText(TextStream& ts, const RenderSVGText& text, int indent) text 598 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeStandardPrefix(ts, text, indent); text 599 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeRenderSVGTextBox(ts, text); text 601 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeResources(ts, text, indent); text 602 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeChildren(ts, text, indent); text 605 Source/core/rendering/svg/SVGRenderTreeAsText.cpp void writeSVGInlineText(TextStream& ts, const RenderSVGInlineText& text, int indent) text 607 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeStandardPrefix(ts, text, indent); text 608 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " " << enclosingIntRect(FloatRect(text.firstRunOrigin(), text.floatLinesBoundingBox().size())) << "\n"; text 609 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeResources(ts, text, indent); text 610 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeSVGInlineTextBoxes(ts, text, indent); text 36 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp void SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextRenderer(RenderSVGInlineText* text) text 38 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp ASSERT(text); text 40 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RenderSVGText* textRoot = RenderSVGText::locateRenderSVGTextAncestor(text); text 57 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp SVGTextMetricsBuilder::buildMetricsAndLayoutAttributes(textRoot, text, m_characterDataMap); text 80 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp void SVGTextLayoutAttributesBuilder::rebuildMetricsForTextRenderer(RenderSVGInlineText* text) text 82 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp ASSERT(text); text 83 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp SVGTextMetricsBuilder::measureTextRenderer(text); text 86 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp static inline void processRenderSVGInlineText(RenderSVGInlineText* text, unsigned& atCharacter, UChar& lastCharacter) text 88 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp if (text->style()->whiteSpace() == PRE) { text 89 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp atCharacter += text->textLength(); text 93 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp unsigned textLength = text->textLength(); text 95 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp UChar currentCharacter = text->characterAt(textPosition); text 243 Source/core/rendering/svg/SVGTextLayoutEngine.cpp RenderSVGInlineText& text = toRenderSVGInlineText(textBox->textRenderer()); text 244 Source/core/rendering/svg/SVGTextLayoutEngine.cpp ASSERT(text.parent()); text 245 Source/core/rendering/svg/SVGTextLayoutEngine.cpp ASSERT(text.parent()->node()); text 246 Source/core/rendering/svg/SVGTextLayoutEngine.cpp ASSERT(text.parent()->node()->isSVGElement()); text 248 Source/core/rendering/svg/SVGTextLayoutEngine.cpp const RenderStyle* style = text.style(); text 253 Source/core/rendering/svg/SVGTextLayoutEngine.cpp layoutTextOnLineOrPath(textBox, &text, style); text 276 Source/core/rendering/svg/SVGTextLayoutEngine.cpp String characters = textBox->textRenderer()->text(); text 427 Source/core/rendering/svg/SVGTextLayoutEngine.cpp void SVGTextLayoutEngine::layoutTextOnLineOrPath(SVGInlineTextBox* textBox, RenderSVGInlineText* text, const RenderStyle* style) text 432 Source/core/rendering/svg/SVGTextLayoutEngine.cpp SVGElement* lengthContext = toSVGElement(text->parent()->node()); text 434 Source/core/rendering/svg/SVGTextLayoutEngine.cpp RenderObject* textParent = text->parent(); text 443 Source/core/rendering/svg/SVGTextLayoutEngine.cpp Vector<SVGTextMetrics>& visualMetricsValues = text->layoutAttributes()->textMetricsValues(); text 456 Source/core/rendering/svg/SVGTextLayoutEngine.cpp baselineShift -= baselineLayout.calculateAlignmentBaselineShift(m_isVerticalText, text); text 496 Source/core/rendering/svg/SVGTextLayoutEngine.cpp UChar currentCharacter = text->characterAt(m_visualCharacterOffset); text 63 Source/core/rendering/svg/SVGTextMetrics.cpp TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length) text 65 Source/core/rendering/svg/SVGTextMetrics.cpp RenderStyle* style = text->style(); text 77 Source/core/rendering/svg/SVGTextMetrics.cpp if (text->is8Bit()) text 78 Source/core/rendering/svg/SVGTextMetrics.cpp run.setText(text->characters8() + position, length); text 80 Source/core/rendering/svg/SVGTextMetrics.cpp run.setText(text->characters16() + position, length); text 84 Source/core/rendering/svg/SVGTextMetrics.cpp run.setRenderingContext(SVGTextRunRenderingContext::create(text)); text 92 Source/core/rendering/svg/SVGTextMetrics.cpp run.setCharactersLength(text->textLength() - position); text 97 Source/core/rendering/svg/SVGTextMetrics.cpp SVGTextMetrics SVGTextMetrics::measureCharacterRange(RenderSVGInlineText* text, unsigned position, unsigned length) text 99 Source/core/rendering/svg/SVGTextMetrics.cpp ASSERT(text); text 100 Source/core/rendering/svg/SVGTextMetrics.cpp return SVGTextMetrics(text, constructTextRun(text, position, length)); text 103 Source/core/rendering/svg/SVGTextMetrics.cpp SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* text, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId) text 105 Source/core/rendering/svg/SVGTextMetrics.cpp ASSERT(text); text 107 Source/core/rendering/svg/SVGTextMetrics.cpp bool needsContext = textRunNeedsRenderingContext(text->style()->font()); text 108 Source/core/rendering/svg/SVGTextMetrics.cpp float scalingFactor = text->scalingFactor(); text 112 Source/core/rendering/svg/SVGTextMetrics.cpp m_height = text->scaledFont().fontMetrics().floatHeight() / scalingFactor; text 63 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp SVGTextMetricsCalculator::SVGTextMetricsCalculator(RenderSVGInlineText* text) text 64 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp : m_text(text) text 65 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp , m_run(SVGTextMetrics::constructTextRun(text, 0, text->textLength())) text 69 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp const Font& scaledFont = text->scaledFont(); text 132 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp static void measureTextRenderer(RenderSVGInlineText* text, MeasureTextData* data, bool processRenderer) text 134 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp ASSERT(text); text 136 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp SVGTextLayoutAttributes* attributes = text->layoutAttributes(); text 145 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp SVGTextMetricsCalculator calculator(text); text 146 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp bool preserveWhiteSpace = text->style()->whiteSpace() == PRE; text 193 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp RenderSVGInlineText* text = toRenderSVGInlineText(child); text 194 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp measureTextRenderer(text, data, !stopAtLeaf || stopAtLeaf == text); text 195 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp if (stopAtLeaf && stopAtLeaf == text) text 208 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp void SVGTextMetricsBuilder::measureTextRenderer(RenderSVGInlineText* text) text 210 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp ASSERT(text); text 212 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp RenderSVGText* textRoot = RenderSVGText::locateRenderSVGTextAncestor(text); text 217 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp walkTree(textRoot, text, &data); text 241 Source/core/svg/SVGUseElement.cpp static void dumpInstanceTree(unsigned& depth, String& text, SVGElementInstance* targetInstance) text 262 Source/core/svg/SVGUseElement.cpp text += " "; text 264 Source/core/svg/SVGUseElement.cpp text += String::format("SVGElementInstance this=%p, (parentNode=%s (%p), firstChild=%s (%p), correspondingElement=%s (%p), directUseElement=%s (%p), shadowTreeElement=%s (%p), id=%s)\n", text 269 Source/core/svg/SVGUseElement.cpp text += " "; text 272 Source/core/svg/SVGUseElement.cpp text += "Corresponding element is associated with " + String::number(elementInstances.size()) + " instance(s):\n"; text 277 Source/core/svg/SVGUseElement.cpp text += " "; text 279 Source/core/svg/SVGUseElement.cpp text += String::format(" -> SVGElementInstance this=%p, (refCount: %i, shadowTreeElement in document? %i)\n", text 286 Source/core/svg/SVGUseElement.cpp dumpInstanceTree(depth, text, instance); text 487 Source/core/svg/SVGUseElement.cpp String text; text 490 Source/core/svg/SVGUseElement.cpp dumpInstanceTree(depth, text, m_targetElementInstance.get()); text 491 Source/core/svg/SVGUseElement.cpp fprintf(stderr, "\nDumping <use> instance tree:\n%s\n", text.latin1().data()); text 58 Source/core/testing/InternalProfilers.cpp String text = blink::Platform::current()->getHeapProfile(); text 61 Source/core/testing/InternalProfilers.cpp return text.substring(0, text.find('\n')); text 1127 Source/core/testing/Internals.cpp return range->text(); text 60 Source/core/xml/XMLTreeViewer.cpp RefPtr<Text> text = m_document->createTextNode(cssString); text 61 Source/core/xml/XMLTreeViewer.cpp m_document->getElementById("xml-viewer-style")->appendChild(text, IGNORE_EXCEPTION); text 40 Source/core/xml/XSLTProcessor.cpp static inline void transformTextStringToXHTMLDocumentString(String& text) text 43 Source/core/xml/XSLTProcessor.cpp text.replaceWithLiteral('&', "&"); text 44 Source/core/xml/XSLTProcessor.cpp text.replaceWithLiteral('<', "<"); text 45 Source/core/xml/XSLTProcessor.cpp text = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" text 50 Source/core/xml/XSLTProcessor.cpp "<pre>" + text + "</pre>\n" text 223 Source/core/xml/parser/XMLDocumentParser.cpp explicit PendingCDATABlockCallback(const String& text) : m_text(text) { } text 236 Source/core/xml/parser/XMLDocumentParser.cpp explicit PendingCommentCallback(const String& text) : m_text(text) { } text 1132 Source/core/xml/parser/XMLDocumentParser.cpp void XMLDocumentParser::cdataBlock(const String& text) text 1138 Source/core/xml/parser/XMLDocumentParser.cpp m_pendingCallbacks.append(adoptPtr(new PendingCDATABlockCallback(text))); text 1144 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<CDATASection> newNode = CDATASection::create(m_currentNode->document(), text); text 1148 Source/core/xml/parser/XMLDocumentParser.cpp void XMLDocumentParser::comment(const String& text) text 1154 Source/core/xml/parser/XMLDocumentParser.cpp m_pendingCallbacks.append(adoptPtr(new PendingCommentCallback(text))); text 1160 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<Comment> newNode = Comment::create(m_currentNode->document(), text); text 1233 Source/core/xml/parser/XMLDocumentParser.cpp static void cdataBlockHandler(void* closure, const xmlChar* text, int length) text 1235 Source/core/xml/parser/XMLDocumentParser.cpp getParser(closure)->cdataBlock(toString(text, length)); text 1238 Source/core/xml/parser/XMLDocumentParser.cpp static void commentHandler(void* closure, const xmlChar* text) text 1240 Source/core/xml/parser/XMLDocumentParser.cpp getParser(closure)->comment(toString(text)); text 49 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java String text = StandardCharsets.UTF_8.decode(ByteBuffer.wrap(encoded)).toString(); text 50 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java return new ScriptText(text); text 61 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java return factory.parse(new StringReader(context.scriptText.text), context.scriptFileName, 1); text 59 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java System.err.println(entry.record.text); text 5 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java public final String text; text 7 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java public ScriptText(String text) { text 8 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java this.text = text; text 21 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java int lineEnd = text.indexOf('\n', offset); text 23 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java lineEnd = text.length(); text 25 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java return text.substring(lineStart, lineEnd); text 29 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java if (offset > text.length()) { text 32 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ScriptText.java return text.lastIndexOf('\n', offset) + 1; text 38 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidatorContext.java return scriptText.text.substring( text 83 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidatorContext.java public final String text; text 85 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidatorContext.java public MessageRecord(int position, String text) { text 87 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidatorContext.java this.text = text; text 243 Source/modules/mediastream/RTCDataChannel.cpp void RTCDataChannel::didReceiveStringData(const blink::WebString& text) text 248 Source/modules/mediastream/RTCDataChannel.cpp scheduleDispatchEvent(MessageEvent::create(text)); text 31 Source/modules/speech/SpeechSynthesisUtterance.cpp PassRefPtrWillBeRawPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ExecutionContext* context, const String& text) text 33 Source/modules/speech/SpeechSynthesisUtterance.cpp return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisUtterance(context, text)); text 36 Source/modules/speech/SpeechSynthesisUtterance.cpp SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context, const String& text) text 41 Source/modules/speech/SpeechSynthesisUtterance.cpp m_platformUtterance->setText(text); text 47 Source/modules/speech/SpeechSynthesisUtterance.h const String& text() const { return m_platformUtterance->text(); } text 48 Source/modules/speech/SpeechSynthesisUtterance.h void setText(const String& text) { m_platformUtterance->setText(text); } text 85 Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp client()->boundaryEventOccurred(m_utterance, SpeechSentenceBoundary, m_utterance->text().length()); text 139 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp int SQLiteStatement::bindText(int index, const String& text) text 147 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp return sqlite3_bind_text16(m_statement, index, text.charactersWithNullTermination().data(), sizeof(UChar) * text.length(), SQLITE_TRANSIENT); text 258 Source/modules/websockets/NewWebSocketChannelImpl.cpp NewWebSocketChannelImpl::Message::Message(const String& text) text 260 Source/modules/websockets/NewWebSocketChannelImpl.cpp , text(text.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD)) { } text 281 Source/modules/websockets/NewWebSocketChannelImpl.cpp size_t size = std::min(static_cast<size_t>(m_sendingQuota), message.text.length() - m_sentSizeOfTopMessage); text 282 Source/modules/websockets/NewWebSocketChannelImpl.cpp final = (m_sentSizeOfTopMessage + size == message.text.length()); text 283 Source/modules/websockets/NewWebSocketChannelImpl.cpp m_handle->send(final, type, message.text.data() + m_sentSizeOfTopMessage, size); text 112 Source/modules/websockets/NewWebSocketChannelImpl.h CString text; text 92 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame::OpCode text = WebSocketFrame::OpCodeText; text 106 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame frame(text, &payload[0], payload.size(), WebSocketFrame::Final); text 112 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame::OpCode opcode = !i ? text : WebSocketFrame::OpCodeContinuation; text 125 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame::OpCode opcode = !i ? text : WebSocketFrame::OpCodeContinuation; text 234 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame::OpCode text = WebSocketFrame::OpCodeText; text 236 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame f1(text, "Hello", 5); text 322 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame::OpCode text = WebSocketFrame::OpCodeText; text 323 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame f1(text, "\xf2\x48", 2, WebSocketFrame::Compress); text 325 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp WebSocketFrame f3(text, "\xcd\xc9\xc9\x07\x00", 5, WebSocketFrame::Final); text 50 Source/platform/PlatformKeyboardEvent.h PlatformKeyboardEvent(Type type, const String& text, const String& unmodifiedText, const String& keyIdentifier, int windowsVirtualKeyCode, int nativeVirtualKeyCode, int macCharCode, bool isAutoRepeat, bool isKeypad, bool isSystemKey, Modifiers modifiers, double timestamp) text 52 Source/platform/PlatformKeyboardEvent.h , m_text(text) text 72 Source/platform/PlatformKeyboardEvent.h String text() const { return m_text; } text 103 Source/platform/blob/BlobData.cpp void BlobData::appendText(const String& text, bool doNormalizeLineEndingsToNative) text 108 Source/platform/blob/BlobData.cpp CString utf8Text = UTF8Encoding().normalizeAndEncode(text, WTF::EntitiesForUnencodables); text 61 Source/platform/exported/WebSocketHandshakeRequestInfo.cpp void WebSocketHandshakeRequestInfo::setHeadersText(const WebString& text) text 63 Source/platform/exported/WebSocketHandshakeRequestInfo.cpp m_private->setHeadersText(text); text 65 Source/platform/exported/WebSocketHandshakeResponseInfo.cpp void WebSocketHandshakeResponseInfo::setHeadersText(const WebString& text) text 67 Source/platform/exported/WebSocketHandshakeResponseInfo.cpp m_private->setHeadersText(text); text 71 Source/platform/exported/WebSpeechSynthesisUtterance.cpp return m_private->text(); text 1217 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawPosText(const void* text, size_t byteLength, text 1223 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawPosText(text, byteLength, pos, paint); text 1231 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawPosTextH(const void* text, size_t byteLength, text 1237 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawPosTextH(text, byteLength, xpos, constY, paint); text 1245 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawTextOnPath(const void* text, size_t byteLength, text 1251 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawTextOnPath(text, byteLength, path, matrix, paint); text 286 Source/platform/graphics/GraphicsContext.h void drawPosText(const void* text, size_t byteLength, const SkPoint pos[], const SkRect& textRect, const SkPaint&); text 287 Source/platform/graphics/GraphicsContext.h void drawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkRect& textRect, const SkPaint&); text 288 Source/platform/graphics/GraphicsContext.h void drawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkRect& textRect, const SkMatrix*, const SkPaint&); text 71 Source/platform/mhtml/MHTMLArchive.cpp static String replaceNonPrintableCharacters(const String& text) text 74 Source/platform/mhtml/MHTMLArchive.cpp for (size_t i = 0; i < text.length(); ++i) { text 75 Source/platform/mhtml/MHTMLArchive.cpp if (isASCIIPrintable(text[i])) text 76 Source/platform/mhtml/MHTMLArchive.cpp stringBuilder.append(text[i]); text 160 Source/platform/mhtml/MHTMLParser.cpp MIMEHeader::Encoding MIMEHeader::parseContentTransferEncoding(const String& text) text 162 Source/platform/mhtml/MHTMLParser.cpp String encoding = text.stripWhiteSpace().lower(); text 173 Source/platform/mhtml/MHTMLParser.cpp WTF_LOG_ERROR("Unknown encoding '%s' found in MIME header.", text.ascii().data()); text 66 Source/platform/network/WebSocketHandshakeRequest.h void setHeadersText(const String& text) { m_headersText = text; } text 53 Source/platform/network/WebSocketHandshakeResponse.h void setHeadersText(const String& text) { m_headersText = text; } text 48 Source/platform/speech/PlatformSpeechSynthesisUtterance.h const String& text() const { return m_text; } text 49 Source/platform/speech/PlatformSpeechSynthesisUtterance.h void setText(const String& text) { m_text = text; } text 67 Source/platform/text/BidiResolverTest.cpp UChar text[3]; text 76 Source/platform/text/BidiResolverTest.cpp String data(entry.text, entry.length); text 171 Source/platform/text/PlatformLocale.cpp void DateTimeStringBuilder::visitLiteral(const String& text) text 173 Source/platform/text/PlatformLocale.cpp ASSERT(text.length()); text 174 Source/platform/text/PlatformLocale.cpp m_builder.append(text); text 297 Source/platform/text/PlatformLocale.cpp static bool matches(const String& text, unsigned position, const String& part) text 301 Source/platform/text/PlatformLocale.cpp if (position + part.length() > text.length()) text 304 Source/platform/text/PlatformLocale.cpp if (text[position + i] != part[i]) text 49 Source/platform/text/SuffixTree.h SuffixTree(const String& text, unsigned depth) text 53 Source/platform/text/SuffixTree.h build(text); text 96 Source/platform/text/SuffixTree.h void build(const String& text) text 98 Source/platform/text/SuffixTree.h for (unsigned base = 0; base < text.length(); ++base) { text 100 Source/platform/text/SuffixTree.h unsigned limit = std::min(base + m_depth, text.length()); text 103 Source/platform/text/SuffixTree.h Node*& child = current->at(Codebook::codeWord(text[base + offset])); text 116 Source/platform/text/TextBreakIteratorICU.cpp UText text; text 129 Source/platform/text/TextBreakIteratorICU.cpp static inline int64_t textNativeLength(UText* text) text 131 Source/platform/text/TextBreakIteratorICU.cpp return text->a + text->b; text 181 Source/platform/text/TextBreakIteratorICU.cpp static void textClose(UText* text) text 183 Source/platform/text/TextBreakIteratorICU.cpp text->context = 0; text 186 Source/platform/text/TextBreakIteratorICU.cpp static inline TextContext textGetContext(const UText* text, int64_t nativeIndex, UBool forward) text 188 Source/platform/text/TextBreakIteratorICU.cpp if (!text->b || nativeIndex > text->b) text 190 Source/platform/text/TextBreakIteratorICU.cpp if (nativeIndex == text->b) text 195 Source/platform/text/TextBreakIteratorICU.cpp static inline TextContext textLatin1GetCurrentContext(const UText* text) text 197 Source/platform/text/TextBreakIteratorICU.cpp if (!text->chunkContents) text 199 Source/platform/text/TextBreakIteratorICU.cpp return text->chunkContents == text->pExtra ? PrimaryContext : PriorContext; text 202 Source/platform/text/TextBreakIteratorICU.cpp static void textLatin1MoveInPrimaryContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 204 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(text->chunkContents == text->pExtra); text 206 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(nativeIndex >= text->b && nativeIndex < nativeLength); text 207 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = nativeIndex; text 208 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = nativeIndex + text->extraSize / sizeof(UChar); text 209 Source/platform/text/TextBreakIteratorICU.cpp if (text->chunkNativeLimit > nativeLength) text 210 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = nativeLength; text 212 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(nativeIndex > text->b && nativeIndex <= nativeLength); text 213 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = nativeIndex; text 214 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = nativeIndex - text->extraSize / sizeof(UChar); text 215 Source/platform/text/TextBreakIteratorICU.cpp if (text->chunkNativeStart < text->b) text 216 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = text->b; text 218 Source/platform/text/TextBreakIteratorICU.cpp int64_t length = text->chunkNativeLimit - text->chunkNativeStart; text 221 Source/platform/text/TextBreakIteratorICU.cpp text->chunkLength = length <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0; text 222 Source/platform/text/TextBreakIteratorICU.cpp text->nativeIndexingLimit = text->chunkLength; text 223 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = forward ? 0 : text->chunkLength; text 224 Source/platform/text/TextBreakIteratorICU.cpp StringImpl::copyChars(const_cast<UChar*>(text->chunkContents), static_cast<const LChar*>(text->p) + (text->chunkNativeStart - text->b), static_cast<unsigned>(text->chunkLength)); text 227 Source/platform/text/TextBreakIteratorICU.cpp static void textLatin1SwitchToPrimaryContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 229 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text->chunkContents || text->chunkContents == text->q); text 230 Source/platform/text/TextBreakIteratorICU.cpp text->chunkContents = static_cast<const UChar*>(text->pExtra); text 231 Source/platform/text/TextBreakIteratorICU.cpp textLatin1MoveInPrimaryContext(text, nativeIndex, nativeLength, forward); text 234 Source/platform/text/TextBreakIteratorICU.cpp static void textLatin1MoveInPriorContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 236 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(text->chunkContents == text->q); text 237 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(forward ? nativeIndex < text->b : nativeIndex <= text->b); text 240 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = 0; text 241 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = text->b; text 242 Source/platform/text/TextBreakIteratorICU.cpp text->chunkLength = text->b; text 243 Source/platform/text/TextBreakIteratorICU.cpp text->nativeIndexingLimit = text->chunkLength; text 244 Source/platform/text/TextBreakIteratorICU.cpp int64_t offset = nativeIndex - text->chunkNativeStart; text 247 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = min(offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength); text 250 Source/platform/text/TextBreakIteratorICU.cpp static void textLatin1SwitchToPriorContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 252 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text->chunkContents || text->chunkContents == text->pExtra); text 253 Source/platform/text/TextBreakIteratorICU.cpp text->chunkContents = static_cast<const UChar*>(text->q); text 254 Source/platform/text/TextBreakIteratorICU.cpp textLatin1MoveInPriorContext(text, nativeIndex, nativeLength, forward); text 257 Source/platform/text/TextBreakIteratorICU.cpp static inline bool textInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward, UBool& isAccessible) text 260 Source/platform/text/TextBreakIteratorICU.cpp if (nativeIndex >= text->chunkNativeStart && nativeIndex < text->chunkNativeLimit) { text 261 Source/platform/text/TextBreakIteratorICU.cpp int64_t offset = nativeIndex - text->chunkNativeStart; text 264 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0; text 268 Source/platform/text/TextBreakIteratorICU.cpp if (nativeIndex >= nativeLength && text->chunkNativeLimit == nativeLength) { text 269 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = text->chunkLength; text 274 Source/platform/text/TextBreakIteratorICU.cpp if (nativeIndex > text->chunkNativeStart && nativeIndex <= text->chunkNativeLimit) { text 275 Source/platform/text/TextBreakIteratorICU.cpp int64_t offset = nativeIndex - text->chunkNativeStart; text 278 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0; text 282 Source/platform/text/TextBreakIteratorICU.cpp if (nativeIndex <= 0 && !text->chunkNativeStart) { text 283 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = 0; text 291 Source/platform/text/TextBreakIteratorICU.cpp static UBool textLatin1Access(UText* text, int64_t nativeIndex, UBool forward) text 293 Source/platform/text/TextBreakIteratorICU.cpp if (!text->context) text 295 Source/platform/text/TextBreakIteratorICU.cpp int64_t nativeLength = textNativeLength(text); text 297 Source/platform/text/TextBreakIteratorICU.cpp if (textInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) text 300 Source/platform/text/TextBreakIteratorICU.cpp TextContext currentContext = textLatin1GetCurrentContext(text); text 301 Source/platform/text/TextBreakIteratorICU.cpp TextContext newContext = textGetContext(text, nativeIndex, forward); text 305 Source/platform/text/TextBreakIteratorICU.cpp textLatin1MoveInPrimaryContext(text, nativeIndex, nativeLength, forward); text 307 Source/platform/text/TextBreakIteratorICU.cpp textLatin1MoveInPriorContext(text, nativeIndex, nativeLength, forward); text 310 Source/platform/text/TextBreakIteratorICU.cpp textLatin1SwitchToPrimaryContext(text, nativeIndex, nativeLength, forward); text 313 Source/platform/text/TextBreakIteratorICU.cpp textLatin1SwitchToPriorContext(text, nativeIndex, nativeLength, forward); text 330 Source/platform/text/TextBreakIteratorICU.cpp static void textInit(UText* text, const UTextFuncs* funcs, const void* string, unsigned length, const UChar* priorContext, int priorContextLength) text 332 Source/platform/text/TextBreakIteratorICU.cpp text->pFuncs = funcs; text 333 Source/platform/text/TextBreakIteratorICU.cpp text->providerProperties = 1 << UTEXT_PROVIDER_STABLE_CHUNKS; text 334 Source/platform/text/TextBreakIteratorICU.cpp text->context = string; text 335 Source/platform/text/TextBreakIteratorICU.cpp text->p = string; text 336 Source/platform/text/TextBreakIteratorICU.cpp text->a = length; text 337 Source/platform/text/TextBreakIteratorICU.cpp text->q = priorContext; text 338 Source/platform/text/TextBreakIteratorICU.cpp text->b = priorContextLength; text 350 Source/platform/text/TextBreakIteratorICU.cpp UText* text = utext_setup(&utWithBuffer->text, sizeof(utWithBuffer->buffer), status); text 352 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text); text 355 Source/platform/text/TextBreakIteratorICU.cpp textInit(text, &textLatin1Funcs, string, length, priorContext, priorContextLength); text 356 Source/platform/text/TextBreakIteratorICU.cpp return text; text 359 Source/platform/text/TextBreakIteratorICU.cpp static inline TextContext textUTF16GetCurrentContext(const UText* text) text 361 Source/platform/text/TextBreakIteratorICU.cpp if (!text->chunkContents) text 363 Source/platform/text/TextBreakIteratorICU.cpp return text->chunkContents == text->p ? PrimaryContext : PriorContext; text 366 Source/platform/text/TextBreakIteratorICU.cpp static void textUTF16MoveInPrimaryContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 368 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(text->chunkContents == text->p); text 369 Source/platform/text/TextBreakIteratorICU.cpp ASSERT_UNUSED(forward, forward ? nativeIndex >= text->b : nativeIndex > text->b); text 371 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = text->b; text 372 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = nativeLength; text 373 Source/platform/text/TextBreakIteratorICU.cpp int64_t length = text->chunkNativeLimit - text->chunkNativeStart; text 376 Source/platform/text/TextBreakIteratorICU.cpp text->chunkLength = length <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0; text 377 Source/platform/text/TextBreakIteratorICU.cpp text->nativeIndexingLimit = text->chunkLength; text 378 Source/platform/text/TextBreakIteratorICU.cpp int64_t offset = nativeIndex - text->chunkNativeStart; text 381 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = min(offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength); text 384 Source/platform/text/TextBreakIteratorICU.cpp static void textUTF16SwitchToPrimaryContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 386 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text->chunkContents || text->chunkContents == text->q); text 387 Source/platform/text/TextBreakIteratorICU.cpp text->chunkContents = static_cast<const UChar*>(text->p); text 388 Source/platform/text/TextBreakIteratorICU.cpp textUTF16MoveInPrimaryContext(text, nativeIndex, nativeLength, forward); text 391 Source/platform/text/TextBreakIteratorICU.cpp static void textUTF16MoveInPriorContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 393 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(text->chunkContents == text->q); text 394 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(forward ? nativeIndex < text->b : nativeIndex <= text->b); text 397 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeStart = 0; text 398 Source/platform/text/TextBreakIteratorICU.cpp text->chunkNativeLimit = text->b; text 399 Source/platform/text/TextBreakIteratorICU.cpp text->chunkLength = text->b; text 400 Source/platform/text/TextBreakIteratorICU.cpp text->nativeIndexingLimit = text->chunkLength; text 401 Source/platform/text/TextBreakIteratorICU.cpp int64_t offset = nativeIndex - text->chunkNativeStart; text 404 Source/platform/text/TextBreakIteratorICU.cpp text->chunkOffset = min(offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength); text 407 Source/platform/text/TextBreakIteratorICU.cpp static void textUTF16SwitchToPriorContext(UText* text, int64_t nativeIndex, int64_t nativeLength, UBool forward) text 409 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text->chunkContents || text->chunkContents == text->p); text 410 Source/platform/text/TextBreakIteratorICU.cpp text->chunkContents = static_cast<const UChar*>(text->q); text 411 Source/platform/text/TextBreakIteratorICU.cpp textUTF16MoveInPriorContext(text, nativeIndex, nativeLength, forward); text 414 Source/platform/text/TextBreakIteratorICU.cpp static UBool textUTF16Access(UText* text, int64_t nativeIndex, UBool forward) text 416 Source/platform/text/TextBreakIteratorICU.cpp if (!text->context) text 418 Source/platform/text/TextBreakIteratorICU.cpp int64_t nativeLength = textNativeLength(text); text 420 Source/platform/text/TextBreakIteratorICU.cpp if (textInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) text 423 Source/platform/text/TextBreakIteratorICU.cpp TextContext currentContext = textUTF16GetCurrentContext(text); text 424 Source/platform/text/TextBreakIteratorICU.cpp TextContext newContext = textGetContext(text, nativeIndex, forward); text 428 Source/platform/text/TextBreakIteratorICU.cpp textUTF16MoveInPrimaryContext(text, nativeIndex, nativeLength, forward); text 430 Source/platform/text/TextBreakIteratorICU.cpp textUTF16MoveInPriorContext(text, nativeIndex, nativeLength, forward); text 433 Source/platform/text/TextBreakIteratorICU.cpp textUTF16SwitchToPrimaryContext(text, nativeIndex, nativeLength, forward); text 436 Source/platform/text/TextBreakIteratorICU.cpp textUTF16SwitchToPriorContext(text, nativeIndex, nativeLength, forward); text 453 Source/platform/text/TextBreakIteratorICU.cpp static UText* textOpenUTF16(UText* text, const UChar* string, unsigned length, const UChar* priorContext, int priorContextLength, UErrorCode* status) text 463 Source/platform/text/TextBreakIteratorICU.cpp text = utext_setup(text, 0, status); text 465 Source/platform/text/TextBreakIteratorICU.cpp ASSERT(!text); text 468 Source/platform/text/TextBreakIteratorICU.cpp textInit(text, &textUTF16Funcs, string, length, priorContext, priorContextLength); text 469 Source/platform/text/TextBreakIteratorICU.cpp return text; text 486 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text = emptyText; text 487 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.extraSize = sizeof(textLocal.buffer); text 488 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.pExtra = textLocal.buffer; text 491 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenLatin1(&textLocal, string, length, 0, 0, &openStatus); text 498 Source/platform/text/TextBreakIteratorICU.cpp breakIter->setText(text, setTextStatus); text 502 Source/platform/text/TextBreakIteratorICU.cpp utext_close(text); text 547 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text = emptyText; text 548 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.extraSize = sizeof(textLocal.buffer); text 549 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.pExtra = textLocal.buffer; text 552 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenLatin1(&textLocal, string, length, priorContext, priorContextLength, &openStatus); text 559 Source/platform/text/TextBreakIteratorICU.cpp iterator->setText(text, setTextStatus); text 565 Source/platform/text/TextBreakIteratorICU.cpp utext_close(text); text 579 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenUTF16(&textLocal, string, length, priorContext, priorContextLength, &openStatus); text 586 Source/platform/text/TextBreakIteratorICU.cpp iterator->setText(text, setTextStatus); text 592 Source/platform/text/TextBreakIteratorICU.cpp utext_close(text); text 80 Source/platform/text/TextChecking.h TextCheckingRequestData(int sequence, const String& text, TextCheckingTypeMask mask, TextCheckingProcessType processType, const Vector<uint32_t>& markers, const Vector<unsigned>& offsets) text 82 Source/platform/text/TextChecking.h , m_text(text) text 90 Source/platform/text/TextChecking.h String text() const { return m_text; } text 101 Source/web/ContextMenuClientImpl.cpp static bool isASingleWord(const String& text) text 103 Source/web/ContextMenuClientImpl.cpp TextBreakIterator* it = wordBreakIterator(text, 0, text.length()); text 104 Source/web/ContextMenuClientImpl.cpp return it && it->next() == static_cast<int>(text.length()); text 172 Source/web/ContextMenuClientImpl.cpp if (markerRange->text().stripWhiteSpace(&IsWhiteSpaceOrPunctuation) != selectionRange->text().stripWhiteSpace(&IsWhiteSpaceOrPunctuation)) text 175 Source/web/ContextMenuClientImpl.cpp return markerRange->text(); text 260 Source/web/ContextMenuClientImpl.cpp WebString text = plugin->plugin()->selectionAsText(); text 261 Source/web/ContextMenuClientImpl.cpp if (!text.isEmpty()) { text 262 Source/web/ContextMenuClientImpl.cpp data.selectedText = text; text 743 Source/web/PopupListBox.cpp String text = m_popupClient->itemText(i); text 745 Source/web/PopupListBox.cpp if (!text.isEmpty()) text 746 Source/web/PopupListBox.cpp width = itemFont.width(TextRun(text)); text 129 Source/web/SpellCheckerClientImpl.cpp void SpellCheckerClientImpl::checkSpellingOfString(const String& text, int* misspellingLocation, int* misspellingLength) text 138 Source/web/SpellCheckerClientImpl.cpp m_webView->spellCheckClient()->spellCheck(text, spellLocation, spellLength, 0); text 155 Source/web/SpellCheckerClientImpl.cpp const String& text = request->data().text(); text 158 Source/web/SpellCheckerClientImpl.cpp m_webView->spellCheckClient()->requestCheckingOfText(text, markers, markerOffsets, new WebTextCheckingCompletionImpl(request)); text 179 Source/web/SpellCheckerClientImpl.cpp void SpellCheckerClientImpl::checkGrammarOfString(const String& text, WTF::Vector<GrammarDetail>& details, int* badGrammarLocation, int* badGrammarLength) text 189 Source/web/SpellCheckerClientImpl.cpp m_webView->spellCheckClient()->checkTextOfParagraph(text, WebTextCheckingTypeGrammar, &webResults); text 211 Source/web/SpellCheckerClientImpl.cpp *badGrammarLength = text.length(); text 819 Source/web/WebFrameImpl.cpp frame()->document()->addConsoleMessage(OtherMessageSource, webCoreMessageLevel, message.text); text 1045 Source/web/WebFrameImpl.cpp void WebFrameImpl::replaceSelection(const WebString& text) text 1049 Source/web/WebFrameImpl.cpp frame()->editor().replaceSelectionWithText(text, selectReplacement, smartReplace); text 1052 Source/web/WebFrameImpl.cpp void WebFrameImpl::insertText(const WebString& text) text 1055 Source/web/WebFrameImpl.cpp frame()->inputMethodController().confirmComposition(text); text 1057 Source/web/WebFrameImpl.cpp frame()->editor().insertText(text, 0); text 1060 Source/web/WebFrameImpl.cpp void WebFrameImpl::setMarkedText(const WebString& text, unsigned location, unsigned length) text 1063 Source/web/WebFrameImpl.cpp frame()->inputMethodController().setComposition(text, decorations, location, length); text 1209 Source/web/WebFrameImpl.cpp void WebFrameImpl::replaceMisspelledRange(const WebString& text) text 1224 Source/web/WebFrameImpl.cpp frame()->editor().replaceSelectionWithText(text, false, false); text 1257 Source/web/WebFrameImpl.cpp String text = range->text(); text 1259 Source/web/WebFrameImpl.cpp replaceNewlinesWithWindowsStyleNewlines(text); text 1261 Source/web/WebFrameImpl.cpp replaceNBSPWithSpace(text); text 1262 Source/web/WebFrameImpl.cpp return text; text 1568 Source/web/WebFrameImpl.cpp StringBuilder text; text 1569 Source/web/WebFrameImpl.cpp frameContentAsPlainText(maxChars, frame(), text); text 1570 Source/web/WebFrameImpl.cpp return text.toString(); text 283 Source/web/WebInputEventConversion.cpp m_text = String(e.text); text 643 Source/web/WebInputEventConversion.cpp unsigned numberOfCharacters = std::min(event.keyEvent()->text().length(), static_cast<unsigned>(textLengthCap)); text 645 Source/web/WebInputEventConversion.cpp text[i] = event.keyEvent()->text()[i]; text 695 Source/web/WebInputEventConversion.cpp event.text().copyTo(text, 0, textLengthCap); text 64 Source/web/WebInputEventFactoryAndroid.cpp result.text[0] = result.unmodifiedText[0]; text 396 Source/web/WebInputEventFactoryGtk.cpp result.text[0] = getControlCharacter( text 399 Source/web/WebInputEventFactoryGtk.cpp result.text[0] = result.unmodifiedText[0]; text 430 Source/web/WebInputEventFactoryGtk.cpp result.text[0] = character; text 172 Source/web/WebInputEventFactoryWin.cpp result.text[0] = result.windowsKeyCode; text 62 Source/web/WebOptionElement.cpp return constUnwrap<HTMLOptionElement>()->text(); text 82 Source/web/WebPopupMenuImpl.h const WebString& text, text 87 Source/web/WebPopupMenuImpl.h virtual bool confirmComposition(const WebString& text) OVERRIDE FINAL; text 100 Source/web/WebRange.cpp return m_private->text(); text 42 Source/web/WebTextRun.cpp return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride); text 1925 Source/web/WebViewImpl.cpp const WebString& text, text 1935 Source/web/WebViewImpl.cpp return plugin->setComposition(text, underlines, selectionStart, selectionEnd); text 1957 Source/web/WebViewImpl.cpp if (text.isEmpty() || m_suppressNextKeypressEvent) { text 1965 Source/web/WebViewImpl.cpp return text.isEmpty(); text 1972 Source/web/WebViewImpl.cpp inputMethodController.setComposition(String(text), text 1989 Source/web/WebViewImpl.cpp bool WebViewImpl::confirmComposition(const WebString& text) text 1991 Source/web/WebViewImpl.cpp return confirmComposition(text, DoNotKeepSelection); text 1994 Source/web/WebViewImpl.cpp bool WebViewImpl::confirmComposition(const WebString& text, ConfirmCompositionBehavior selectionBehavior) text 2001 Source/web/WebViewImpl.cpp return plugin->confirmComposition(text, selectionBehavior); text 2003 Source/web/WebViewImpl.cpp return focused->inputMethodController().confirmCompositionOrInsertText(text, selectionBehavior == KeepSelection ? InputMethodController::KeepSelection : InputMethodController::DoNotKeepSelection); text 143 Source/web/WebViewImpl.h const WebString& text, text 149 Source/web/WebViewImpl.h virtual bool confirmComposition(const WebString& text) OVERRIDE; text 553 Source/web/WebViewImpl.h bool confirmComposition(const WebString& text, ConfirmCompositionBehavior); text 75 Source/web/tests/KeyboardTest.cpp keyboardEvent->text[0] = keyCode; text 2986 Source/web/tests/ViewportTest.cpp EXPECT_STREQ("The key \"wwidth\" is not recognized and ignored.", webFrameClient.messages[0].text.utf8().c_str()); text 3011 Source/web/tests/ViewportTest.cpp webFrameClient.messages[0].text.utf8().c_str()); text 3036 Source/web/tests/ViewportTest.cpp webFrameClient.messages[0].text.utf8().c_str()); text 3062 Source/web/tests/ViewportTest.cpp webFrameClient.messages[0].text.utf8().c_str()); text 3066 Source/web/tests/ViewportTest.cpp webFrameClient.messages[1].text.utf8().c_str()); text 3070 Source/web/tests/ViewportTest.cpp webFrameClient.messages[2].text.utf8().c_str()); text 3074 Source/web/tests/ViewportTest.cpp webFrameClient.messages[3].text.utf8().c_str()); text 3078 Source/web/tests/ViewportTest.cpp webFrameClient.messages[4].text.utf8().c_str()); text 3103 Source/web/tests/ViewportTest.cpp webFrameClient.messages[0].text.utf8().c_str()); text 3057 Source/web/tests/WebFrameTest.cpp WebString text = frame->contentAsText(std::numeric_limits<size_t>::max()); text 3058 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(expected, text.utf8()); text 3062 Source/web/tests/WebFrameTest.cpp text = frame->contentAsText(length); text 3063 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(expected.substr(0, length), text.utf8()); text 3076 Source/web/tests/WebFrameTest.cpp text = frame->contentAsText(std::numeric_limits<size_t>::max()); text 3077 Source/web/tests/WebFrameTest.cpp EXPECT_EQ("Hello world\n\nsub\ntext", text.utf8()); text 3081 Source/web/tests/WebFrameTest.cpp text = frame->contentAsText(12); text 3082 Source/web/tests/WebFrameTest.cpp EXPECT_EQ("Hello world", text.utf8()); text 3097 Source/web/tests/WebFrameTest.cpp WebString text = frame->contentAsText(std::numeric_limits<size_t>::max()); text 3098 Source/web/tests/WebFrameTest.cpp EXPECT_EQ("Hello\n\nWorld", text.utf8()); text 3108 Source/web/tests/WebFrameTest.cpp text = frame->contentAsText(std::numeric_limits<size_t>::max()); text 3109 Source/web/tests/WebFrameTest.cpp EXPECT_EQ("Hello\n\nWorld", text.utf8()); text 3215 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(result->text(), String::format("%s %02d", kFindString, resultIndex)); text 4117 Source/web/tests/WebFrameTest.cpp WebString text = frame->contentAsText(std::numeric_limits<size_t>::max()); text 4118 Source/web/tests/WebFrameTest.cpp EXPECT_EQ("This should appear", text.utf8()); text 61 Source/web/tests/WebPageNewSerializerTest.cpp LineReader(const std::string& text) : m_text(text), m_index(0) { } text 33 Source/wtf/text/TextPosition.cpp PassOwnPtr<Vector<unsigned> > lineEndings(const String& text) text 38 Source/wtf/text/TextPosition.cpp while (start < text.length()) { text 39 Source/wtf/text/TextPosition.cpp size_t lineEnd = text.find('\n', start); text 46 Source/wtf/text/TextPosition.cpp result->append(text.length()); text 53 public/platform/WebSpeechSynthesisUtterance.h BLINK_PLATFORM_EXPORT WebString text() const; text 49 public/web/WebConsoleMessage.h WebString text; text 53 public/web/WebConsoleMessage.h WebConsoleMessage(Level level, const WebString& text) text 55 public/web/WebConsoleMessage.h , text(text) { } text 419 public/web/WebFrame.h virtual void replaceSelection(const WebString& text) = 0; text 421 public/web/WebFrame.h virtual void insertText(const WebString& text) = 0; text 423 public/web/WebFrame.h virtual void setMarkedText(const WebString& text, unsigned location, unsigned length) = 0; text 272 public/web/WebInputEvent.h WebUChar text[textLengthCap]; text 284 public/web/WebInputEvent.h memset(&text, 0, sizeof(text)); text 60 public/web/WebOptionElement.h BLINK_EXPORT WebString text() const; text 136 public/web/WebPlugin.h virtual bool setComposition(const WebString& text, const WebVector<WebCompositionUnderline>& underlines, int selectionStart, int selectionEnd) { return false; } text 139 public/web/WebPlugin.h virtual bool confirmComposition(const WebString& text, WebWidget::ConfirmCompositionBehavior selectionBehavior) { return false; } text 52 public/web/WebSpellCheckClient.h virtual void spellCheck(const WebString& text, text 44 public/web/WebTextRun.h : text(t) text 55 public/web/WebTextRun.h WebString text; text 161 public/web/WebWidget.h const WebString& text, text 183 public/web/WebWidget.h virtual bool confirmComposition(const WebString& text) { return false; }