/external/webkit/Source/WebCore/platform/graphics/android/ |
D | ImageSourceAndroid.cpp | 117 m_decoder.m_image = NULL; in ImageSource() 119 m_decoder.m_gifDecoder = 0; in ImageSource() 124 delete m_decoder.m_image; in ~ImageSource() 126 delete m_decoder.m_gifDecoder; in ~ImageSource() 133 m_decoder.m_gifDecoder || in initialized() 135 m_decoder.m_image != NULL; in initialized() 160 m_decoder.m_url.reset(); in clearURL() 165 m_decoder.m_url.setUTF16(url.characters(), url.length()); in setURL() 186 if (m_decoder.m_gifDecoder in setData() 187 && !m_decoder.m_gifDecoder->failed()) { in setData() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | ImageSource.cpp | 45 : m_decoder(0) in ImageSource() 59 if (m_decoder) in clear() 60 m_decoder->clearFrameBufferCache(clearBeforeFrame); in clear() 64 delete m_decoder; in clear() 65 m_decoder = 0; in clear() 72 return m_decoder; in initialized() 81 if (!m_decoder) { in setData() 82 …m_decoder = static_cast<NativeImageSourcePtr>(ImageDecoder::create(*data, m_alphaOption, m_gammaAn… in setData() 84 if (m_decoder && s_maxPixelsPerDecodedImage) in setData() 85 m_decoder->setMaxNumPixels(s_maxPixelsPerDecodedImage); in setData() [all …]
|
D | ImageSource.h | 221 NativeImageSourcePtr m_decoder;
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | ImageSourceCG.cpp | 72 : m_decoder(0) in ImageSource() 102 if (m_decoder) { in clear() 103 CFRelease(m_decoder); in clear() 104 m_decoder = 0; in clear() 126 return m_decoder; in initialized() 132 if (!m_decoder) in setData() 133 m_decoder = CGImageSourceCreateIncremental(0); in setData() 137 CGImageSourceUpdateData(m_decoder, cfData.get(), allDataReceived); in setData() 139 if (!m_decoder) { in setData() 140 m_decoder = CGImageSourceCreateIncremental(0); in setData() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
D | DecoderAdapter.cpp | 34 : m_decoder(buffer, bufferSize) in DecoderAdapter() 40 return m_decoder.decodeBytes(bytes); in decodeBytes() 45 return m_decoder.decodeBool(value); in decodeBool() 50 return m_decoder.decodeUInt32(value); in decodeUInt32() 55 return m_decoder.decodeUInt64(value); in decodeUInt64() 60 return m_decoder.decodeInt32(value); in decodeInt32() 65 return m_decoder.decodeInt64(value); in decodeInt64() 70 return m_decoder.decodeFloat(value); in decodeFloat() 75 return m_decoder.decodeDouble(value); in decodeDouble() 80 return m_decoder.decode(value); in decodeString()
|
D | DecoderAdapter.h | 50 CoreIPC::ArgumentDecoder m_decoder; variable
|
/external/webkit/Source/WebCore/loader/ |
D | DocumentWriter.cpp | 89 m_decoder = 0; in clear() 139 if (m_decoder) in begin() 140 document->setDecoder(m_decoder.get()); in begin() 157 if (!m_decoder) { in createDecoderIfNeeded() 159 m_decoder = TextResourceDecoder::create(m_mimeType, in createDecoderIfNeeded() 173 m_decoder->setHintEncoding(parentFrame->document()->decoder()); in createDecoderIfNeeded() 175 m_decoder = TextResourceDecoder::create(m_mimeType, String()); in createDecoderIfNeeded() 179 …m_decoder->setEncoding(parentFrame->document()->inputEncoding(), TextResourceDecoder::EncodingFrom… in createDecoderIfNeeded() 181 m_decoder->setEncoding(m_encoding, in createDecoderIfNeeded() 184 m_frame->document()->setDecoder(m_decoder.get()); in createDecoderIfNeeded() [all …]
|
D | DocumentWriter.h | 89 RefPtr<TextResourceDecoder> m_decoder; variable
|
/external/webkit/Source/WebCore/loader/cache/ |
D | CachedCSSStyleSheet.cpp | 42 , m_decoder(TextResourceDecoder::create("text/css", charset)) in CachedCSSStyleSheet() 56 c->setCSSStyleSheet(m_url, m_response.url(), m_decoder->encoding().name(), this); in didAddClient() 67 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding() 72 return m_decoder->encoding().name(); in encoding() 86 String sheetText = m_decoder->decode(m_data->data(), m_data->size()); in sheetText() 87 sheetText += m_decoder->flush(); in sheetText() 100 m_decodedSheetText = m_decoder->decode(m_data->data(), m_data->size()); in data() 101 m_decodedSheetText += m_decoder->flush(); in data() 116 c->setCSSStyleSheet(m_url, m_response.url(), m_decoder->encoding().name(), this); in checkNotify()
|
D | CachedXSLStyleSheet.cpp | 42 , m_decoder(TextResourceDecoder::create("text/xsl")) in CachedXSLStyleSheet() 57 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding() 62 return m_decoder->encoding().name(); in encoding() 73 m_sheet = String(m_decoder->decode(m_data->data(), encodedSize())); in data() 74 m_sheet += m_decoder->flush(); in data()
|
D | CachedScript.cpp | 45 , m_decoder(TextResourceDecoder::create("application/javascript", charset)) in CachedScript() 74 m_decoder->setEncoding(chs, TextResourceDecoder::EncodingFromHTTPHeader); in setEncoding() 79 return m_decoder->encoding().name(); in encoding() 87 m_script = m_decoder->decode(m_data->data(), encodedSize()); in script() 88 m_script += m_decoder->flush(); in script()
|
D | CachedXSLStyleSheet.h | 55 RefPtr<TextResourceDecoder> m_decoder; variable
|
D | CachedCSSStyleSheet.h | 61 RefPtr<TextResourceDecoder> m_decoder;
|
D | CachedScript.h | 69 RefPtr<TextResourceDecoder> m_decoder; variable
|
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/ |
D | JPEGImageDecoder.cpp | 117 : m_decoder(decoder) in JPEGImageReader() 200 return m_decoder->setFailed(); in decode() 215 m_decoder->setIgnoreGammaAndColorProfile(true); in decode() 230 m_decoder->setIgnoreGammaAndColorProfile(true); in decode() 233 return m_decoder->setFailed(); in decode() 252 if (!m_decoder->setSize(m_info.image_width, m_info.image_height)) in decode() 255 if (!m_decoder->ignoresGammaAndColorProfile()) in decode() 256 m_decoder->setColorProfile(readColorProfile(info())); in decode() 288 if (!m_decoder->outputScanlines()) in decode() 321 if (!m_decoder->outputScanlines()) { in decode() [all …]
|
/external/webkit/Source/WebCore/workers/ |
D | WorkerScriptLoader.cpp | 121 if (!m_decoder) { in didReceiveData() 123 m_decoder = TextResourceDecoder::create("text/javascript", m_responseEncoding); in didReceiveData() 125 m_decoder = TextResourceDecoder::create("text/javascript", "UTF-8"); in didReceiveData() 134 m_script += m_decoder->decode(data, len); in didReceiveData() 142 if (m_decoder) in didFinishLoading() 143 m_script += m_decoder->flush(); in didFinishLoading()
|
D | WorkerScriptLoader.h | 74 RefPtr<TextResourceDecoder> m_decoder; variable
|
/external/webkit/Source/WebCore/platform/image-decoders/webp/ |
D | WEBPImageDecoder.cpp | 41 , m_decoder(0) in WEBPImageDecoder() 119 if (!m_decoder) { in decode() 120 m_decoder = WebPINewRGB(MODE_RGB, m_rgbOutput.data(), m_rgbOutput.size(), stride); in decode() 121 if (!m_decoder) in decode() 124 const VP8StatusCode status = WebPIUpdate(m_decoder, dataBytes, dataSize); in decode() 127 if (!WebPIDecGetRGB(m_decoder, &newLastVisibleRow, 0, 0, 0)) in decode()
|
D | WEBPImageDecoder.h | 53 …WebPIDecoder* m_decoder; // This is only used when we want to decode() but not all data is availab… variable
|
/external/webkit/Source/WebCore/fileapi/ |
D | FileReaderLoader.cpp | 280 if (!m_decoder) in convertToText() 281 …m_decoder = TextResourceDecoder::create("text/plain", m_encoding.isValid() ? m_encoding : UTF8Enco… in convertToText() 282 builder.append(m_decoder->decode(static_cast<const char*>(m_rawData->data()), m_bytesLoaded)); in convertToText() 285 builder.append(m_decoder->flush()); in convertToText()
|
D | FileReaderLoader.h | 108 RefPtr<TextResourceDecoder> m_decoder; variable
|
/external/webkit/Source/WebCore/xml/ |
D | XMLHttpRequest.cpp | 716 m_decoder = 0; in internalAbort() 988 if (m_decoder) in didFinishLoading() 989 m_responseBuilder.append(m_decoder->flush()); in didFinishLoading() 1003 m_decoder = 0; in didFinishLoading() 1047 if (useDecoder && !m_decoder) { in didReceiveData() 1049 m_decoder = TextResourceDecoder::create("text/plain", m_responseEncoding); in didReceiveData() 1052 m_decoder = TextResourceDecoder::create("application/xml"); in didReceiveData() 1054 m_decoder->useLenientXMLDecoding(); in didReceiveData() 1056 m_decoder = TextResourceDecoder::create("text/html", "UTF-8"); in didReceiveData() 1058 m_decoder = TextResourceDecoder::create("text/plain", "UTF-8"); in didReceiveData() [all …]
|
D | XMLHttpRequest.h | 200 RefPtr<TextResourceDecoder> m_decoder; variable
|
/external/webkit/Source/WebCore/page/ |
D | EventSource.cpp | 63 , m_decoder(TextResourceDecoder::create("text/plain", "UTF-8")) in EventSource() 222 append(m_receiveBuf, m_decoder->decode(data, length)); in didReceiveData()
|
D | EventSource.h | 110 RefPtr<TextResourceDecoder> m_decoder; variable
|