fromUTF8 354 Source/bindings/v8/NPV8Object.cpp String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); fromUTF8 1875 Source/bindings/v8/SerializedScriptValue.cpp *string = String::fromUTF8(reinterpret_cast<const char*>(m_buffer + m_position), length); fromUTF8 54 Source/core/css/AffectedByFocusTest.cpp document().documentElement()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO_EXCEPTION); fromUTF8 74 Source/core/dom/DocumentMarkerControllerTest.cpp return document().createTextNode(String::fromUTF8(textContents)); fromUTF8 88 Source/core/dom/DocumentMarkerControllerTest.cpp document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION); fromUTF8 91 Source/core/dom/RangeTest.cpp Element* outer = document().getElementById(AtomicString::fromUTF8("outer")); fromUTF8 92 Source/core/dom/RangeTest.cpp Element* innerLeft = document().getElementById(AtomicString::fromUTF8("inner-left")); fromUTF8 93 Source/core/dom/RangeTest.cpp Element* innerRight = document().getElementById(AtomicString::fromUTF8("inner-right")); fromUTF8 103 Source/core/editing/TextIteratorTest.cpp document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION); fromUTF8 122 Source/core/editing/TextIteratorTest.cpp RefPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRoot(ASSERT_NO_EXCEPTION); fromUTF8 123 Source/core/editing/TextIteratorTest.cpp shadowRoot->setInnerHTML(String::fromUTF8(shadowRootContent), ASSERT_NO_EXCEPTION); fromUTF8 198 Source/core/xml/XSLStyleSheetLibxslt.cpp loadChildSheet(String::fromUTF8((const char*)uriRef)); fromUTF8 209 Source/core/xml/XSLStyleSheetLibxslt.cpp loadChildSheet(String::fromUTF8((const char*)uriRef)); fromUTF8 168 Source/core/xml/XSLTUnicodeSort.cpp String::fromUTF8(reinterpret_cast<const char*>(results[j]->stringval)).appendTo(string1); fromUTF8 169 Source/core/xml/XSLTUnicodeSort.cpp String::fromUTF8(reinterpret_cast<const char*>(results[j + incr]->stringval)).appendTo(string2); fromUTF8 225 Source/core/xml/XSLTUnicodeSort.cpp String::fromUTF8(reinterpret_cast<const char*>(res[j]->stringval)).appendTo(string1); fromUTF8 226 Source/core/xml/XSLTUnicodeSort.cpp String::fromUTF8(reinterpret_cast<const char*>(res[j + incr]->stringval)).appendTo(string2); fromUTF8 85 Source/core/xml/parser/XMLDocumentParser.cpp return String::fromUTF8(reinterpret_cast<const char*>(string), length); fromUTF8 90 Source/core/xml/parser/XMLDocumentParser.cpp return String::fromUTF8(reinterpret_cast<const char*>(string)); fromUTF8 95 Source/core/xml/parser/XMLDocumentParser.cpp return AtomicString::fromUTF8(reinterpret_cast<const char*>(string), length); fromUTF8 100 Source/core/xml/parser/XMLDocumentParser.cpp return AtomicString::fromUTF8(reinterpret_cast<const char*>(string)); fromUTF8 603 Source/modules/websockets/MainThreadWebSocketChannel.cpp message = String::fromUTF8(continuousFrameData->data(), continuousFrameData->size()); fromUTF8 620 Source/modules/websockets/MainThreadWebSocketChannel.cpp message = String::fromUTF8(frame.payload, frame.payloadLength); fromUTF8 670 Source/modules/websockets/MainThreadWebSocketChannel.cpp m_closeEventReason = String::fromUTF8(&frame.payload[2], frame.payloadLength - 2); fromUTF8 433 Source/modules/websockets/NewWebSocketChannelImpl.cpp String message = m_receivingMessageData.isEmpty() ? emptyString() : String::fromUTF8(m_receivingMessageData.data(), m_receivingMessageData.size()); fromUTF8 106 Source/modules/websockets/WebSocketExtensionParser.cpp m_currentToken = String::fromUTF8(buffer.data(), buffer.size()); fromUTF8 84 Source/platform/exported/WebCString.cpp return WebString::fromUTF8(data(), length()); fromUTF8 91 Source/platform/exported/WebString.cpp return String::fromUTF8(data, length); fromUTF8 96 Source/platform/exported/WebString.cpp return String::fromUTF8(data); fromUTF8 67 Source/platform/exported/WebURLError.cpp ResourceError resourceError = ResourceError(domain, reason, String::fromUTF8(spec.data(), spec.length()), localizedDescription); fromUTF8 44 Source/platform/fonts/linux/FontCacheLinux.cpp family->name = String::fromUTF8(CString(webFamily.name)); fromUTF8 206 Source/platform/fonts/win/FontCacheSkiaWin.cpp return equalIgnoringCase(a, AtomicString::fromUTF8(b.c_str())); fromUTF8 57 Source/platform/fonts/win/FontFallbackWin.cpp if (equalIgnoringCase(family, AtomicString::fromUTF8(actualFamily.fString.c_str()))) { fromUTF8 237 Source/platform/fonts/win/FontPlatformDataWin.cpp return String::fromUTF8(familyName.c_str()); fromUTF8 666 Source/platform/network/HTTPParsers.cpp nameStr = AtomicString::fromUTF8(name.data(), name.size()); fromUTF8 667 Source/platform/network/HTTPParsers.cpp valueStr = AtomicString::fromUTF8(value.data(), value.size()); fromUTF8 61 Source/platform/weborigin/DatabaseIdentifierTest.cpp {"http", String::fromUTF8("\xe2\x98\x83.unicode.com"), 80, "http_xn--n3h.unicode.com_0"}, fromUTF8 62 Source/platform/weborigin/DatabaseIdentifierTest.cpp {"http", String::fromUTF8("\xf0\x9f\x92\xa9.unicode.com"), 80, "http_xn--ls8h.unicode.com_0"}, fromUTF8 247 Source/platform/weborigin/DatabaseIdentifierTest.cpp String::fromUTF8("http_\xe2\x98\x83.unicode.com_0"), fromUTF8 776 Source/platform/weborigin/KURL.cpp m_string = AtomicString::fromUTF8(output.data(), output.length()); fromUTF8 879 Source/platform/weborigin/KURL.cpp m_string = AtomicString::fromUTF8(output.data(), output.length()); fromUTF8 142 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(WTF::String::fromUTF8(cases[i].ref), kurl.fragmentIdentifier()); fromUTF8 170 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(utf8KURL.string() == WTF::String::fromUTF8(utf8URL)); fromUTF8 44 Source/platform/weborigin/SecurityPolicyTest.cpp EXPECT_TRUE(String() == SecurityPolicy::generateReferrerHeader(WebCore::ReferrerPolicyAlways, KURL(WebCore::ParsedURLString, "http://example.com/"), String::fromUTF8("chrome://somepage/"))); fromUTF8 945 Source/web/WebFrameImpl.cpp loadData(data, WebString::fromUTF8("text/html"), WebString::fromUTF8("UTF-8"), baseURL, unreachableURL, replace); fromUTF8 1340 Source/web/WebViewImpl.cpp focusedFrame()->executeCommand(WebString::fromUTF8("SelectAll")); fromUTF8 1344 Source/web/WebViewImpl.cpp focusedFrame()->executeCommand(WebString::fromUTF8("Copy")); fromUTF8 195 Source/web/tests/AssociatedURLLoaderTest.cpp request.setHTTPMethod(WebString::fromUTF8(unsafeMethod)); fromUTF8 211 Source/web/tests/AssociatedURLLoaderTest.cpp if (equalIgnoringCase(WebString::fromUTF8(headerField), "referer")) fromUTF8 212 Source/web/tests/AssociatedURLLoaderTest.cpp request.setHTTPReferrer(WebString::fromUTF8(headerValue), blink::WebReferrerPolicyDefault); fromUTF8 214 Source/web/tests/AssociatedURLLoaderTest.cpp request.setHTTPHeaderField(WebString::fromUTF8(headerField), WebString::fromUTF8(headerValue)); fromUTF8 248 Source/web/tests/AssociatedURLLoaderTest.cpp WebString headerNameString(WebString::fromUTF8(headerName)); fromUTF8 646 Source/web/tests/AssociatedURLLoaderTest.cpp WebString headerNameString(WebString::fromUTF8("non-whitelisted")); fromUTF8 106 Source/web/tests/CompositedLayerMappingTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 104 Source/web/tests/CustomEventTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8(path.c_str())); fromUTF8 94 Source/web/tests/FrameLoaderClientImplTest.cpp return WebString::fromUTF8(userAgent.data(), userAgent.length()); fromUTF8 107 Source/web/tests/FrameLoaderClientImplTest.cpp const WebString override = WebString::fromUTF8("dummy override"); fromUTF8 62 Source/web/tests/LinkHighlightTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("test_touch_link_highlight.html")); fromUTF8 167 Source/web/tests/LinkHighlightTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("test_touch_link_highlight.html")); fromUTF8 204 Source/web/tests/LinkHighlightTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("test_touch_link_highlight.html")); fromUTF8 95 Source/web/tests/ListenerLeakTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 80 Source/web/tests/MHTMLTest.cpp URLTestHelpers::registerMockedURLLoad(toKURL(url), fileName, WebString::fromUTF8("mhtml/"), WebString::fromUTF8("text/html")); fromUTF8 107 Source/web/tests/MHTMLTest.cpp registerMockedURLLoad(kFileURL, WebString::fromUTF8("simple_test.mht")); fromUTF8 62 Source/web/tests/PageSerializerTest.cpp : m_folder(WebString::fromUTF8("pageserializer/")) fromUTF8 86 Source/web/tests/PageSerializerTest.cpp m_folder = WebString::fromUTF8(folder); fromUTF8 91 Source/web/tests/PageSerializerTest.cpp registerMockedURLLoad(KURL(m_baseUrl, file), WebString::fromUTF8(file), m_folder, WebString::fromUTF8(mimeType)); fromUTF8 250 Source/web/tests/PopupMenuTest.cpp URLTestHelpers::registerMockedURLLoad(toKURL(baseURL + fileName), WebString::fromUTF8(fileName.c_str()), WebString::fromUTF8("popup/"), WebString::fromUTF8("text/html")); fromUTF8 187 Source/web/tests/PrerenderingTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL), WebString::fromUTF8(fileName)); fromUTF8 237 Source/web/tests/PrerenderingTest.cpp m_webViewHelper.webView()->mainFrame()->executeScript(WebScriptSource(WebString::fromUTF8(code))); fromUTF8 44 Source/web/tests/ProgrammaticScrollTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 97 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 109 Source/web/tests/TouchActionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL), "touch-action-tests.css"); fromUTF8 110 Source/web/tests/TouchActionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL), "touch-action-tests.js"); fromUTF8 167 Source/web/tests/TouchActionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL), WebString::fromUTF8(file)); fromUTF8 46 Source/web/tests/URLTestHelpers.cpp registerMockedURLLoad(toKURL(fullString.c_str()), fileName, WebString::fromUTF8(""), mimeType); fromUTF8 51 Source/web/tests/URLTestHelpers.cpp registerMockedURLLoad(fullURL, fileName, WebString::fromUTF8(""), mimeType); fromUTF8 67 Source/web/tests/URLTestHelpers.cpp Platform::current()->unitTestSupport()->registerMockedURL(fullURL, response, WebString::fromUTF8(filePath.c_str())); fromUTF8 54 Source/web/tests/URLTestHelpers.h void registerMockedURLFromBaseURL(const WebString& baseURL, const WebString& fileName, const WebString& mimeType = WebString::fromUTF8("text/html")); fromUTF8 55 Source/web/tests/URLTestHelpers.h void registerMockedURLLoad(const WebURL& fullURL, const WebString& fileName, const WebString& mimeType = WebString::fromUTF8("text/html")); fromUTF8 86 Source/web/tests/ViewportTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 91 Source/web/tests/ViewportTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_chromeURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 155 Source/web/tests/WebFrameTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 160 Source/web/tests/WebFrameTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_chromeURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 306 Source/web/tests/WebFrameTest.cpp URLTestHelpers::registerMockedURLLoad(toKURL("http://www.test.com:0/" + fileName), WebString::fromUTF8(fileName)); fromUTF8 332 Source/web/tests/WebFrameTest.cpp URLTestHelpers::registerMockedURLLoad(toKURL("http://www.test.com:0/" + fileName), WebString::fromUTF8(fileName)); fromUTF8 437 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("div.initial_on")); fromUTF8 445 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("div.initial_off")); fromUTF8 464 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span")); fromUTF8 505 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span[attr=\"value\"]")); fromUTF8 523 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span")); fromUTF8 571 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span")); fromUTF8 594 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span")); fromUTF8 595 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span,p")); fromUTF8 610 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("span")); fromUTF8 611 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("[")); // Invalid. fromUTF8 612 Source/web/tests/WebFrameTest.cpp selectors.push_back(WebString::fromUTF8("p span")); // Not compound. fromUTF8 2774 Source/web/tests/WebFrameTest.cpp WebFrame* iframe = webViewHelper.webView()->findFrameByName(WebString::fromUTF8("ifr")); fromUTF8 2993 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->find(findIdentifier, WebString::fromUTF8("bar1"), options, false, 0)); fromUTF8 3001 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->find(findIdentifier, WebString::fromUTF8("bar2"), options, false, 0)); fromUTF8 3008 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("INPUT"), frame->document().focusedElement().tagName()); fromUTF8 3011 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->find(findIdentifier, WebString::fromUTF8("bar3"), options, false, 0)); fromUTF8 3018 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("TEXTAREA"), frame->document().focusedElement().tagName()); fromUTF8 3021 Source/web/tests/WebFrameTest.cpp EXPECT_TRUE(frame->find(findIdentifier, WebString::fromUTF8("bar4"), options, false, 0)); fromUTF8 3029 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("DIV"), frame->document().focusedElement().tagName()); fromUTF8 3032 Source/web/tests/WebFrameTest.cpp EXPECT_FALSE(frame->find(findIdentifier, WebString::fromUTF8("bar5"), options, false, 0)); fromUTF8 3113 Source/web/tests/WebFrameTest.cpp frame->executeCommand(WebString::fromUTF8("SelectAll")); fromUTF8 3115 Source/web/tests/WebFrameTest.cpp frame->executeCommand(WebString::fromUTF8("Unselect")); fromUTF8 3188 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3305 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3335 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3376 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3417 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3457 Source/web/tests/WebFrameTest.cpp WebString searchText = WebString::fromUTF8(kFindString); fromUTF8 3534 Source/web/tests/WebFrameTest.cpp frame->executeCommand(WebString::fromUTF8("Unselect")); fromUTF8 3543 Source/web/tests/WebFrameTest.cpp frame->executeCommand(WebString::fromUTF8("Unselect")); fromUTF8 3564 Source/web/tests/WebFrameTest.cpp subframe->executeCommand(WebString::fromUTF8("Unselect")); fromUTF8 4112 Source/web/tests/WebFrameTest.cpp errorHistoryItem.setURLString(WebString::fromUTF8(errorURL.c_str(), errorURL.length())); fromUTF8 4884 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(WebString::fromUTF8("POST"), frame->dataSource()->request().httpMethod()); fromUTF8 5209 Source/web/tests/WebFrameTest.cpp item.setTarget(WebString::fromUTF8("expectedButMissingMainFrameName")); fromUTF8 98 Source/web/tests/WebInputEventConversionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html")); fromUTF8 305 Source/web/tests/WebInputEventConversionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html")); fromUTF8 453 Source/web/tests/WebInputEventConversionTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8("fixed_layout.html")); fromUTF8 102 Source/web/tests/WebPageNewSerializerTest.cpp : m_htmlMimeType(WebString::fromUTF8("text/html")) fromUTF8 103 Source/web/tests/WebPageNewSerializerTest.cpp , m_xhtmlMimeType(WebString::fromUTF8("application/xhtml+xml")) fromUTF8 104 Source/web/tests/WebPageNewSerializerTest.cpp , m_cssMimeType(WebString::fromUTF8("text/css")) fromUTF8 105 Source/web/tests/WebPageNewSerializerTest.cpp , m_pngMimeType(WebString::fromUTF8("image/png")) fromUTF8 106 Source/web/tests/WebPageNewSerializerTest.cpp , m_svgMimeType(WebString::fromUTF8("image/svg+xml")) fromUTF8 125 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("css_test_page.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 126 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/link_styles.css"), WebString::fromUTF8("link_styles.css"), WebString::fromUTF8("pageserializer/"), cssMimeType()); fromUTF8 127 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/import_style_from_link.css"), WebString::fromUTF8("import_style_from_link.css"), WebString::fromUTF8("pageserializer/"), cssMimeType()); fromUTF8 128 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/import_styles.css"), WebString::fromUTF8("import_styles.css"), WebString::fromUTF8("pageserializer/"), cssMimeType()); fromUTF8 129 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/red_background.png"), WebString::fromUTF8("red_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 130 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/orange_background.png"), WebString::fromUTF8("orange_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 131 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/yellow_background.png"), WebString::fromUTF8("yellow_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 132 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/green_background.png"), WebString::fromUTF8("green_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 133 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/blue_background.png"), WebString::fromUTF8("blue_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 134 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/purple_background.png"), WebString::fromUTF8("purple_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 135 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/ul-dot.png"), WebString::fromUTF8("ul-dot.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 136 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/ol-dot.png"), WebString::fromUTF8("ol-dot.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 194 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("top_frame.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 195 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/iframe.html"), WebString::fromUTF8("iframe.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 196 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/iframe2.html"), WebString::fromUTF8("iframe2.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 197 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/red_background.png"), WebString::fromUTF8("red_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 198 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/green_background.png"), WebString::fromUTF8("green_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 199 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/blue_background.png"), WebString::fromUTF8("blue_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 265 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("blank_frames.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 266 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/red_background.png"), WebString::fromUTF8("red_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 267 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/orange_background.png"), WebString::fromUTF8("orange_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 268 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(toKURL("http://www.test.com/blue_background.png"), WebString::fromUTF8("blue_background.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 295 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("simple.xhtml"), WebString::fromUTF8("pageserializer/"), xhtmlMimeType()); fromUTF8 360 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(pageUrl, WebString::fromUTF8("page_with_svg_image.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 361 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(imageUrl, WebString::fromUTF8("green_rectangle.svg"), WebString::fromUTF8("pageserializer/"), svgMimeType()); fromUTF8 376 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(pageUrl, WebString::fromUTF8("page_with_img_error.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 377 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(imageUrl, WebString::fromUTF8("error_image.png"), WebString::fromUTF8("pageserializer/"), pngMimeType()); fromUTF8 397 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(pageUrl, WebString::fromUTF8("namespace_element.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 423 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("page_with_data.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 446 Source/web/tests/WebPageNewSerializerTest.cpp registerMockedURLLoad(topFrameURL, WebString::fromUTF8("page_with_morphing_data.html"), WebString::fromUTF8("pageserializer/"), htmlMimeType()); fromUTF8 77 Source/web/tests/WebPageSerializerTest.cpp URLTestHelpers::registerMockedURLLoad(toKURL(url), fileName, WebString::fromUTF8("pageserialization/"), WebString::fromUTF8("text/html")); fromUTF8 114 Source/web/tests/WebPageSerializerTest.cpp registerMockedURLLoad("http://www.test.com", WebString::fromUTF8("simple_page.html")); fromUTF8 115 Source/web/tests/WebPageSerializerTest.cpp registerMockedURLLoad("http://www.example.com/beautifull.css", WebString::fromUTF8("beautifull.css")); fromUTF8 149 Source/web/tests/WebPageSerializerTest.cpp registerMockedURLLoad("http://www.test.com", WebString::fromUTF8("top_frame.html")); fromUTF8 151 Source/web/tests/WebPageSerializerTest.cpp WebString::fromUTF8("simple_iframe.html")); fromUTF8 153 Source/web/tests/WebPageSerializerTest.cpp WebString::fromUTF8("object_iframe.html")); fromUTF8 155 Source/web/tests/WebPageSerializerTest.cpp WebString::fromUTF8("embed_iframe.html")); fromUTF8 160 Source/web/tests/WebPageSerializerTest.cpp WebString::fromUTF8("awesome.png")); fromUTF8 90 Source/web/tests/WebPluginContainerTest.cpp if (params.mimeType == WebString::fromUTF8("application/x-webkit-test-webplugin")) fromUTF8 104 Source/web/tests/WebPluginContainerTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("plugin_container.html")); fromUTF8 113 Source/web/tests/WebPluginContainerTest.cpp WebPluginContainer* pluginContainerOne = getWebPluginContainer(webView, WebString::fromUTF8("translated-plugin")); fromUTF8 122 Source/web/tests/WebPluginContainerTest.cpp WebPluginContainer* pluginContainerTwo = getWebPluginContainer(webView, WebString::fromUTF8("rotated-plugin")); fromUTF8 134 Source/web/tests/WebPluginContainerTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("plugin_container.html")); fromUTF8 143 Source/web/tests/WebPluginContainerTest.cpp WebPluginContainer* pluginContainerOne = getWebPluginContainer(webView, WebString::fromUTF8("translated-plugin")); fromUTF8 152 Source/web/tests/WebPluginContainerTest.cpp WebPluginContainer* pluginContainerTwo = getWebPluginContainer(webView, WebString::fromUTF8("rotated-plugin")); fromUTF8 165 Source/web/tests/WebPluginContainerTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("plugin_container.html")); fromUTF8 174 Source/web/tests/WebPluginContainerTest.cpp WebElement pluginContainerOneElement = webView->mainFrame()->document().getElementById(WebString::fromUTF8("translated-plugin")); fromUTF8 68 Source/web/tests/WebSearchableFormDataTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "search_form.html"); fromUTF8 216 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); fromUTF8 301 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "visible_iframe.html"); fromUTF8 327 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "visible_iframe.html"); fromUTF8 472 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(htmlFile.c_str())); fromUTF8 491 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8(htmlFile.c_str())); fromUTF8 510 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 523 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("content_editable_populated.html")); fromUTF8 539 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 547 Source/web/tests/WebViewTest.cpp webView->setComposition(WebString::fromUTF8(compositionText.c_str()), emptyUnderlines, 3, 3); fromUTF8 563 Source/web/tests/WebViewTest.cpp webView->setComposition(WebString::fromUTF8(compositionText.c_str()), emptyUnderlines, 3, 3); fromUTF8 581 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("text_area_populated.html")); fromUTF8 606 Source/web/tests/WebViewTest.cpp webView->confirmComposition(WebString::fromUTF8(compositionText.c_str())); fromUTF8 617 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 634 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 661 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("text_area_populated.html")); fromUTF8 669 Source/web/tests/WebViewTest.cpp webView->confirmComposition(WebString::fromUTF8(newLineText.c_str())); fromUTF8 686 Source/web/tests/WebViewTest.cpp webView->confirmComposition(WebString::fromUTF8(compositionText.c_str())); fromUTF8 697 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 705 Source/web/tests/WebViewTest.cpp webView->confirmComposition(WebString::fromUTF8(compositionTextFirst.c_str())); fromUTF8 706 Source/web/tests/WebViewTest.cpp webView->setComposition(WebString::fromUTF8(compositionTextSecond.c_str()), emptyUnderlines, 5, 5); fromUTF8 759 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 775 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("hello_world.html")); fromUTF8 815 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("hello_world.html")); fromUTF8 859 Source/web/tests/WebViewTest.cpp item.stringData = WebString::fromUTF8(url); fromUTF8 872 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "foo.html"); fromUTF8 873 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "bar.html"); fromUTF8 960 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("content_listeners.html")); fromUTF8 968 Source/web/tests/WebViewTest.cpp WebString clickListener = WebString::fromUTF8("clickListener"); fromUTF8 969 Source/web/tests/WebViewTest.cpp WebString touchstartListener = WebString::fromUTF8("touchstartListener"); fromUTF8 970 Source/web/tests/WebViewTest.cpp WebString mousedownListener = WebString::fromUTF8("mousedownListener"); fromUTF8 971 Source/web/tests/WebViewTest.cpp WebString noListener = WebString::fromUTF8("noListener"); fromUTF8 972 Source/web/tests/WebViewTest.cpp WebString link = WebString::fromUTF8("link"); fromUTF8 1037 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("longpress_selection.html")); fromUTF8 1044 Source/web/tests/WebViewTest.cpp WebString target = WebString::fromUTF8("target"); fromUTF8 1045 Source/web/tests/WebViewTest.cpp WebString onselectstartfalse = WebString::fromUTF8("onselectstartfalse"); fromUTF8 1057 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("selection_disabled.html")); fromUTF8 1077 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("selection_readonly.html")); fromUTF8 1165 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 1194 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 1204 Source/web/tests/WebViewTest.cpp webView->setComposition(WebString::fromUTF8(compositionText.c_str()), emptyUnderlines, 0, compositionText.length()); fromUTF8 1222 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("input_field_populated.html")); fromUTF8 1243 Source/web/tests/WebViewTest.cpp EXPECT_EQ(WebString::fromUTF8("none"), document.getElementById("inputEvent").firstChild().nodeValue()); fromUTF8 1250 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("shadow_dom_test.html")); fromUTF8 1324 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "focusout_focusin_events.html"); fromUTF8 1337 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "domfocusout_domfocusin_events.html"); fromUTF8 1433 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), "focus_blur_events.html"); fromUTF8 1447 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("Ahem.ttf")); fromUTF8 1448 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("smartclip.html")); fromUTF8 1478 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload.html")); fromUTF8 1487 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload.html")); fromUTF8 1497 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload.html")); fromUTF8 1507 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload_wrapper.html")); fromUTF8 1508 Source/web/tests/WebViewTest.cpp URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(m_baseURL.c_str()), WebString::fromUTF8("add_frame_in_unload.html")); fromUTF8 160 Source/wtf/text/AtomicString.h static AtomicString fromUTF8(const char*, size_t); fromUTF8 161 Source/wtf/text/AtomicString.h static AtomicString fromUTF8(const char*); fromUTF8 233 Source/wtf/text/AtomicString.h inline AtomicString AtomicString::fromUTF8(const char* characters, size_t length) fromUTF8 242 Source/wtf/text/AtomicString.h inline AtomicString AtomicString::fromUTF8(const char* characters) fromUTF8 930 Source/wtf/text/WTFString.cpp return fromUTF8(string, strlen(reinterpret_cast<const char*>(string))); fromUTF8 935 Source/wtf/text/WTFString.cpp return fromUTF8(s.data()); fromUTF8 940 Source/wtf/text/WTFString.cpp String utf8 = fromUTF8(string, size); fromUTF8 409 Source/wtf/text/WTFString.h static String fromUTF8(const LChar*, size_t); fromUTF8 410 Source/wtf/text/WTFString.h static String fromUTF8(const LChar*); fromUTF8 411 Source/wtf/text/WTFString.h static String fromUTF8(const char* s, size_t length) { return fromUTF8(reinterpret_cast<const LChar*>(s), length); }; fromUTF8 412 Source/wtf/text/WTFString.h static String fromUTF8(const char* s) { return fromUTF8(reinterpret_cast<const LChar*>(s)); }; fromUTF8 413 Source/wtf/text/WTFString.h static String fromUTF8(const CString&); fromUTF8 135 Source/wtf/text/WTFStringTest.cpp testString = String::fromUTF8("résumé"); fromUTF8 140 Source/wtf/text/WTFStringTest.cpp testString = String::fromUTF8("résumé"); fromUTF8 145 Source/wtf/text/WTFStringTest.cpp testString = String::fromUTF8("résumé"); fromUTF8 257 Source/wtf/text/WTFStringTest.cpp String source = String::fromUTF8(testDataList[i].source); fromUTF8 310 Source/wtf/text/WTFStringTest.cpp String source = String::fromUTF8(testDataList[i].source); fromUTF8 25 public/platform/WebSerializedOrigin.h WebSerializedOrigin(const url::Origin& origin) : m_string(WebString::fromUTF8(origin.string())) { } fromUTF8 94 public/platform/WebString.h BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data, size_t length); fromUTF8 95 public/platform/WebString.h BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data); fromUTF8 97 public/platform/WebString.h static WebString fromUTF8(const std::string& s) fromUTF8 99 public/platform/WebString.h return fromUTF8(s.data(), s.length()); fromUTF8 113 public/platform/WebString.h assign(fromUTF8(data, N - 1)); fromUTF8 118 public/platform/WebString.h assign(fromUTF8(data, N - 1)); fromUTF8 110 public/platform/WebURL.h : m_string(WebString::fromUTF8(url.possibly_invalid_spec())) fromUTF8 118 public/platform/WebURL.h m_string = WebString::fromUTF8(url.possibly_invalid_spec());