decoder 45 Source/core/dom/DecodedDataDocumentParser.cpp void DecodedDataDocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder> decoder) decoder 50 Source/core/dom/DecodedDataDocumentParser.cpp m_needsDecoder = !decoder; decoder 51 Source/core/dom/DecodedDataDocumentParser.cpp m_decoder = decoder; decoder 47 Source/core/dom/DecodedDataDocumentParser.h virtual TextResourceDecoder* decoder() OVERRIDE FINAL; decoder 44 Source/core/dom/DocumentEncodingData.cpp DocumentEncodingData::DocumentEncodingData(const TextResourceDecoder& decoder) decoder 46 Source/core/dom/DocumentEncodingData.cpp m_encoding = decoder.encoding(); decoder 47 Source/core/dom/DocumentEncodingData.cpp m_wasDetectedHeuristically = decoder.encodingWasDetectedHeuristically(); decoder 48 Source/core/dom/DocumentEncodingData.cpp m_sawDecodingError = decoder.sawError(); decoder 56 Source/core/dom/DocumentParser.h virtual TextResourceDecoder* decoder(); decoder 117 Source/core/fetch/FontResource.cpp OwnPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); decoder 118 Source/core/fetch/FontResource.cpp String svgSource = decoder->decode(m_data->data(), m_data->size()); decoder 119 Source/core/fetch/FontResource.cpp svgSource = svgSource + decoder->flush(); decoder 123 Source/core/fetch/FontResource.cpp if (decoder->sawError()) decoder 95 Source/core/html/parser/BackgroundHTMLParser.cpp , m_decoder(config->decoder.release()) decoder 122 Source/core/html/parser/BackgroundHTMLParser.cpp void BackgroundHTMLParser::setDecoder(PassOwnPtr<TextResourceDecoder> decoder) decoder 124 Source/core/html/parser/BackgroundHTMLParser.cpp ASSERT(decoder); decoder 125 Source/core/html/parser/BackgroundHTMLParser.cpp m_decoder = decoder; decoder 53 Source/core/html/parser/BackgroundHTMLParser.h OwnPtr<TextResourceDecoder> decoder; decoder 712 Source/core/html/parser/HTMLDocumentParser.cpp config->decoder = takeDecoder(); decoder 1034 Source/core/html/parser/HTMLDocumentParser.cpp void HTMLDocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder> decoder) decoder 1036 Source/core/html/parser/HTMLDocumentParser.cpp ASSERT(decoder); decoder 1037 Source/core/html/parser/HTMLDocumentParser.cpp DecodedDataDocumentParser::setDecoder(decoder); decoder 174 Source/core/inspector/InspectorPageAgent.cpp OwnPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); decoder 175 Source/core/inspector/InspectorPageAgent.cpp decoder->useLenientXMLDecoding(); decoder 176 Source/core/inspector/InspectorPageAgent.cpp return decoder.release(); decoder 220 Source/core/inspector/InspectorPageAgent.cpp OwnPtr<TextResourceDecoder> decoder = createXHRTextDecoder(cachedResource->response().mimeType(), cachedResource->response().textEncodingName()); decoder 221 Source/core/inspector/InspectorPageAgent.cpp String content = decoder->decode(buffer->data(), buffer->size()); decoder 222 Source/core/inspector/InspectorPageAgent.cpp *result = content + decoder->flush(); decoder 161 Source/core/inspector/NetworkResourcesData.cpp OwnPtr<TextResourceDecoder> decoder; decoder 163 Source/core/inspector/NetworkResourcesData.cpp decoder = TextResourceDecoder::create("text/plain", textEncodingName); decoder 165 Source/core/inspector/NetworkResourcesData.cpp decoder = TextResourceDecoder::create("application/xml"); decoder 166 Source/core/inspector/NetworkResourcesData.cpp decoder->useLenientXMLDecoding(); decoder 168 Source/core/inspector/NetworkResourcesData.cpp decoder = TextResourceDecoder::create("text/html", "UTF-8"); decoder 170 Source/core/inspector/NetworkResourcesData.cpp decoder = TextResourceDecoder::create("text/plain", "UTF-8"); decoder 172 Source/core/inspector/NetworkResourcesData.cpp decoder = TextResourceDecoder::create("text/plain", "ISO-8859-1"); decoder 174 Source/core/inspector/NetworkResourcesData.cpp return decoder.release(); decoder 229 Source/core/inspector/NetworkResourcesData.cpp if (!resourceData->decoder()) decoder 114 Source/core/inspector/NetworkResourcesData.h TextResourceDecoder* decoder() const { return m_decoder.get(); } decoder 115 Source/core/inspector/NetworkResourcesData.h void setDecoder(PassOwnPtr<TextResourceDecoder> decoder) { m_decoder = decoder; } decoder 88 Source/core/loader/DocumentWriter.cpp OwnPtr<TextResourceDecoder> decoder = m_decoderBuilder.buildFor(m_document); decoder 89 Source/core/loader/DocumentWriter.cpp m_parser->setDecoder(decoder.release()); decoder 109 Source/core/loader/DocumentWriter.cpp OwnPtr<TextResourceDecoder> decoder = m_decoderBuilder.buildFor(m_document); decoder 110 Source/core/loader/DocumentWriter.cpp m_parser->setDecoder(decoder.release()); decoder 126 Source/core/loader/DocumentWriter.cpp TextResourceDecoder* decoder = m_parser->decoder(); decoder 127 Source/core/loader/DocumentWriter.cpp if (decoder) decoder 128 Source/core/loader/DocumentWriter.cpp decoder->setEncoding(charset, TextResourceDecoder::UserChosenEncoding); decoder 69 Source/core/loader/TextResourceDecoderBuilder.cpp inline void TextResourceDecoderBuilder::setupEncoding(TextResourceDecoder* decoder, Document* document) decoder 75 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setEncoding(m_encoding.string(), m_encodingWasChosenByUser ? TextResourceDecoder::UserChosenEncoding : TextResourceDecoder::EncodingFromHTTPHeader); decoder 88 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setHintEncoding(parentFrame->document()->encoding()); decoder 91 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setEncoding(parentFrame->document()->inputEncoding().string(), TextResourceDecoder::EncodingFromParentFrame); decoder 97 Source/core/loader/TextResourceDecoderBuilder.cpp OwnPtr<TextResourceDecoder> decoder = createDecoderInstance(document); decoder 98 Source/core/loader/TextResourceDecoderBuilder.cpp setupEncoding(decoder.get(), document); decoder 99 Source/core/loader/TextResourceDecoderBuilder.cpp return decoder.release(); decoder 492 Source/modules/filesystem/InspectorFileSystemAgent.cpp OwnPtr<TextResourceDecoder> decoder = TextResourceDecoder::create(m_mimeType, m_charset, true); decoder 493 Source/modules/filesystem/InspectorFileSystemAgent.cpp String result = decoder->decode(static_cast<char*>(buffer->data()), buffer->byteLength()); decoder 494 Source/modules/filesystem/InspectorFileSystemAgent.cpp result = result + decoder->flush(); decoder 495 Source/modules/filesystem/InspectorFileSystemAgent.cpp m_charset = decoder->encoding().name(); decoder 54 Source/platform/exported/WebImageSkia.cpp OwnPtr<ImageDecoder> decoder(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored)); decoder 55 Source/platform/exported/WebImageSkia.cpp if (!decoder) decoder 58 Source/platform/exported/WebImageSkia.cpp decoder->setData(buffer.get(), true); decoder 59 Source/platform/exported/WebImageSkia.cpp if (!decoder->isSizeAvailable()) decoder 65 Source/platform/exported/WebImageSkia.cpp const size_t frameCount = decoder->frameCount(); decoder 69 Source/platform/exported/WebImageSkia.cpp const IntSize frameSize = decoder->frameSizeAtIndex(i); decoder 85 Source/platform/exported/WebImageSkia.cpp ImageFrame* frame = decoder->frameBufferAtIndex(index); decoder 102 Source/platform/exported/WebImageSkia.cpp OwnPtr<ImageDecoder> decoder(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored)); decoder 103 Source/platform/exported/WebImageSkia.cpp if (!decoder) decoder 106 Source/platform/exported/WebImageSkia.cpp decoder->setData(buffer.get(), true); decoder 107 Source/platform/exported/WebImageSkia.cpp if (!decoder->isSizeAvailable()) decoder 112 Source/platform/exported/WebImageSkia.cpp const size_t frameCount = decoder->frameCount(); decoder 117 Source/platform/exported/WebImageSkia.cpp const IntSize frameSize = decoder->frameSizeAtIndex(i); decoder 122 Source/platform/exported/WebImageSkia.cpp ImageFrame* frame = decoder->frameBufferAtIndex(i); decoder 70 Source/platform/graphics/DeferredImageDecoder.cpp PassOwnPtr<DeferredImageDecoder> DeferredImageDecoder::createForTesting(PassOwnPtr<ImageDecoder> decoder) decoder 72 Source/platform/graphics/DeferredImageDecoder.cpp return adoptPtr(new DeferredImageDecoder(decoder)); decoder 76 Source/platform/graphics/DeferredImageDecoderTest.cpp OwnPtr<MockImageDecoder> decoder = MockImageDecoder::create(this); decoder 77 Source/platform/graphics/DeferredImageDecoderTest.cpp m_actualDecoder = decoder.get(); decoder 79 Source/platform/graphics/DeferredImageDecoderTest.cpp m_lazyDecoder = DeferredImageDecoder::createForTesting(decoder.release()); decoder 164 Source/platform/graphics/ImageDecodingStore.cpp bool ImageDecodingStore::lockDecoder(const ImageFrameGenerator* generator, const SkISize& scaledSize, ImageDecoder** decoder) decoder 166 Source/platform/graphics/ImageDecodingStore.cpp ASSERT(decoder); decoder 178 Source/platform/graphics/ImageDecodingStore.cpp *decoder = cacheEntry->cachedDecoder(); decoder 182 Source/platform/graphics/ImageDecodingStore.cpp void ImageDecodingStore::unlockDecoder(const ImageFrameGenerator* generator, const ImageDecoder* decoder) decoder 185 Source/platform/graphics/ImageDecodingStore.cpp DecoderCacheMap::iterator iter = m_decoderCacheMap.find(DecoderCacheEntry::makeCacheKey(generator, decoder)); decoder 196 Source/platform/graphics/ImageDecodingStore.cpp void ImageDecodingStore::insertDecoder(const ImageFrameGenerator* generator, PassOwnPtr<ImageDecoder> decoder, bool isDiscardable) decoder 201 Source/platform/graphics/ImageDecodingStore.cpp OwnPtr<DecoderCacheEntry> newCacheEntry = DecoderCacheEntry::create(generator, decoder, isDiscardable); decoder 208 Source/platform/graphics/ImageDecodingStore.cpp void ImageDecodingStore::removeDecoder(const ImageFrameGenerator* generator, const ImageDecoder* decoder) decoder 213 Source/platform/graphics/ImageDecodingStore.cpp DecoderCacheMap::iterator iter = m_decoderCacheMap.find(DecoderCacheEntry::makeCacheKey(generator, decoder)); decoder 227 Source/platform/graphics/ImageDecodingStore.h static PassOwnPtr<DecoderCacheEntry> create(const ImageFrameGenerator* generator, PassOwnPtr<ImageDecoder> decoder, bool isDiscardable) decoder 229 Source/platform/graphics/ImageDecodingStore.h return adoptPtr(new DecoderCacheEntry(generator, 0, decoder, isDiscardable)); decoder 232 Source/platform/graphics/ImageDecodingStore.h DecoderCacheEntry(const ImageFrameGenerator* generator, int count, PassOwnPtr<ImageDecoder> decoder, bool isDiscardable) decoder 234 Source/platform/graphics/ImageDecodingStore.h , m_cachedDecoder(decoder) decoder 246 Source/platform/graphics/ImageDecodingStore.h static DecoderCacheKey makeCacheKey(const ImageFrameGenerator* generator, const ImageDecoder* decoder) decoder 248 Source/platform/graphics/ImageDecodingStore.h return std::make_pair(generator, SkISize::Make(decoder->decodedSize().width(), decoder->decodedSize().height())); decoder 247 Source/platform/graphics/ImageDecodingStoreTest.cpp OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); decoder 248 Source/platform/graphics/ImageDecodingStoreTest.cpp decoder->setSize(1, 1); decoder 249 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); decoder 259 Source/platform/graphics/ImageDecodingStoreTest.cpp OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); decoder 260 Source/platform/graphics/ImageDecodingStoreTest.cpp decoder->setSize(1, 1); decoder 261 Source/platform/graphics/ImageDecodingStoreTest.cpp const ImageDecoder* refDecoder = decoder.get(); decoder 262 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); decoder 332 Source/platform/graphics/ImageDecodingStoreTest.cpp OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); decoder 333 Source/platform/graphics/ImageDecodingStoreTest.cpp decoder->setSize(1, 1); decoder 334 Source/platform/graphics/ImageDecodingStoreTest.cpp const ImageDecoder* refDecoder = decoder.get(); decoder 335 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); decoder 441 Source/platform/graphics/ImageDecodingStoreTest.cpp OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); decoder 442 Source/platform/graphics/ImageDecodingStoreTest.cpp decoder->setSize(1, 1); decoder 443 Source/platform/graphics/ImageDecodingStoreTest.cpp ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); decoder 188 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecoder* decoder = 0; decoder 189 Source/platform/graphics/ImageFrameGenerator.cpp const bool resumeDecoding = ImageDecodingStore::instance()->lockDecoder(this, m_fullSize, &decoder); decoder 190 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(!resumeDecoding || decoder); decoder 192 Source/platform/graphics/ImageFrameGenerator.cpp OwnPtr<ScaledImageFragment> fullSizeImage = decode(index, &decoder); decoder 194 Source/platform/graphics/ImageFrameGenerator.cpp if (!decoder) decoder 202 Source/platform/graphics/ImageFrameGenerator.cpp decoderContainer = adoptPtr(decoder); decoder 207 Source/platform/graphics/ImageFrameGenerator.cpp m_decodeFailedAndEmpty = !m_isMultiFrame && decoder->failed(); decoder 210 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->unlockDecoder(this, decoder); decoder 223 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->removeDecoder(this, decoder); decoder 225 Source/platform/graphics/ImageFrameGenerator.cpp ImageDecodingStore::instance()->unlockDecoder(this, decoder); decoder 233 Source/platform/graphics/ImageFrameGenerator.cpp PassOwnPtr<ScaledImageFragment> ImageFrameGenerator::decode(size_t index, ImageDecoder** decoder) decoder 237 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(decoder); decoder 244 Source/platform/graphics/ImageFrameGenerator.cpp if (!*decoder) { decoder 247 Source/platform/graphics/ImageFrameGenerator.cpp *decoder = m_imageDecoderFactory->create().leakPtr(); decoder 249 Source/platform/graphics/ImageFrameGenerator.cpp if (!*decoder) decoder 250 Source/platform/graphics/ImageFrameGenerator.cpp *decoder = ImageDecoder::create(*data, ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileApplied).leakPtr(); decoder 252 Source/platform/graphics/ImageFrameGenerator.cpp if (!*decoder) decoder 264 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->setMemoryAllocator(m_externalAllocator.get()); decoder 266 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->setMemoryAllocator(m_discardableAllocator.get()); decoder 268 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->setData(data, allDataReceived); decoder 274 Source/platform/graphics/ImageFrameGenerator.cpp ImageFrame* frame = (*decoder)->frameBufferAtIndex(index); decoder 275 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->setData(0, false); // Unref SharedBuffer from ImageDecoder. decoder 276 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->clearCacheExceptFrame(index); decoder 277 Source/platform/graphics/ImageFrameGenerator.cpp (*decoder)->setMemoryAllocator(0); decoder 117 Source/platform/graphics/ImageFrameGeneratorTest.cpp ImageDecoder* decoder = 0; decoder 118 Source/platform/graphics/ImageFrameGeneratorTest.cpp OwnPtr<ScaledImageFragment> fragment = m_generator->decode(index, &decoder); decoder 119 Source/platform/graphics/ImageFrameGeneratorTest.cpp delete decoder; decoder 1553 Source/platform/graphics/gpu/WebGLImageConversion.cpp OwnPtr<ImageDecoder> decoder(ImageDecoder::create( decoder 1556 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!decoder) decoder 1558 Source/platform/graphics/gpu/WebGLImageConversion.cpp decoder->setData(m_image->data(), true); decoder 1559 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!decoder->frameCount()) decoder 1561 Source/platform/graphics/gpu/WebGLImageConversion.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 130 Source/platform/graphics/test/MockImageDecoder.h OwnPtr<MockImageDecoder> decoder = MockImageDecoder::create(m_client); decoder 131 Source/platform/graphics/test/MockImageDecoder.h decoder->setSize(m_decodedSize.width(), m_decodedSize.height()); decoder 132 Source/platform/graphics/test/MockImageDecoder.h decoder->setFrameHasAlpha(false); decoder 133 Source/platform/graphics/test/MockImageDecoder.h return decoder.release(); decoder 75 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 76 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_FALSE(decoder->setSize(1 << 29, 1)); decoder 77 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_FALSE(decoder->setSize(1, 1 << 29)); decoder 78 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_FALSE(decoder->setSize(1 << 15, 1 << 15)); decoder 79 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_TRUE(decoder->setSize(1 << 28, 1)); decoder 80 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_TRUE(decoder->setSize(1, 1 << 28)); decoder 81 Source/platform/image-decoders/ImageDecoderTest.cpp EXPECT_TRUE(decoder->setSize(1 << 14, 1 << 14)); decoder 86 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 87 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(6); decoder 88 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 95 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 111 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 112 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(3); decoder 113 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 117 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 122 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 128 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 129 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(2); decoder 130 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 132 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 138 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 141 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 148 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 151 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 157 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 158 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(3); decoder 159 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 167 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 175 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 182 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 183 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(3); decoder 184 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 191 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(true); decoder 199 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(true); decoder 206 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 207 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->clearCacheExceptFrame(0); decoder 210 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(20); decoder 211 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->clearCacheExceptFrame(kNotFound); decoder 217 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 218 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(numFrames); decoder 219 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 223 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->clearCacheExceptFrame(kNotFound); decoder 234 Source/platform/image-decoders/ImageDecoderTest.cpp OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); decoder 235 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->initFrames(numFrames); decoder 236 Source/platform/image-decoders/ImageDecoderTest.cpp Vector<ImageFrame, 1>& frameBuffers = decoder->frameBufferCache(); decoder 240 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->resetRequiredPreviousFrames(); decoder 241 Source/platform/image-decoders/ImageDecoderTest.cpp decoder->clearCacheExceptFrame(5); decoder 71 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 72 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data, true); decoder 73 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp size_t frameCount = decoder->frameCount(); decoder 75 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(i); decoder 91 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 92 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 97 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(j); decoder 103 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder = createDecoder(); decoder 104 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 107 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(i - 1); decoder 122 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 123 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 125 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->clearCacheExceptFrame(clearExceptFrame); decoder 130 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(j); decoder 141 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 145 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 146 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 148 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 154 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(1); decoder 161 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 162 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 167 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 171 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 172 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 175 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 177 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 182 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(1); decoder 186 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 191 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 201 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(tempData.get(), length == data->size()); decoder 203 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_LE(frameCount, decoder->frameCount()); decoder 204 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frameCount = decoder->frameCount(); decoder 207 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 209 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->frameBufferAtIndex(0); decoder 210 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->frameBufferAtIndex(1); decoder 211 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 216 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 227 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(tempData.get(), length == data->size()); decoder 229 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_LE(frameCount, decoder->frameCount()); decoder 230 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frameCount = decoder->frameCount(); decoder 232 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(frameCount - 1); decoder 237 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(5u, decoder->frameCount()); decoder 239 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 244 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 248 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 251 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(1u, decoder->frameCount()); decoder 252 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(1); decoder 262 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder; decoder 271 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder = createDecoder(); decoder 273 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), i == fullLength); decoder 274 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(0); decoder 283 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder = createDecoder(); decoder 284 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 287 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), i == fullLength); decoder 288 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(0); decoder 295 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationNone, decoder->repetitionCount()); decoder 309 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 316 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(tempData.get(), true); decoder 318 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 319 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_FALSE(decoder->failed()); decoder 321 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->frameBufferAtIndex(0); decoder 322 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_FALSE(decoder->failed()); decoder 323 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->frameBufferAtIndex(1); decoder 324 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->failed()); decoder 329 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 333 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 335 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 336 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_FALSE(decoder->failed()); decoder 337 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(0)); decoder 338 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(1)); decoder 339 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 344 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 351 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(tempData.get(), false); decoder 353 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 354 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_FALSE(decoder->failed()); decoder 355 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(0)); decoder 356 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_FALSE(decoder->frameIsCompleteAtIndex(1)); decoder 358 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 359 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 360 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(0)); decoder 361 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(1)); decoder 388 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 398 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 400 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp } while (!decoder->frameCount() || decoder->frameBufferAtIndex(0)->status() == ImageFrame::FrameEmpty); decoder 402 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(0)->requiredPreviousFrameIndex()); decoder 403 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp unsigned frameCount = decoder->frameCount(); decoder 405 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(i - 1, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex()); decoder 407 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 409 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex()); decoder 438 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 444 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 446 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp } while (!decoder->frameCount() || decoder->frameBufferAtIndex(0)->status() == ImageFrame::FrameEmpty); decoder 449 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 450 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(frameCount, decoder->frameCount()); decoder 451 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* lastFrame = decoder->frameBufferAtIndex(frameCount - 1); decoder 453 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->clearCacheExceptFrame(kNotFound); decoder 456 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp ImageFrame* firstFrame = decoder->frameBufferAtIndex(0); decoder 490 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp OwnPtr<GIFImageDecoder> decoder = createDecoder(); decoder 495 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 497 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 499 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(ImageFrame::DisposeOverwritePrevious, decoder->frameBufferAtIndex(0)->disposalMethod()); decoder 501 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(ImageFrame::DisposeNotSpecified, decoder->frameBufferAtIndex(1)->disposalMethod()); decoder 127 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp JPEGImageReader* decoder; decoder 248 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp JPEGImageReader(JPEGImageDecoder* decoder) decoder 249 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp : m_decoder(decoder) decoder 284 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp src->decoder = this; decoder 478 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp JPEGImageDecoder* decoder = m_decoder; decoder 479 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp if (!decoder->outputScanlines()) { decoder 480 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp if (decoder->failed()) // Careful; |this| is deleted. decoder 577 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp src->decoder->skipBytes(num_bytes); decoder 591 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp src->decoder->decoder()->jpegComplete(); decoder 72 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp OwnPtr<JPEGImageDecoder> decoder = createDecoder(maxDecodedBytes); decoder 73 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 75 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 79 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp EXPECT_EQ(IntSize(*outputWidth, *outputHeight), decoder->decodedSize()); decoder 85 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp OwnPtr<JPEGImageDecoder> decoder = createDecoder(100); decoder 86 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp EXPECT_FALSE(decoder->setSize(10000, 10000)); decoder 87 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp EXPECT_TRUE(decoder->failed()); decoder 105 Source/platform/image-decoders/png/PNGImageDecoder.cpp PNGImageReader(PNGImageDecoder* decoder) decoder 118 Source/platform/image-decoders/png/PNGImageDecoder.cpp png_set_progressive_read_fn(m_png, decoder, headerAvailable, rowAvailable, pngComplete); decoder 144 Source/platform/image-decoders/png/PNGImageDecoder.cpp PNGImageDecoder* decoder = static_cast<PNGImageDecoder*>(png_get_progressive_ptr(m_png)); decoder 148 Source/platform/image-decoders/png/PNGImageDecoder.cpp return decoder->setFailed(); decoder 158 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (sizeOnly ? decoder->ImageDecoder::isSizeAvailable() : decoder->isComplete()) decoder 73 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 74 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data, true); decoder 75 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp size_t frameCount = decoder->frameCount(); decoder 77 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(i); decoder 93 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 94 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 99 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(j); decoder 105 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder = createDecoder(); decoder 106 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 109 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(i - 1); decoder 124 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 125 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 127 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->clearCacheExceptFrame(clearExceptFrame); decoder 132 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(j); decoder 141 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 146 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 147 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp size_t frameCount = decoder->frameCount(); decoder 153 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(reallocatedData.get(), true); decoder 156 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp const ImageFrame* const frame = decoder->frameBufferAtIndex(i); decoder 165 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 169 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 172 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(0u, decoder->frameCount()); decoder 174 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_LT(0u, decoder->frameCount()); decoder 175 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 177 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 184 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 188 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 190 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 192 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(1); decoder 200 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 201 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 205 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 222 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp const ImageFrame* const frame = decoder->frameBufferAtIndex(i); decoder 236 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(ARRAY_SIZE(frameParameters), decoder->frameCount()); decoder 237 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 242 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 243 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 247 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 265 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp const ImageFrame* const frame = decoder->frameBufferAtIndex(i); decoder 279 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(ARRAY_SIZE(frameParameters), decoder->frameCount()); decoder 280 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 285 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 286 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 290 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 308 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp const ImageFrame* const frame = decoder->frameBufferAtIndex(i); decoder 322 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(ARRAY_SIZE(frameParameters), decoder->frameCount()); decoder 323 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopInfinite, decoder->repetitionCount()); decoder 338 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 348 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(tempData.get(), length == data->size()); decoder 350 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_LE(frameCount, decoder->frameCount()); decoder 351 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp frameCount = decoder->frameCount(); decoder 353 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(frameCount - 1); decoder 358 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(testImages[i].frameCount, decoder->frameCount()); decoder 360 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(testImages[i].repetitionCount, decoder->repetitionCount()); decoder 374 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 378 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 381 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(frameCount, decoder->frameCount()); decoder 382 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(frameCount - 1); decoder 384 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(0); decoder 390 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 395 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 397 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(2); decoder 404 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 413 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 414 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(1u, decoder->frameCount()); decoder 417 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 418 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(0u, decoder->frameCount()); decoder 419 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* frame = decoder->frameBufferAtIndex(0); decoder 421 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount()); decoder 430 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder; decoder 439 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder = createDecoder(); decoder 441 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), i == fullLength); decoder 442 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(0); decoder 451 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder = createDecoder(); decoder 454 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), i == fullLength); decoder 455 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp frame = decoder->frameBufferAtIndex(0); decoder 475 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 482 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(tempData.get(), false); decoder 484 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(2u, decoder->frameCount()); decoder 485 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_FALSE(decoder->failed()); decoder 486 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(0)); decoder 487 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(1000, decoder->frameDurationAtIndex(0)); decoder 488 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(1)); decoder 489 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(500, decoder->frameDurationAtIndex(1)); decoder 491 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 492 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(3u, decoder->frameCount()); decoder 493 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(0)); decoder 494 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(1000, decoder->frameDurationAtIndex(0)); decoder 495 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(1)); decoder 496 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(500, decoder->frameDurationAtIndex(1)); decoder 497 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_TRUE(decoder->frameIsCompleteAtIndex(2)); decoder 498 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(1000.0, decoder->frameDurationAtIndex(2)); decoder 503 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 513 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 515 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp } while (!decoder->frameCount() || decoder->frameBufferAtIndex(0)->status() == ImageFrame::FrameEmpty); decoder 517 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(0)->requiredPreviousFrameIndex()); decoder 518 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp unsigned frameCount = decoder->frameCount(); decoder 520 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(i - 1, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex()); decoder 522 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 524 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(kNotFound, decoder->frameBufferAtIndex(i)->requiredPreviousFrameIndex()); decoder 551 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 557 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), false); decoder 559 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp } while (!decoder->frameCount() || decoder->frameBufferAtIndex(0)->status() == ImageFrame::FrameEmpty); decoder 562 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(fullData.get(), true); decoder 563 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(frameCount, decoder->frameCount()); decoder 564 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* lastFrame = decoder->frameBufferAtIndex(frameCount - 1); decoder 566 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->clearCacheExceptFrame(kNotFound); decoder 569 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ImageFrame* firstFrame = decoder->frameBufferAtIndex(0); decoder 590 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp OwnPtr<WEBPImageDecoder> decoder = createDecoder(); decoder 593 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp decoder->setData(data.get(), true); decoder 594 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(1u, decoder->frameCount()); decoder 595 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(cAnimationNone, decoder->repetitionCount());