Home
last modified time | relevance | path

Searched refs:td_stripoffset (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_write.c542 td->td_stripoffset = (uint64 *) in TIFFSetupStrips()
546 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
552 _TIFFmemset(td->td_stripoffset, 0, td->td_nstrips*sizeof (uint64)); in TIFFSetupStrips()
613 if (tif->tif_dir.td_stripoffset == NULL && !TIFFSetupStrips(tif)) { in TIFFWriteCheck()
687 new_stripoffset = (uint64*)_TIFFrealloc(td->td_stripoffset, in TIFFGrowStrips()
700 td->td_stripoffset = new_stripoffset; in TIFFGrowStrips()
702 _TIFFmemset(td->td_stripoffset + td->td_nstrips, in TIFFGrowStrips()
723 if (td->td_stripoffset[strip] == 0 || tif->tif_curoff == 0) { in TIFFAppendToStrip()
727 && td->td_stripoffset[strip] != 0 in TIFFAppendToStrip()
737 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFAppendToStrip()
[all …]
Dtif_read.c229 read_offset = td->td_stripoffset[strip] in TIFFFillStripPartial()
583 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFReadRawStrip1()
609 if ((td->td_stripoffset[strip] > (uint64)TIFF_TMSIZE_T_MAX)|| in TIFFReadRawStrip1()
610 ((ma=(tmsize_t)td->td_stripoffset[strip])>tif->tif_size)) in TIFFReadRawStrip1()
659 if (!SeekOK(tif, td->td_stripoffset[strip_or_tile])) { in TIFFReadRawStripOrTile2()
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()
858 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip()
1083 if (!SeekOK(tif, td->td_stripoffset[tile])) { in TIFFReadRawTile1()
[all …]
Dtif_dirread.c3749 if( tif->tif_dir.td_stripoffset != NULL ) in TIFFReadDirectory()
3757 if (!TIFFFetchStripThing(tif,dp,tif->tif_dir.td_nstrips,&tif->tif_dir.td_stripoffset)) in TIFFReadDirectory()
3988 ( (tif->tif_dir.td_stripbytecount[0] == 0 && tif->tif_dir.td_stripoffset[0] != 0) || \ in TIFFReadDirectory()
3990 … tif->tif_dir.td_stripbytecount[0] > TIFFGetFileSize(tif) - tif->tif_dir.td_stripoffset[0]) || \ in TIFFReadDirectory()
3997 && tif->tif_dir.td_stripoffset[0] != 0 in TIFFReadDirectory()
4057 if (tif->tif_dir.td_stripoffset[strip - 1] > in TIFFReadDirectory()
4058 tif->tif_dir.td_stripoffset[strip]) { in TIFFReadDirectory()
4386 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize) in EstimateStripByteCounts()
4387 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts()
5549 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip()
[all …]
Dtif_dir.h98 uint64* td_stripoffset; member
Dtif_print.c670 (unsigned __int64) td->td_stripoffset[s], in TIFFPrintDirectory()
675 (unsigned long long) td->td_stripoffset[s], in TIFFPrintDirectory()
Dtif_dir.c1005 *va_arg(ap, uint64**) = td->td_stripoffset; in _TIFFVGetField()
1266 CleanupField(td_stripoffset); in TIFFFreeDirectory()
Dtif_dirwrite.c198 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory()
557 if (tif->tif_dir.td_stripoffset != NULL && in TIFFWriteDirectorySec()
558 …Long8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
563 …gLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips,tif->tif_dir.td_stripoffset)) in TIFFWriteDirectorySec()
Dtif_jpeg.c750 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling()
770 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
Dtif_ojpeg.c2004 || sp->tif->tif_dir.td_stripoffset == NULL in OJPEGReadBufferFill()
2012 sp->in_buffer_file_pos=sp->tif->tif_dir.td_stripoffset[sp->in_buffer_next_strile]; in OJPEGReadBufferFill()