charset 4 LayoutTests/http/tests/inspector/network/resources/plugin-data.php $charset = $_GET["charset"]; charset 9 LayoutTests/http/tests/inspector/network/resources/plugin-data.php if ($charset) charset 10 LayoutTests/http/tests/inspector/network/resources/plugin-data.php header("Content-Type: " . $mimetype . "; charset=" . $charset); charset 2 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $charset = $_GET["charset"]; charset 3 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $intCharset = intval($charset); charset 5 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $charset = "windows-" . $intCharset; charset 8 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php $contentTypeHeader .= "; charset=" . $charset; charset 11 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php switch ($charset) { charset 29 LayoutTests/http/tests/inspector/resources/load-resource-synchronously-encoding.php echo $charset . ": " . $text; charset 2 LayoutTests/http/tests/misc/resources/bad-charset-alias.php echo '<meta charset="' . $_GET['charset'] . '">'; charset 4 LayoutTests/http/tests/misc/resources/bad-charset-alias.php echo '<p id=charset>' . $_GET['charset'] . '</p>'; charset 8 LayoutTests/http/tests/workers/resources/worker-encoded.php $charset=$_GET['charset']; charset 9 LayoutTests/http/tests/workers/resources/worker-encoded.php if ($charset == "koi8-r") { charset 8 LayoutTests/http/tests/workers/resources/xhr-response.php $charset=$_GET['charset']; charset 9 LayoutTests/http/tests/workers/resources/xhr-response.php if ($charset == "koi8-r") { charset 43 Source/core/css/CSSParserMode.cpp CSSParserContext::CSSParserContext(const Document& document, UseCounter* useCounter, const KURL& baseURL, const String& charset) charset 45 Source/core/css/CSSParserMode.cpp , m_charset(charset) charset 82 Source/core/css/CSSParserMode.cpp if (charset().isEmpty()) charset 84 Source/core/css/CSSParserMode.cpp return KURL(baseURL(), url, charset()); charset 99 Source/core/css/CSSParserMode.h CSSParserContext(const Document&, UseCounter*, const KURL& baseURL = KURL(), const String& charset = emptyString()); charset 109 Source/core/css/CSSParserMode.h const String& charset() const { return m_charset; } charset 121 Source/core/css/CSSParserMode.h void setCharset(const String& charset) { m_charset = charset; } charset 70 Source/core/css/StyleRuleImport.cpp void StyleRuleImport::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* cachedStyleSheet) charset 76 Source/core/css/StyleRuleImport.cpp context.setCharset(charset); charset 127 Source/core/css/StyleRuleImport.cpp FetchRequest request(ResourceRequest(absURL), FetchInitiatorTypeNames::css, m_parentStyleSheet->charset()); charset 65 Source/core/css/StyleRuleImport.h virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* sheet) OVERRIDE charset 67 Source/core/css/StyleRuleImport.h m_ownerRule->setCSSStyleSheet(href, baseURL, charset, sheet); charset 73 Source/core/css/StyleRuleImport.h void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*); charset 85 Source/core/css/StyleSheetContents.h const String& charset() const { return m_parserContext.charset(); } charset 1121 Source/core/dom/Document.cpp void Document::setCharset(const String& charset) charset 1124 Source/core/dom/Document.cpp documentLoader->setUserChosenEncoding(charset); charset 1125 Source/core/dom/Document.cpp WTF::TextEncoding encoding(charset); charset 350 Source/core/dom/Document.h AtomicString charset() const { return Document::encodingName(); } charset 131 Source/core/dom/ProcessingInstruction.cpp String charset = attrs.get("charset"); charset 132 Source/core/dom/ProcessingInstruction.cpp if (charset.isEmpty()) charset 133 Source/core/dom/ProcessingInstruction.cpp charset = document().charset(); charset 134 Source/core/dom/ProcessingInstruction.cpp request.setCharset(charset); charset 165 Source/core/dom/ProcessingInstruction.cpp void ProcessingInstruction::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* sheet) charset 173 Source/core/dom/ProcessingInstruction.cpp CSSParserContext parserContext(document(), 0, baseURL, charset); charset 65 Source/core/dom/ProcessingInstruction.h virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) OVERRIDE; charset 216 Source/core/dom/ScriptLoader.cpp m_characterEncoding = elementDocument.charset(); charset 41 Source/core/fetch/CSSStyleSheetResource.cpp CSSStyleSheetResource::CSSStyleSheetResource(const ResourceRequest& resourceRequest, const String& charset) charset 43 Source/core/fetch/CSSStyleSheetResource.cpp , m_decoder(TextResourceDecoder::create("text/css", charset)) charset 42 Source/core/fetch/CSSStyleSheetResource.h CSSStyleSheetResource(const ResourceRequest&, const String& charset); charset 34 Source/core/fetch/FetchRequest.cpp FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicString& initiator, const String& charset, ResourceLoadPriority priority) charset 36 Source/core/fetch/FetchRequest.cpp , m_charset(charset) charset 44 Source/core/fetch/FetchRequest.h explicit FetchRequest(const ResourceRequest&, const AtomicString& initiator, const String& charset = String(), ResourceLoadPriority = ResourceLoadPriorityUnresolved); charset 52 Source/core/fetch/FetchRequest.h const String& charset() const { return m_charset; } charset 53 Source/core/fetch/FetchRequest.h void setCharset(const String& charset) { m_charset = charset; } charset 76 Source/core/fetch/ResourceFetcher.cpp static Resource* createResource(Resource::Type type, const ResourceRequest& request, const String& charset) charset 82 Source/core/fetch/ResourceFetcher.cpp return new CSSStyleSheetResource(request, charset); charset 84 Source/core/fetch/ResourceFetcher.cpp return new ScriptResource(request, charset); charset 153 Source/core/fetch/ResourceFetcher.cpp blink::WebString charset; charset 154 Source/core/fetch/ResourceFetcher.cpp RefPtr<SharedBuffer> data = PassRefPtr<SharedBuffer>(blink::Platform::current()->parseDataURL(url, mimetype, charset)); charset 157 Source/core/fetch/ResourceFetcher.cpp ResourceResponse response(url, mimetype, data->size(), charset, String()); charset 159 Source/core/fetch/ResourceFetcher.cpp Resource* resource = createResource(Resource::Image, request, charset); charset 605 Source/core/fetch/ResourceFetcher.cpp WTF_LOG(ResourceLoading, "ResourceFetcher::requestResource '%s', charset '%s', priority=%d, forPreload=%u, type=%s", url.elidedString().latin1().data(), request.charset().latin1().data(), request.priority(), request.forPreload(), ResourceTypeName(type)); charset 628 Source/core/fetch/ResourceFetcher.cpp resource = loadResource(type, request, request.charset()); charset 812 Source/core/fetch/ResourceFetcher.cpp ResourcePtr<Resource> ResourceFetcher::loadResource(Resource::Type type, FetchRequest& request, const String& charset) charset 819 Source/core/fetch/ResourceFetcher.cpp ResourcePtr<Resource> resource = createResource(type, request.mutableResourceRequest(), charset); charset 1116 Source/core/fetch/ResourceFetcher.cpp void ResourceFetcher::preload(Resource::Type type, FetchRequest& request, const String& charset) charset 1118 Source/core/fetch/ResourceFetcher.cpp requestPreload(type, request, charset); charset 1121 Source/core/fetch/ResourceFetcher.cpp void ResourceFetcher::requestPreload(Resource::Type type, FetchRequest& request, const String& charset) charset 1125 Source/core/fetch/ResourceFetcher.cpp encoding = charset.isEmpty() ? m_document->charset().string() : charset; charset 127 Source/core/fetch/ResourceFetcher.h void preload(Resource::Type, FetchRequest&, const String& charset); charset 167 Source/core/fetch/ResourceFetcher.h ResourcePtr<Resource> loadResource(Resource::Type, FetchRequest&, const String& charset); charset 171 Source/core/fetch/ResourceFetcher.h void requestPreload(Resource::Type, FetchRequest&, const String& charset); charset 37 Source/core/fetch/ScriptResource.cpp ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const String& charset) charset 39 Source/core/fetch/ScriptResource.cpp , m_decoder(TextResourceDecoder::create("application/javascript", charset)) charset 40 Source/core/fetch/ScriptResource.h ScriptResource(const ResourceRequest&, const String& charset); charset 454 Source/core/html/HTMLLinkElement.cpp void LinkStyle::setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* cachedStyleSheet) charset 464 Source/core/html/HTMLLinkElement.cpp CSSParserContext parserContext(m_owner->document(), 0, baseURL, charset); charset 88 Source/core/html/HTMLLinkElement.h virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) OVERRIDE; charset 70 Source/core/html/LinkResource.cpp m_charset = m_owner->document().charset(); charset 71 Source/core/html/LinkResource.h const AtomicString& charset() const { return m_charset; } charset 326 Source/core/html/parser/HTMLParserIdioms.cpp String charset; charset 335 Source/core/html/parser/HTMLParserIdioms.cpp } else if (charset.isEmpty()) { charset 337 Source/core/html/parser/HTMLParserIdioms.cpp charset = attributeValue; charset 340 Source/core/html/parser/HTMLParserIdioms.cpp charset = extractCharset(attributeValue); charset 341 Source/core/html/parser/HTMLParserIdioms.cpp if (charset.length()) charset 348 Source/core/html/parser/HTMLParserIdioms.cpp return WTF::TextEncoding(stripLeadingAndTrailingHTMLSpaces(charset)); charset 157 Source/core/html/parser/HTMLPreloadScanner.cpp request->setCharset(charset()); charset 77 Source/core/html/parser/HTMLResourcePreloader.cpp m_document->fetcher()->preload(preload->resourceType(), request, preload->charset()); charset 47 Source/core/html/parser/HTMLResourcePreloader.h const String& charset() const { return m_charset; } charset 49 Source/core/html/parser/HTMLResourcePreloader.h void setCharset(const String& charset) { m_charset = charset.isolatedCopy(); } charset 819 Source/core/loader/DocumentLoader.cpp void DocumentLoader::setUserChosenEncoding(const String& charset) charset 822 Source/core/loader/DocumentLoader.cpp m_writer->setUserChosenEncoding(charset); charset 87 Source/core/loader/DocumentLoader.h void setUserChosenEncoding(const String& charset); charset 124 Source/core/loader/DocumentWriter.cpp void DocumentWriter::setUserChosenEncoding(const String& charset) charset 128 Source/core/loader/DocumentWriter.cpp decoder->setEncoding(charset, TextResourceDecoder::UserChosenEncoding); charset 67 Source/core/loader/DocumentWriter.h void setUserChosenEncoding(const String& charset); charset 232 Source/core/page/EventSource.cpp const String& charset = response.textEncodingName(); charset 234 Source/core/page/EventSource.cpp responseIsValid = charset.isEmpty() || equalIgnoringCase(charset, "UTF-8"); charset 238 Source/core/page/EventSource.cpp message.append(charset); charset 143 Source/core/page/PageSerializer.cpp out.append(m_document.charset()); charset 204 Source/core/page/PageSerializer.cpp WTF::TextEncoding textEncoding(document.charset()); charset 287 Source/core/page/PageSerializer.cpp WTF::TextEncoding textEncoding(styleSheet->contents()->charset()); charset 14 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java import java.nio.charset.StandardCharsets; charset 378 Source/modules/filesystem/InspectorFileSystemAgent.cpp static PassRefPtr<FileContentRequest> create(PassRefPtr<RequestFileContentCallback> requestCallback, const String& url, bool readAsText, long long start, long long end, const String& charset) charset 380 Source/modules/filesystem/InspectorFileSystemAgent.cpp return adoptRef(new FileContentRequest(requestCallback, url, readAsText, start, end, charset)); charset 414 Source/modules/filesystem/InspectorFileSystemAgent.cpp void reportResult(FileError::ErrorCode errorCode, const String* result = 0, const String* charset = 0) charset 416 Source/modules/filesystem/InspectorFileSystemAgent.cpp m_requestCallback->sendSuccess(static_cast<int>(errorCode), result, charset); charset 419 Source/modules/filesystem/InspectorFileSystemAgent.cpp FileContentRequest(PassRefPtr<RequestFileContentCallback> requestCallback, const String& url, bool readAsText, long long start, long long end, const String& charset) charset 426 Source/modules/filesystem/InspectorFileSystemAgent.cpp , m_charset(charset) { } charset 660 Source/modules/filesystem/InspectorFileSystemAgent.cpp void InspectorFileSystemAgent::requestFileContent(ErrorString* error, const String& url, bool readAsText, const int* start, const int* end, const String* charset, PassRefPtr<RequestFileContentCallback> requestCallback) charset 671 Source/modules/filesystem/InspectorFileSystemAgent.cpp FileContentRequest::create(requestCallback, url, readAsText, startPosition, endPosition, charset ? *charset : "")->start(executionContext); charset 55 Source/modules/filesystem/InspectorFileSystemAgent.h virtual void requestFileContent(ErrorString*, const String& url, bool readAsText, const int* start, const int* end, const String* charset, PassRefPtr<RequestFileContentCallback>) OVERRIDE; charset 135 Source/platform/mhtml/MHTMLParser.cpp mimeHeader->m_charset = parsedContentType.charset().stripWhiteSpace(); charset 364 Source/platform/mhtml/MHTMLParser.cpp return ArchiveResource::create(contentBuffer, location, AtomicString(mimeHeader.contentType()), AtomicString(mimeHeader.charset()), String()); charset 51 Source/platform/network/ParsedContentType.h String charset() const; charset 59 Source/web/WebCachedURLRequest.cpp return WebString(m_private->charset()); charset 251 Source/web/WebPageSerializer.cpp WebString WebPageSerializer::generateMetaCharsetDeclaration(const WebString& charset) charset 253 Source/web/WebPageSerializer.cpp String charsetString = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" + static_cast<const String&>(charset) + "\">"; charset 327 public/platform/Platform.h virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString& charset) { return WebData(); } charset 52 public/web/WebCachedURLRequest.h BLINK_EXPORT WebString charset() const; charset 111 public/web/WebPageSerializer.h BLINK_EXPORT static WebString generateMetaCharsetDeclaration(const WebString& charset);