Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_read.c404 if (((uint64)ma!=td->td_stripoffset[strip])||(ma>tif->tif_size)) in TIFFReadRawStrip1()
406 else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) in TIFFReadRawStrip1()
407 n=tif->tif_size-ma; in TIFFReadRawStrip1()
544 if (bytecount > (uint64)tif->tif_size || in TIFFFillStrip()
545 td->td_stripoffset[strip] > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip()
557 (unsigned __int64) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
565 (unsigned long long) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()
720 if (((uint64)ma!=td->td_stripoffset[tile])||(ma>tif->tif_size)) in TIFFReadRawTile1()
722 else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) in TIFFReadRawTile1()
723 n=tif->tif_size-ma; in TIFFReadRawTile1()
[all …]
Dtif_close.c75 TIFFUnmapFileContents(tif, tif->tif_base, (toff_t)tif->tif_size); in TIFFCleanup()
Dtif_open.c448 tif->tif_size=(tmsize_t)n;
449 assert((toff_t)tif->tif_size==n);
Dtif_dir.c1376 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint16))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()
1387 …offb)||(poffc<dircount*12)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint32))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()
1406 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint64))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()
1422 …fb)||(poffc<dircount16*20)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint64))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()
Dtiffiop.h187 tmsize_t tif_size; /* size of mapped file region (bytes, thus tmsize_t) */ member
Dtif_dirread.c3297 || (mb > (size_t)tif->tif_size) in TIFFReadDirEntryData()
4554 if ((m<off)||(m<(tmsize_t)sizeof(uint16))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4578 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4610 if ((m<off)||(m<(tmsize_t)(dircount16*dirsize))||(m>tif->tif_size)) { in TIFFFetchDirectory()
4625 if ((m<off)||(m<(tmsize_t)sizeof(uint32))||(m>tif->tif_size)) in TIFFFetchDirectory()
4637 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) in TIFFFetchDirectory()