Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
D0025-upstream-OOM-gtTileContig.patch321 + tmsize_t this_stripsize;
329 + this_stripsize=TIFFReadEncodedStripGetStripSize(tif, strip, &plane);
330 + if (this_stripsize==((tmsize_t)(-1)))
333 + if ((size_to_read!=(tmsize_t)(-1))&&(size_to_read<this_stripsize))
334 + this_stripsize=size_to_read;
345 + if ((*tif->tif_decodestrip)(tif,*buf,this_stripsize,plane)<=0)
347 + (*tif->tif_postdecode)(tif,*buf,this_stripsize);
348 + return(this_stripsize);
Dtif_read.c537 tmsize_t this_stripsize; in _TIFFReadEncodedStripAndAllocBuffer() local
545 this_stripsize=TIFFReadEncodedStripGetStripSize(tif, strip, &plane); in _TIFFReadEncodedStripAndAllocBuffer()
546 if (this_stripsize==((tmsize_t)(-1))) in _TIFFReadEncodedStripAndAllocBuffer()
549 if ((size_to_read!=(tmsize_t)(-1))&&(size_to_read<this_stripsize)) in _TIFFReadEncodedStripAndAllocBuffer()
550 this_stripsize=size_to_read; in _TIFFReadEncodedStripAndAllocBuffer()
561 if ((*tif->tif_decodestrip)(tif,*buf,this_stripsize,plane)<=0) in _TIFFReadEncodedStripAndAllocBuffer()
563 (*tif->tif_postdecode)(tif,*buf,this_stripsize); in _TIFFReadEncodedStripAndAllocBuffer()
564 return(this_stripsize); in _TIFFReadEncodedStripAndAllocBuffer()