Home
last modified time | relevance | path

Searched refs:m_reader (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/qt/
DImageDecoderQt.cpp73 ASSERT(!m_reader); in setData()
80 m_reader.set(new QImageReader(m_buffer.get(), m_format)); in setData()
83 m_reader->setQuality(49); in setData()
86 m_format = m_reader->format(); in setData()
91 if (!ImageDecoder::isSizeAvailable() && m_reader) in isSizeAvailable()
99 if (m_frameBufferCache.isEmpty() && m_reader) { in frameCount()
100 if (m_reader->supportsAnimation()) { in frameCount()
101 int imageCount = m_reader->imageCount(); in frameCount()
124 if (m_reader && m_reader->supportsAnimation()) in repetitionCount()
125 m_repetitionCount = m_reader->loopCount(); in repetitionCount()
[all …]
DImageDecoderQt.h71 OwnPtr<QImageReader> m_reader; variable
/external/webkit/Source/WebCore/platform/image-decoders/png/
DPNGImageDecoder.cpp220 m_reader.clear(); in setFailed()
242 png_structp png = m_reader->pngPtr(); in headerAvailable()
243 png_infop info = m_reader->infoPtr(); in headerAvailable()
318 m_reader->setHasAlpha(channels == 4); in headerAvailable()
320 if (m_reader->decodingSizeOnly()) { in headerAvailable()
324 m_reader->setReadOffset(m_reader->currentBufferSize() - png_process_data_pause(png, 0)); in headerAvailable()
326 m_reader->setReadOffset(m_reader->currentBufferSize() - png->buffer_size); in headerAvailable()
341 longjmp(JMPBUF(m_reader->pngPtr()), 1); in rowAvailable()
351 if (png_get_interlace_type(m_reader->pngPtr(), m_reader->infoPtr()) != PNG_INTERLACE_NONE) in rowAvailable()
352m_reader->createInterlaceBuffer((m_reader->hasAlpha() ? 4 : 3) * size().width() * size().height()); in rowAvailable()
[all …]
DPNGImageDecoder.h68 OwnPtr<PNGImageReader> m_reader; variable
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
DBMPImageDecoder.cpp56 if (m_reader) in setData()
57 m_reader->setData(data); in setData()
86 m_reader.clear(); in setFailed()
102 m_reader.clear(); in decode()
111 if (!m_reader) { in decodeHelper()
112 m_reader.set(new BMPImageReader(this, m_decodedOffset, imgDataOffset, false)); in decodeHelper()
113 m_reader->setData(m_data.get()); in decodeHelper()
117 m_reader->setBuffer(&m_frameBufferCache.first()); in decodeHelper()
119 return m_reader->decodeBMP(onlySize); in decodeHelper()
DBMPImageDecoder.h80 OwnPtr<BMPImageReader> m_reader; variable
/external/webkit/Source/WebCore/platform/image-decoders/gif/
DGIFImageDecoder.cpp116 if (m_reader && (m_reader->loop_count != cLoopCountNotSeen)) in repetitionCount()
117 m_repetitionCount = m_reader->loop_count; in repetitionCount()
134 m_reader.clear(); in setFailed()
195 const GIFFrameReader* frameReader = m_reader->frame_reader; in haveDecodedRow()
216 colorMap = m_reader->global_colormap; in haveDecodedRow()
217 colorMapSize = m_reader->global_colormap_size; in haveDecodedRow()
306 m_reader.clear(); in gifComplete()
314 if (!m_reader) in decode()
315 m_reader.set(new GIFImageReader(this)); in decode()
319 …if (!m_reader->read((const unsigned char*)m_data->data() + m_readOffset, m_data->size() - m_readOf… in decode()
[all …]
DGIFImageDecoder.h79 OwnPtr<GIFImageReader> m_reader; variable
/external/webkit/Source/JavaScriptCore/wtf/
DMallocZoneSupport.h38 memory_reader_t* m_reader; variable
43 , m_reader(reader) in RemoteMemoryReader()
49 kern_return_t err = (*m_reader)(m_task, address, size, static_cast<void**>(&output)); in operator()
DFastMalloc.cpp4301 const RemoteMemoryReader& m_reader; in CreateCacheIfNecessary() member in WTF::FreeObjectFinder
4305 FreeObjectFinder(const RemoteMemoryReader& reader) : m_reader(reader) { } in CreateCacheIfNecessary()
4314 for (; threadCache; threadCache = (threadCache->next_ ? m_reader(threadCache->next_) : 0)) in CreateCacheIfNecessary()
4315 threadCache->enumerateFreeObjects(*this, m_reader); in CreateCacheIfNecessary()
4321 centralFreeList[i].enumerateFreeObjects(*this, m_reader, remoteCentralFreeList + i); in CreateCacheIfNecessary()
4326 const RemoteMemoryReader& m_reader; in CreateCacheIfNecessary() member in WTF::PageMapFreeObjectFinder
4331 : m_reader(reader) in CreateCacheIfNecessary()
4340 Span* span = m_reader(reinterpret_cast<Span*>(ptr)); in CreateCacheIfNecessary()
4349 …for (void* nextObject = span->objects; nextObject; nextObject = m_reader.nextEntryInLinkedList(rei… in CreateCacheIfNecessary()
4361 const RemoteMemoryReader& m_reader; in CreateCacheIfNecessary() member in WTF::PageMapMemoryUsageRecorder
[all …]
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp452 m_reader.clear(); in setFailed()
474 jpeg_decompress_struct* info = m_reader->info(); in outputScanlines()
475 JSAMPARRAY samples = m_reader->samples(); in outputScanlines()
530 if (!m_reader) in decode()
531 m_reader.set(new JPEGImageReader(this)); in decode()
535 if (!m_reader->decode(*m_data, onlySize) && isAllDataReceived()) in decode()
540 m_reader.clear(); in decode()
DJPEGImageDecoder.h64 OwnPtr<JPEGImageReader> m_reader; variable
/external/webkit/Source/WebCore/bindings/v8/
DSerializedScriptValue.cpp1045 : m_reader(reader) in Deserializer()
1052 while (!m_reader.isEof()) { in deserialize()
1111 if (!m_reader.read(&value, *this)) in doDeserialize()
1134 Reader& m_reader; member in WebCore::__anon1859d50b0111::Deserializer
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2916508 or leak memory at runtime as the m_buffer, m_reader may