Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_write.c131 if( td->td_stripbytecount_p[strip] > 0 ) in TIFFWriteScanline()
134 td->td_stripbytecount_p[strip] = 0; in TIFFWriteScanline()
186 if( td->td_stripbytecount_p[strip_or_tile] > 0 ) in _TIFFReserveLargeEnoughWriteBuffer()
190 uint64 safe_buffer_size = (uint64)(td->td_stripbytecount_p[strip_or_tile] + 1 + 4); in _TIFFReserveLargeEnoughWriteBuffer()
541 td->td_stripbytecount_p = (uint64 *) in TIFFSetupStrips()
544 if (td->td_stripoffset_p == NULL || td->td_stripbytecount_p == NULL) in TIFFSetupStrips()
551 _TIFFmemset(td->td_stripbytecount_p, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips()
701 new_stripbytecount = (uint64*)_TIFFrealloc(td->td_stripbytecount_p, in TIFFGrowStrips()
713 td->td_stripbytecount_p = new_stripbytecount; in TIFFGrowStrips()
716 _TIFFmemset(td->td_stripbytecount_p + td->td_nstrips, in TIFFGrowStrips()
[all …]
Dtif_flush.c135 tif->tif_dir.td_stripbytecount_p ) ) in TIFFForceStrileArrayWriting()
Dtif_dirread.c4035 &tif->tif_dir.td_stripbytecount_p)) in TIFFReadDirectory()
4529 if (td->td_stripbytecount_p) in EstimateStripByteCounts()
4530 _TIFFfree(td->td_stripbytecount_p); in EstimateStripByteCounts()
4531 td->td_stripbytecount_p = (uint64*) in EstimateStripByteCounts()
4534 if( td->td_stripbytecount_p == NULL ) in EstimateStripByteCounts()
4583 td->td_stripbytecount_p[strip] = space; in EstimateStripByteCounts()
4592 if (td->td_stripoffset_p[strip] > TIFF_UINT64_MAX - td->td_stripbytecount_p[strip]) in EstimateStripByteCounts()
4594 if (td->td_stripoffset_p[strip]+td->td_stripbytecount_p[strip] > filesize) { in EstimateStripByteCounts()
4597 td->td_stripbytecount_p[strip] = 0; in EstimateStripByteCounts()
4599 td->td_stripbytecount_p[strip] = filesize - td->td_stripoffset_p[strip]; in EstimateStripByteCounts()
[all …]
Dtif_dir.h102 uint64* td_stripbytecount_p; /* should be accessed with TIFFGetStrileByteCount */ member
Dtif_dir.c1026 *va_arg(ap, uint64**) = td->td_stripbytecount_p; in _TIFFVGetField()
1286 CleanupField(td_stripbytecount_p); in TIFFFreeDirectory()
Dtif_dirwrite.c575 …ay(tif,&ndir,dir,TIFFTAG_STRIPBYTECOUNTS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripbytecount_p)) in TIFFWriteDirectorySec()
580 …ray(tif,&ndir,dir,TIFFTAG_TILEBYTECOUNTS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripbytecount_p)) in TIFFWriteDirectorySec()