Home
last modified time | relevance | path

Searched refs:TextResourceDecoder (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/Source/WebCore/loader/
DTextResourceDecoder.h32 class TextResourceDecoder : public RefCounted<TextResourceDecoder> {
45 …static PassRefPtr<TextResourceDecoder> create(const String& mimeType, const TextEncoding& defaultE…
47 return adoptRef(new TextResourceDecoder(mimeType, defaultEncoding, usesEncodingDetector));
49 ~TextResourceDecoder();
57 void setHintEncoding(const TextResourceDecoder* hintDecoder) in setHintEncoding()
69 TextResourceDecoder(const String& mimeType, const TextEncoding& defaultEncoding,
DDocumentWriter.h40 class TextResourceDecoder; variable
70 void setDecoder(TextResourceDecoder*);
73 TextResourceDecoder* createDecoderIfNeeded();
89 RefPtr<TextResourceDecoder> m_decoder;
DTextResourceDecoder.cpp282 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType) in determineContentType()
293 const TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const TextEncodin… in defaultEncoding()
304 TextResourceDecoder::TextResourceDecoder(const String& mimeType, const TextEncoding& specifiedDefau… in TextResourceDecoder() function in WebCore::TextResourceDecoder
318 TextResourceDecoder::~TextResourceDecoder() in ~TextResourceDecoder()
322 void TextResourceDecoder::setEncoding(const TextEncoding& encoding, EncodingSource source) in setEncoding()
389 size_t TextResourceDecoder::checkForBOM(const char* data, size_t len) in checkForBOM()
434 bool TextResourceDecoder::checkForCSSCharset(const char* data, size_t len, bool& movedDataToBuffer) in checkForCSSCharset()
515 bool TextResourceDecoder::checkForHeadCharset(const char* data, size_t len, bool& movedDataToBuffer) in checkForHeadCharset()
578 bool TextResourceDecoder::checkForMetaCharset(const char* data, size_t length) in checkForMetaCharset()
589 void TextResourceDecoder::detectJapaneseEncoding(const char* data, size_t len) in detectJapaneseEncoding()
[all …]
DDocumentWriter.cpp155 TextResourceDecoder* DocumentWriter::createDecoderIfNeeded() in createDecoderIfNeeded()
159 m_decoder = TextResourceDecoder::create(m_mimeType, in createDecoderIfNeeded()
175 m_decoder = TextResourceDecoder::create(m_mimeType, String()); in createDecoderIfNeeded()
179 …m_decoder->setEncoding(parentFrame->document()->inputEncoding(), TextResourceDecoder::EncodingFrom… in createDecoderIfNeeded()
182 …m_encodingWasChosenByUser ? TextResourceDecoder::UserChosenEncoding : TextResourceDecoder::Encodin… in createDecoderIfNeeded()
248 void DocumentWriter::setDecoder(TextResourceDecoder* decoder) in setDecoder()
/external/webkit/Source/WebCore/loader/cache/
DCachedXSLStyleSheet.h35 class TextResourceDecoder; variable
55 RefPtr<TextResourceDecoder> m_decoder;
DCachedCSSStyleSheet.h36 class TextResourceDecoder; variable
61 RefPtr<TextResourceDecoder> m_decoder;
DCachedScript.h41 class TextResourceDecoder; variable
69 RefPtr<TextResourceDecoder> m_decoder;
DCachedXSLStyleSheet.cpp42 , m_decoder(TextResourceDecoder::create("text/xsl")) in CachedXSLStyleSheet()
57 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding()
DCachedCSSStyleSheet.cpp42 , m_decoder(TextResourceDecoder::create("text/css", charset)) in CachedCSSStyleSheet()
67 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding()
DCachedScript.cpp45 , m_decoder(TextResourceDecoder::create("application/javascript", charset)) in CachedScript()
74 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding()
DCachedFont.cpp135 RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); in ensureSVGFontData()
/external/webkit/Source/WebCore/xml/
DXSLTProcessor.cpp91 RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create(sourceMIMEType); in createDocumentFromSource()
92 …ncoding.isEmpty() ? UTF8Encoding() : TextEncoding(sourceEncoding), TextResourceDecoder::EncodingFr… in createDocumentFromSource()
DXMLHttpRequest.h43 class TextResourceDecoder; variable
200 RefPtr<TextResourceDecoder> m_decoder;
DXMLHttpRequest.cpp1049 m_decoder = TextResourceDecoder::create("text/plain", m_responseEncoding); in didReceiveData()
1052 m_decoder = TextResourceDecoder::create("application/xml"); in didReceiveData()
1056 m_decoder = TextResourceDecoder::create("text/html", "UTF-8"); in didReceiveData()
1058 m_decoder = TextResourceDecoder::create("text/plain", "UTF-8"); in didReceiveData()
/external/webkit/Source/WebCore/fileapi/
DFileReaderLoader.h49 class TextResourceDecoder; variable
108 RefPtr<TextResourceDecoder> m_decoder;
DFileReaderLoader.cpp281 …m_decoder = TextResourceDecoder::create("text/plain", m_encoding.isValid() ? m_encoding : UTF8Enco… in convertToText()
/external/webkit/Source/WebCore/page/
DEventSource.h50 class TextResourceDecoder; variable
110 RefPtr<TextResourceDecoder> m_decoder;
DEventSource.cpp63 , m_decoder(TextResourceDecoder::create("text/plain", "UTF-8")) in EventSource()
/external/webkit/Source/WebCore/workers/
DWorkerScriptLoader.cpp123 m_decoder = TextResourceDecoder::create("text/javascript", m_responseEncoding); in didReceiveData()
125 m_decoder = TextResourceDecoder::create("text/javascript", "UTF-8"); in didReceiveData()
DWorkerScriptLoader.h74 RefPtr<TextResourceDecoder> m_decoder;
/external/webkit/Source/WebCore/loader/appcache/
DManifestParser.cpp50 … RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("text/cache-manifest", "UTF-8"); in parseManifest()
/external/webkit/Source/WebCore/platform/haiku/
DPasteboardHaiku.cpp168 … RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("text/plain", "UTF-8", true); in documentFragment()
/external/webkit/Source/WebCore/dom/
DDecodedDataDocumentParser.cpp45 TextResourceDecoder* decoder = writer->createDecoderIfNeeded(); in appendBytes()
DDocument.h122 class TextResourceDecoder; variable
983 void setDecoder(PassRefPtr<TextResourceDecoder>);
984 TextResourceDecoder* decoder() const { return m_decoder.get(); } in decoder()
1329 RefPtr<TextResourceDecoder> m_decoder;
/external/webkit/Source/WebKit/win/
DWebHTMLRepresentation.cpp306 WebCore::TextResourceDecoder* decoder = doc->decoder(); in documentSource()

12