Searched refs:tif_size (Results 1 – 6 of 6) sorted by relevance
643 ((ma=(tmsize_t)TIFFGetStrileOffset(tif, strip))>tif->tif_size)) in TIFFReadRawStrip1()654 if (mb>tif->tif_size) in TIFFReadRawStrip1()655 n=tif->tif_size-ma; in TIFFReadRawStrip1()831 if (bytecount > (uint64)tif->tif_size || in TIFFFillStrip()832 TIFFGetStrileOffset(tif, strip) > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip()844 (unsigned __int64) NoSantizeSubUInt64(tif->tif_size, TIFFGetStrileOffset(tif, strip)), in TIFFFillStrip()1132 if ((TIFFGetStrileOffset(tif, tile) > (uint64)TIFF_TMSIZE_T_MAX)||(ma>tif->tif_size)) in TIFFReadRawTile1()1134 else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) in TIFFReadRawTile1()1135 n=tif->tif_size-ma; in TIFFReadRawTile1()1269 if (bytecount > (uint64)tif->tif_size || in TIFFFillTile()[all …]
74 TIFFUnmapFileContents(tif, tif->tif_base, (toff_t)tif->tif_size); in TIFFCleanup()
464 tif->tif_size=(tmsize_t)n;465 assert((toff_t)tif->tif_size==n);
1457 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint16))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()1468 …offb)||(poffc<dircount*12)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint32))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()1487 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint64))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()1503 …fb)||(poffc<dircount16*20)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint64))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()
867 if( isMapped(tif) && datasize > (uint32)tif->tif_size ) in TIFFReadDirEntryArrayWithLimit()3403 if (mb > (size_t)tif->tif_size) in TIFFReadDirEntryData()4821 if ((m<off)||(m<(tmsize_t)sizeof(uint16))||(m>tif->tif_size)) { in TIFFFetchDirectory()4844 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) { in TIFFFetchDirectory()4876 if ((m<off)||(m<(tmsize_t)(dircount16*dirsize))||(m>tif->tif_size)) { in TIFFFetchDirectory()4891 if ((m<off)||(m<(tmsize_t)sizeof(uint32))||(m>tif->tif_size)) in TIFFFetchDirectory()4903 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) in TIFFFetchDirectory()
203 tmsize_t tif_size; /* size of mapped file region (bytes, thus tmsize_t) */ member