Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dccodec_tiffmodule.cpp106 CTiffContext* pTiffContext = reinterpret_cast<CTiffContext*>(context); in tiff_read() local
107 FX_SAFE_UINT32 increment = pTiffContext->offset(); in tiff_read()
112 FX_FILESIZE offset = pTiffContext->offset(); in tiff_read()
113 if (!pTiffContext->io_in()->ReadBlock(buf, offset, length)) in tiff_read()
116 pTiffContext->set_offset(increment.ValueOrDie()); in tiff_read()
117 if (offset + length > pTiffContext->io_in()->GetSize()) in tiff_read()
118 return pTiffContext->io_in()->GetSize() - offset; in tiff_read()
129 CTiffContext* pTiffContext = reinterpret_cast<CTiffContext*>(context); in tiff_seek() local
137 if (file_offset > pTiffContext->io_in()->GetSize()) in tiff_seek()
139 pTiffContext->set_offset(file_offset); in tiff_seek()
[all …]