Home
last modified time | relevance | path

Searched refs:simplifyWhiteSpace (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DSurroundingTextTest.cpp70 EXPECT_EQ("foo", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
79 EXPECT_EQ("foo bar", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
108 EXPECT_EQ("foo bar", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
131 EXPECT_EQ("Lorem ip", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
140 EXPECT_EQ("Lorem ipsum dolor sit amet", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
158 EXPECT_EQ("Lorem ipsum dolor sit amet", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
181 EXPECT_EQ("foo", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
190 …EQ("This is outside of foo bar the selected node", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
208 …EQ("This is outside of foo bar the selected node", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
222 EXPECT_EQ("fo", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DWTFStringTest.cpp167 ASSERT_EQ(String("Hello world"), extraSpaces.simplifyWhiteSpace()); in TEST()
168 … ASSERT_EQ(String(" Hello world "), extraSpaces.simplifyWhiteSpace(WTF::DoNotStripWhiteSpace)); in TEST()
171 ASSERT_EQ(String("Hello world"), extraSpacesAndNewlines.simplifyWhiteSpace()); in TEST()
172 …ASSERT_EQ(String(" Hello world "), extraSpacesAndNewlines.simplifyWhiteSpace(WTF::DoNotStripWhi… in TEST()
175 ASSERT_EQ(String("Hello world"), extraSpacesAndTabs.simplifyWhiteSpace()); in TEST()
176 …ASSERT_EQ(String(" Hello world "), extraSpacesAndTabs.simplifyWhiteSpace(WTF::DoNotStripWhiteSp… in TEST()
DWTFString.cpp394 String String::simplifyWhiteSpace(StripBehavior stripBehavior) const in simplifyWhiteSpace() function in WTF::String
398 return m_impl->simplifyWhiteSpace(stripBehavior); in simplifyWhiteSpace()
401 String String::simplifyWhiteSpace(IsWhiteSpaceFunctionPtr isWhiteSpace, StripBehavior stripBehavior… in simplifyWhiteSpace() function in WTF::String
405 return m_impl->simplifyWhiteSpace(isWhiteSpace, stripBehavior); in simplifyWhiteSpace()
DStringImpl.h354 PassRefPtr<StringImpl> simplifyWhiteSpace(StripBehavior stripBehavior = StripExtraWhiteSpace);
355 …PassRefPtr<StringImpl> simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, StripBehavior stripBehavior = S…
DWTFString.h335 String simplifyWhiteSpace(StripBehavior stripBehavior = StripExtraWhiteSpace) const;
336 …String simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, StripBehavior stripBehavior = StripExtraWhiteSp…
DStringImpl.cpp988 PassRefPtr<StringImpl> StringImpl::simplifyWhiteSpace(StripBehavior stripBehavior) in simplifyWhiteSpace() function in WTF::StringImpl
995 PassRefPtr<StringImpl> StringImpl::simplifyWhiteSpace(IsWhiteSpaceFunctionPtr isWhiteSpace, StripBe… in simplifyWhiteSpace() function in WTF::StringImpl
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLOptionElement.cpp119 return text.stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>); in text()
200 …return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace… in value()
272 …return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace… in label()
DHTMLOptGroupElement.cpp122 itemText = itemText.simplifyWhiteSpace(); in groupLabelText()
/external/chromium_org/third_party/WebKit/Source/core/css/
DDOMWindowCSS.cpp71 String normalizedValue = value.stripWhiteSpace().simplifyWhiteSpace(); in supports()
/external/chromium_org/third_party/WebKit/Source/platform/
DContentType.cpp89 codecs[i] = codecs[i].simplifyWhiteSpace(); in codecs()
DLength.cpp89 str = str->simplifyWhiteSpace(); in parseHTMLAreaElementCoords()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathValue.cpp100 const String& str = m_data->m_string.simplifyWhiteSpace(); in toNumber()
DXPathFunctions.cpp554 return s.simplifyWhiteSpace(); in evaluate()
558 return s.simplifyWhiteSpace(); in evaluate()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DAbstractInlineTextBox.cpp158 …String result = m_renderText->text().substring(start, len).simplifyWhiteSpace(WTF::DoNotStripWhite… in text()
DRenderText.cpp318 …String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStri… in plainText()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragController.cpp764 clipboard->writeURL(linkURL, hitTestResult.textContent().simplifyWhiteSpace()); in populateDragClipboard()