Home
last modified time | relevance | path

Searched refs:toff_t (Results 1 – 22 of 22) sorted by relevance

/libtiff-4.0.7/contrib/addtiffo/
H A Dtif_ovrcache.h54 toff_t nBytesPerBlock;
55 toff_t nBytesPerRow;
64 toff_t nDirOffset;
70 TIFFOvrCache *TIFFCreateOvrCache( TIFF *hTIFF, toff_t nDirOffset );
H A Dtif_ovrcache.c43 TIFFOvrCache *TIFFCreateOvrCache( TIFF *hTIFF, toff_t nDirOffset ) in TIFFCreateOvrCache()
47 toff_t nBaseDirOffset; in TIFFCreateOvrCache()
142 toff_t nBaseDirOffset; in TIFFWriteOvrRow()
285 nRowOffset = ((((toff_t) iTileX * psCache->nSamples) + iSample) in TIFFGetOvrBlock()
H A Dtif_overview.c92 toff_t nBaseDirOffset; in TIFF_WriteOverview()
93 toff_t nOffset; in TIFF_WriteOverview()
827 toff_t nDirOffset; in TIFFBuildOverviews()
/libtiff-4.0.7/contrib/stream/
H A Dtiffstream.h34 static toff_t seek(thandle_t fd, toff_t offset, int origin);
35 static toff_t size(thandle_t fd);
37 static int map(thandle_t fd, tdata_t* phase, toff_t* psize);
H A Dtiffstream.cpp122 toff_t
123 TiffStream::seek(thandle_t fd, toff_t offset, int origin) in seek()
147 toff_t
155 TiffStream::map(thandle_t fd, tdata_t* phase, toff_t* psize) in map()
/libtiff-4.0.7/libtiff/
H A Dtif_vms.c66 static toff_t
67 _tiffSeekProc(thandle_t fd, toff_t off, int whence) in _tiffSeekProc()
69 return ((toff_t) _TIFF_lseek_f((int) fd, (_TIFF_off_t) off, whence)); in _tiffSeekProc()
80 static toff_t
84 return (toff_t) (_TIFF_fstat_f((int) fd, &sb) < 0 ? 0 : sb.st_size); in _tiffSizeProc()
118 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize) in _tiffMapProc()
163 *psize = (toff_t) size; in _tiffMapProc()
179 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size) in _tiffUnmapProc()
202 _tiffMapProc(thandle_t fd, tdata_t* pbase, toff_t* psize) in _tiffMapProc()
208 _tiffUnmapProc(thandle_t fd, tdata_t base, toff_t size) in _tiffUnmapProc()
H A Dtiffio.h68 typedef uint64 toff_t; /* file offset */ typedef
276 typedef toff_t (*TIFFSeekProc)(thandle_t, toff_t, int);
278 typedef toff_t (*TIFFSizeProc)(thandle_t);
279 typedef int (*TIFFMapFileProc)(thandle_t, void** base, toff_t* size);
280 typedef void (*TIFFUnmapFileProc)(thandle_t, void* base, toff_t size);
352 extern int TIFFReadCustomDirectory(TIFF* tif, toff_t diroff, const TIFFFieldArray* infoarray);
353 extern int TIFFReadEXIFDirectory(TIFF* tif, toff_t diroff);
475 extern void TIFFSetWriteOffset(TIFF* tif, toff_t off);
H A Dtif_unix.c163 _tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) in _tiffMapProc()
181 _tiffUnmapProc(thandle_t fd, void* base, toff_t size) in _tiffUnmapProc()
188 _tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) in _tiffMapProc()
195 _tiffUnmapProc(thandle_t fd, void* base, toff_t size) in _tiffUnmapProc()
H A Dtif_stream.cxx93 static int _tiffDummyMapProc(thandle_t , void** base, toff_t* size );
94 static void _tiffDummyUnmapProc(thandle_t , void* base, toff_t size );
341 _tiffDummyMapProc(thandle_t , void** base, toff_t* size ) in _tiffDummyMapProc()
349 _tiffDummyUnmapProc(thandle_t , void* base, toff_t size ) in _tiffDummyUnmapProc()
H A Dtif_win32.c162 _tiffDummyMapProc(thandle_t fd, void** pbase, toff_t* psize) in _tiffDummyMapProc()
182 _tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) in _tiffMapProc()
207 _tiffDummyUnmapProc(thandle_t fd, void* base, toff_t size) in _tiffDummyUnmapProc()
215 _tiffUnmapProc(thandle_t fd, void* base, toff_t size) in _tiffUnmapProc()
H A Dtif_open.c36 _tiffDummyMapProc(thandle_t fd, void** pbase, toff_t* psize) in _tiffDummyMapProc()
43 _tiffDummyUnmapProc(thandle_t fd, void* base, toff_t size) in _tiffDummyUnmapProc()
445 toff_t n;
449 assert((toff_t)tif->tif_size==n);
H A Dtif_close.c75 TIFFUnmapFileContents(tif, tif->tif_base, (toff_t)tif->tif_size); in TIFFCleanup()
H A Dtif_write.c822 TIFFSetWriteOffset(TIFF* tif, toff_t off) in TIFFSetWriteOffset()
H A Dtif_dirread.c3408 toff_t nextdiroff; in TIFFReadDirectory()
4166 TIFFReadCustomDirectory(TIFF* tif, toff_t diroff, in TIFFReadCustomDirectory()
4273 TIFFReadEXIFDirectory(TIFF* tif, toff_t diroff) in TIFFReadEXIFDirectory()
H A Dtif_dirwrite.c795 tif->tif_diroff=(TIFFSeekFile(tif,0,SEEK_END)+1)&(~((toff_t)1)); in TIFFWriteDirectorySec()
2385 tif->tif_diroff = (TIFFSeekFile(tif,0,SEEK_END)+1) & (~((toff_t)1)); in TIFFLinkDirectory()
/libtiff-4.0.7/contrib/pds/
H A Dtif_pdsdirwrite.c141 toff_t
155 toff_t directory_offset; in TIFFWritePrivateDataSubDirectory()
190 tif->tif_dataoff =(TIFFSeekFile(tif, (toff_t) 0, SEEK_END)+1) &~ 1; in TIFFWritePrivateDataSubDirectory()
192 tif->tif_dataoff = (toff_t)( in TIFFWritePrivateDataSubDirectory()
193 diroff + sizeof (uint16) + dirsize + sizeof (toff_t)); in TIFFWritePrivateDataSubDirectory()
897 tif->tif_diroff = (TIFFSeekFile(tif, (toff_t) 0, SEEK_END)+1) &~ 1; in TIFFLinkDirectory()
927 #define HDROFF(f) ((toff_t) &(((TIFFHeader*) 0)->f)) in TIFFLinkDirectory()
958 (void) TIFFSeekFile(tif, -(toff_t) sizeof (nextdir), SEEK_CUR); in TIFFLinkDirectory()
H A Dtif_pdsdirread.c118 TIFFReadPrivateDataSubDirectory(TIFF* tif, toff_t pdir_offset, in TIFFReadPrivateDataSubDirectory()
164 toff_t off = pdir_offset; in TIFFReadPrivateDataSubDirectory()
304 toff_t filesize = TIFFGetFileSize(tif); in EstimateStripByteCounts()
/libtiff-4.0.7/tools/
H A Dthumbnail.c204 { toff_t ifd8; in cpTag()
603 toff_t diroff[1]; in generateThumbnail()
H A Dtiffinfoce.c145 toff_t offset; in main()
H A Dtiffinfo.c150 toff_t offset=0; in main()
H A Dtiff2pdf.c175 toff_t tiff_dataoffset;
384 t2pSeekFile(TIFF *tif, toff_t offset, int whence) in t2pSeekFile()
436 t2p_mapproc(thandle_t handle, void **data, toff_t *offset) in t2p_mapproc()
443 t2p_unmapproc(thandle_t handle, void *data, toff_t offset) in t2p_unmapproc()
803 t2pSeekFile(output, (toff_t) 0, SEEK_SET); in main()
2178 toff_t inputoffset=0; in t2p_readwrite_pdf_image()
/libtiff-4.0.7/
H A DChangeLog2580 * tools/tiffinfoce.c (main): Use toff_t for offset type when
2583 * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
3037 * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
3459 toff_t*
6998 * tentatively changed toff_t to be unsigned instead of signed to
7001 * Updated a variety of files to use toff_t. Fixed some mixups
7002 between toff_t and tsize_t.