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.cpp71 EXPECT_EQ("foo", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
80 EXPECT_EQ("foo bar", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
109 EXPECT_EQ("foo bar", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
132 EXPECT_EQ("Lorem ip", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
141 EXPECT_EQ("Lorem ipsum dolor sit amet", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
159 EXPECT_EQ("Lorem ipsum dolor sit amet", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
182 EXPECT_EQ("foo", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
191 …EQ("This is outside of foo bar the selected node", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
209 …EQ("This is outside of foo bar the selected node", surroundingText.content().simplifyWhiteSpace()); in TEST_F()
223 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.h368 PassRefPtr<StringImpl> simplifyWhiteSpace(StripBehavior stripBehavior = StripExtraWhiteSpace);
369 …PassRefPtr<StringImpl> simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, StripBehavior stripBehavior = S…
DWTFString.h323 String simplifyWhiteSpace(StripBehavior stripBehavior = StripExtraWhiteSpace) const;
324 …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.cpp121 return text.stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace<UChar>); in text()
205 …return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace… in value()
278 …return collectOptionInnerText().stripWhiteSpace(isHTMLSpace<UChar>).simplifyWhiteSpace(isHTMLSpace… in label()
DHTMLOptGroupElement.cpp128 itemText = itemText.simplifyWhiteSpace(); in groupLabelText()
/external/chromium_org/third_party/WebKit/Source/core/css/
DDOMWindowCSS.cpp69 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.cpp163 …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.cpp765 dataTransfer->writeURL(linkURL, hitTestResult.textContent().simplifyWhiteSpace()); in populateDragDataTransfer()