Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_strip.c62 uint32 nstrips; in TIFFNumberOfStrips() local
64 nstrips = (td->td_rowsperstrip == (uint32) -1 ? 1 : in TIFFNumberOfStrips()
67 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, in TIFFNumberOfStrips()
69 return (nstrips); in TIFFNumberOfStrips()
DREADME.pdfium15 0028-nstrips-OOM.patch: return error for excess number of tiles/strips.
Dtif_dirread.c166 static int TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uint64** lpp);
5657 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uint64** lpp) in TIFFFetchStripThing() argument
5662 err=TIFFReadDirEntryLong8ArrayWithLimit(tif,dir,&data,nstrips); in TIFFFetchStripThing()
5669 if (dir->tdir_count<(uint64)nstrips) in TIFFFetchStripThing()
5680 ( nstrips <= max_nstrips ) ); in TIFFFetchStripThing()
5682 if( nstrips > max_nstrips ) in TIFFFetchStripThing()
5688 resizeddata=(uint64*)_TIFFCheckMalloc(tif,nstrips,sizeof(uint64),"for strip array"); in TIFFFetchStripThing()
5694 …_TIFFmemset(resizeddata+(uint32)dir->tdir_count,0,(nstrips-(uint32)dir->tdir_count)*sizeof(uint64)… in TIFFFetchStripThing()
5760 static void allocChoppedUpStripArrays(TIFF* tif, uint32 nstrips, in allocChoppedUpStripArrays() argument
5782 newcounts = (uint64*) _TIFFCheckMalloc(tif, nstrips, sizeof (uint64), in allocChoppedUpStripArrays()
[all …]