Lines Matching refs:tif_diroff
223 if( tif->tif_diroff == 0 ) in TIFFRewriteDirectory()
233 if (tif->tif_header.classic.tiff_diroff == tif->tif_diroff) in TIFFRewriteDirectory()
236 tif->tif_diroff = 0; in TIFFRewriteDirectory()
271 if (nextnextdir==tif->tif_diroff) in TIFFRewriteDirectory()
282 tif->tif_diroff=0; in TIFFRewriteDirectory()
291 if (tif->tif_header.big.tiff_diroff == tif->tif_diroff) in TIFFRewriteDirectory()
294 tif->tif_diroff = 0; in TIFFRewriteDirectory()
337 if (nextnextdir==tif->tif_diroff) in TIFFRewriteDirectory()
348 tif->tif_diroff=0; in TIFFRewriteDirectory()
792 if ((tif->tif_diroff==0)&&(!TIFFLinkDirectory(tif))) in TIFFWriteDirectorySec()
796 tif->tif_diroff=(TIFFSeekFile(tif,0,SEEK_END)+1)&(~((toff_t)1)); in TIFFWriteDirectorySec()
798 *pdiroff=tif->tif_diroff; in TIFFWriteDirectorySec()
803 tif->tif_dataoff=tif->tif_diroff+dirsize; in TIFFWriteDirectorySec()
806 if ((tif->tif_dataoff<tif->tif_diroff)||(tif->tif_dataoff<(uint64)dirsize)) in TIFFWriteDirectorySec()
829 tif->tif_subifdoff=tif->tif_diroff+2+na*12+8; in TIFFWriteDirectorySec()
831 tif->tif_subifdoff=tif->tif_diroff+8+na*20+12; in TIFFWriteDirectorySec()
911 if (!SeekOK(tif,tif->tif_diroff)) in TIFFWriteDirectorySec()
2460 tif->tif_diroff = (TIFFSeekFile(tif,0,SEEK_END)+1) & (~((toff_t)1)); in TIFFLinkDirectory()
2470 m = (uint32)tif->tif_diroff; in TIFFLinkDirectory()
2493 m = tif->tif_diroff; in TIFFLinkDirectory()
2519 m = (uint32)(tif->tif_diroff); in TIFFLinkDirectory()
2526 tif->tif_header.classic.tiff_diroff = (uint32) tif->tif_diroff; in TIFFLinkDirectory()
2578 m = tif->tif_diroff; in TIFFLinkDirectory()
2585 tif->tif_header.big.tiff_diroff = tif->tif_diroff; in TIFFLinkDirectory()
2690 if( tif->tif_diroff == 0 ) in _TIFFRewriteField()
2700 if (!SeekOK(tif, tif->tif_diroff)) { in _TIFFRewriteField()
2707 read_offset = tif->tif_diroff; in _TIFFRewriteField()