Searched refs:tif_size (Results 1 – 6 of 6) sorted by relevance
610 ((ma=(tmsize_t)td->td_stripoffset[strip])>tif->tif_size)) in TIFFReadRawStrip1()621 if (mb>tif->tif_size) in TIFFReadRawStrip1()622 n=tif->tif_size-ma; in TIFFReadRawStrip1()830 if (bytecount > (uint64)tif->tif_size || in TIFFFillStrip()831 td->td_stripoffset[strip] > (uint64)tif->tif_size - bytecount) { in TIFFFillStrip()843 (unsigned __int64) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()851 (unsigned long long) tif->tif_size - td->td_stripoffset[strip], in TIFFFillStrip()1115 if ((td->td_stripoffset[tile] > (uint64)TIFF_TMSIZE_T_MAX)||(ma>tif->tif_size)) in TIFFReadRawTile1()1117 else if ((mb<ma)||(mb<size)||(mb>tif->tif_size)) in TIFFReadRawTile1()1118 n=tif->tif_size-ma; in TIFFReadRawTile1()[all …]
75 TIFFUnmapFileContents(tif, tif->tif_base, (toff_t)tif->tif_size); in TIFFCleanup()
448 tif->tif_size=(tmsize_t)n;449 assert((toff_t)tif->tif_size==n);
1436 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint16))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()1447 …offb)||(poffc<dircount*12)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint32))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()1466 … if (((uint64)poffa!=poff)||(poffb<poffa)||(poffb<(tmsize_t)sizeof(uint64))||(poffb>tif->tif_size)) in TIFFAdvanceDirectory()1482 …fb)||(poffc<dircount16*20)||(poffd<poffc)||(poffd<(tmsize_t)sizeof(uint64))||(poffd>tif->tif_size)) in TIFFAdvanceDirectory()
187 tmsize_t tif_size; /* size of mapped file region (bytes, thus tmsize_t) */ member
3314 || (mb > (size_t)tif->tif_size) in TIFFReadDirEntryData()4610 if ((m<off)||(m<(tmsize_t)sizeof(uint16))||(m>tif->tif_size)) { in TIFFFetchDirectory()4633 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) { in TIFFFetchDirectory()4665 if ((m<off)||(m<(tmsize_t)(dircount16*dirsize))||(m>tif->tif_size)) { in TIFFFetchDirectory()4680 if ((m<off)||(m<(tmsize_t)sizeof(uint32))||(m>tif->tif_size)) in TIFFFetchDirectory()4692 if ((m<off)||(m<(tmsize_t)sizeof(uint64))||(m>tif->tif_size)) in TIFFFetchDirectory()